25 lines
481 B
JavaScript
25 lines
481 B
JavaScript
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',
|
|
},
|
|
});
|