-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy patheslint.config.js
30 lines (29 loc) · 1.01 KB
/
eslint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { defineConfig } from '@configurajs/eslint'
export default defineConfig({
ignores: ['docs'],
rules: {
curly: 'off',
eqeqeq: 'warn',
'vue/multi-word-component-names': 'off',
'vue/no-deprecated-v-on-native-modifier': 'off',
'vue/no-mutating-props': 'off',
'no-unused-vars': 'off',
'no-loss-of-precision': 'off',
'no-undef': 'off',
'no-empty': 'off',
'no-func-assign': 'off',
'no-prototype-builtins': 'off',
'no-cond-assign': 'off',
'no-debugger': 'off',
'eslint-comments/no-unlimited-disable': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'warn',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'require-await': 'warn',
'@typescript-eslint/no-useless-constructor': 'warn',
'@typescript-eslint/no-unsafe-function-type': 'warn',
},
})