-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy patheslint.config.js
57 lines (56 loc) · 1.56 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import antfu from '@antfu/eslint-config'
export default antfu({
ignores: [
'**/node_modules/**',
'**/dist/**',
'**/public/**',
'**/coverage/**',
'**/tmp/**',
'**/logs/**'
],
rules: {
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'import/extensions': 'off',
'quotes': [
'warn',
'single'
],
'semi': [
'warn',
'never'
],
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
'no-param-reassign': 'off',
'import/no-extraneous-dependencies': 'off',
'no-restricted-syntax': 'off',
'no-bitwise': 'off',
'camelcase': 'off',
'no-case-declarations': 'off',
'@typescript-eslint/no-namespace': 'off',
'no-undef': 'off',
'no-shadow': 'off',
'max-len': 'off',
'@typescript-eslint/no-var-requires': 'off',
'no-use-before-define': 'off',
'no-continue': 'off',
'no-extend-native': 'warn',
'no-underscore-dangle': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'non-null-expression': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'consistent-return': 'off',
'no-console': 'off',
'ts/comma-dangle': 'off',
'curly': 'off',
'unicorn/prefer-node-protocol': 'off',
'ts/no-var-requires': 'off',
'ts/no-require-imports': 'off',
'ts/ban-ts-comment': 'off',
'vue/prefer-import-from-vue': 'off',
'style/comma-dangle': ['error', 'never'],
'unused-imports/no-unused-vars': 'off'
}
})