-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
57 lines (53 loc) · 1.16 KB
/
Copy patheslint.config.js
File metadata and controls
57 lines (53 loc) · 1.16 KB
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'
import { eslintIgnoreDefaults, eslintRulesDefaults } from 'zeed/eslint'
export default antfu(
{
typescript: true,
vue: true,
// typescript: {
// tsconfigPath: './tsconfig.json',
// filesTypeAware: ['**\/*.{ts,tsx,vue}'],
// },
ignores: [
...eslintIgnoreDefaults(),
'**/_*/*',
'**/.*/*',
'**/.DS_* ',
'**/.env.*',
'**/.htaccess',
'**/.htaccess*',
'**/.idea',
'**/.out.*',
'**/.rsync-ignore',
'**/*.local',
'**/*.log',
'**/*.md',
'**/*.spec.*',
'**/*/tflite/*',
'**/bg.jpg',
'**/build/*',
'**/coverage/*',
'**/data/*',
'**/dist/*',
'**/dist_*/*',
'**/docker/*',
'**/internal/*',
'**/legacy/*',
'**/logs/*',
'**/node_modules/*',
'**/npm-debug.log',
'**/package-lock.json',
'**/pnpm-lock.yaml',
'**/tmp/*',
'**/www/*',
],
},
{},
{
rules: {
...eslintRulesDefaults(),
// for some old third party code a `eslint-disable` does wonders :)
'eslint-comments/no-unlimited-disable': 'off',
},
},
)