-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
27 lines (27 loc) · 914 Bytes
/
.eslintrc.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
module.exports = {
"extends": [
"next/core-web-vitals",
"plugin:storybook/recommended",
"prettier",
"plugin:import/recommended",
"plugin:prettier/recommended",
],
"plugins": ["@typescript-eslint", "no-null"],
"ignorePatterns": ["*.js", "**/leecharts/*.js"],
"rules": {
"no-null/no-null": 0,
"no-trailing-spaces":1,
"no-trailing-spaces": 1,
"space-after-keywords": [0, "always"],
"space-before-blocks": [0, "always"],
"curly": ["error", "multi-line", "consistent"],
"nonblock-statement-body-position": ["error", "beside"],
"no-multi-spaces": ["error", { ignoreEOLComments: true }],
"import/no-anonymous-default-export": "off",
'space-before-function-paren': 0,
'no-multiple-empty-lines': ["error", { "max": 1, "maxEOF": 1 }],
"react/display-name":"off",
"import/named":"off",
"nonblock-statement-body-position":"off"
}
}