-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
eslint.config.js
48 lines (44 loc) · 1.19 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
import ycs77, { GLOB_JSX, GLOB_TS, GLOB_TSX } from '@ycs77/eslint-config'
export default ycs77({
vue: true,
typescript: true,
})
.append({
rules: {
'test/prefer-lowercase-title': 'off',
},
})
.append({
files: [GLOB_TS, GLOB_TSX],
rules: {
'ts/prefer-literal-enum-member': 'off',
'antfu/top-level-function': 'off',
'antfu/consistent-list-newline': 'off',
},
})
.append({
files: [GLOB_JSX, GLOB_TSX],
rules: {
'antfu/top-level-function': 'off',
'antfu/consistent-list-newline': 'off',
'style/indent': 'off',
'style/jsx-closing-bracket-location': 'off',
'style/jsx-curly-newline': 'off',
'style/jsx-first-prop-new-line': 'off',
'style/jsx-indent': 'off',
'style/jsx-max-props-per-line': 'off',
'style/jsx-one-expression-per-line': 'off',
'style/quote-props': 'off',
'no-unused-vars': 'off',
'unused-imports/no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'off',
},
})
.append({
files: ['packages/*/src/utils/*.ts'],
rules: {
'style/comma-dangle': 'off',
'ts/comma-dangle': 'off',
'ts/no-unsafe-function-type': 'off',
},
})