You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
628 B
28 lines
628 B
import antfu from '@antfu/eslint-config' |
|
|
|
export default antfu( |
|
{ |
|
vue: { |
|
vueVersion: 2, |
|
}, |
|
rules: { |
|
'style/brace-style': ['error', '1tbs'], |
|
'style/space-before-function-paren': ['error', 'always'], |
|
'import/newline-after-import': 'off', |
|
'import/first': 'off', |
|
'perfectionist/sort-imports': 'off', |
|
'node/prefer-global/buffer': 'off', |
|
'node/prefer-global/process': 'off', |
|
'no-console': 'off', |
|
}, |
|
ignores: [ |
|
'**/build/*', |
|
'**/dist_electron', |
|
], |
|
formatters: { |
|
css: true, |
|
html: true, |
|
markdown: 'prettier', |
|
}, |
|
}, |
|
)
|
|
|