old
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
import antfu from '@antfu/eslint-config'
|
||||
|
||||
export default antfu({
|
||||
stylistic: {
|
||||
indent: 4, // 4, or 'tab'
|
||||
quotes: 'single', // or 'double'
|
||||
},
|
||||
|
||||
react: true,
|
||||
typescript: true,
|
||||
vue: false,
|
||||
astro: true,
|
||||
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'curly': ['error', 'all'],
|
||||
'node/prefer-global/process': 'off',
|
||||
},
|
||||
|
||||
jsonc: false,
|
||||
yaml: false,
|
||||
})
|
||||
import antfu from '@antfu/eslint-config'
|
||||
|
||||
export default antfu({
|
||||
stylistic: {
|
||||
indent: 4, // 4, or 'tab'
|
||||
quotes: 'single', // or 'double'
|
||||
},
|
||||
|
||||
react: true,
|
||||
typescript: true,
|
||||
vue: false,
|
||||
astro: true,
|
||||
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'curly': ['error', 'all'],
|
||||
'node/prefer-global/process': 'off',
|
||||
},
|
||||
|
||||
jsonc: false,
|
||||
yaml: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user