-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
30 lines (29 loc) · 882 Bytes
/
eslint.config.mjs
File metadata and controls
30 lines (29 loc) · 882 Bytes
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
import antfu from '@antfu/eslint-config'
export default antfu({
formatters: true,
react: true,
rules: {
'react-hooks/exhaustive-deps': 'off',
'react/no-unstable-context-value': 'off',
'react-refresh/only-export-components': 'off',
'node/prefer-global/process': 'off',
'react-hooks-extra/no-direct-set-state-in-use-effect': 'off',
'react/no-array-index-key': 'off',
'antfu/no-top-level-await': 'off',
'style/jsx-one-expression-per-line': 'off',
'eslint-comments/no-unlimited-disable': 'off',
'react-dom/no-dangerously-set-innerhtml': 'off',
'react-dom/no-missing-button-type': 'off',
'test/no-import-node-test': 'off',
'react/prefer-destructuring-assignment': 'off',
},
ignores: [
'packages/solidity/cache',
'packages/solidity/artifacts',
'.next',
'public/*',
'build',
'dist',
'api',
],
})