lint
This commit is contained in:
1 parent
fc250c54ed
commit
5eec516459
62 files changed
+3912
-3376
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import antfu from '@antfu/eslint-config';
|
||||
|
||||
export default antfu({
|
||||
formatters: true,
|
||||
vue: true,
|
||||
stylistic: {
|
||||
indent: 2,
|
||||
quotes: 'single',
|
||||
semi: true,
|
||||
},
|
||||
typescript: true,
|
||||
jsonc: false,
|
||||
yaml: false,
|
||||
lessOpinionated: true,
|
||||
}, {
|
||||
rules: {
|
||||
'style/brace-style': ['error', '1tbs'],
|
||||
'node/prefer-global/process': 'off',
|
||||
'no-alert': 'off',
|
||||
'no-console': 'warn',
|
||||
'ts/no-use-before-define': 'off',
|
||||
'ts/no-require-imports': 'off',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user