-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
39 lines (38 loc) · 971 Bytes
/
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
const antfu = require('@antfu/eslint-config').default
module.exports = antfu({
yaml: false,
ignores: [
'*.png',
'*.ico',
'*.toml',
'*.yml',
'.github/',
'deployments/',
'*.patch',
'*.txt',
'Dockerfile',
'public/',
'contracts/',
'yarn.lock',
],
rules: {
'yaml/plain-scalar': 'off',
'no-use-before-define': 'off',
'yaml/plain-scalar': 'off',
'eqeqeq': 'off',
'no-console': 'off',
'ts/ban-ts-comment': 'off',
'node/prefer-global/process': 'off',
'ts/no-use-before-define': 'off',
'style/no-mixed-operators': 'off',
'style/max-statements-per-line': 'off',
'ts/no-non-null-asserted-optional-chain': 'off',
'no-mixed-operators': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'array-callback-return': 'off',
'eslint-comments/no-unlimited-disable': 'off',
'tailwindcss/no-custom-classname': 'off',
'sort-keys': 'off',
'no-alert': 'warn',
},
})