-
Notifications
You must be signed in to change notification settings - Fork 8
/
eslint.config.mjs
51 lines (50 loc) · 1.63 KB
/
eslint.config.mjs
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
import antfu from '@antfu/eslint-config'
export default antfu({
ignores: ['dist', '**/dist/**', 'build', '**/build/**', 'tsup.config.ts', '**/tsup.config.ts/**', 'packages/cli/es-check/__test__/testProject/js', 'packages/cli/es-check/__test__/testProject/js/**'],
formatters: true,
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',
'jsdoc/no-types': 'off',
'no-template-curly-in-string': 'off',
},
})