-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
25 lines (25 loc) · 1006 Bytes
/
.eslintrc
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
{
"extends": ["./node_modules/@waveshq/standard-web-linter"],
"rules": {
// TODO: switched to warn as this is how the code is structured as of the moment
"react/destructuring-assignment": "warn",
"@typescript-eslint/no-use-before-define": "warn",
"prefer-destructuring": "warn",
"react/no-array-index-key": "warn",
"arrow-body-style": "warn",
"import/prefer-default-export": "off",
"@typescript-eslint/default-param-last": "warn",
"react/no-unstable-nested-components": "warn",
"react/jsx-no-useless-fragment": "warn",
"no-void": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"@typescript-eslint/no-unused-expressions": "warn",
"import/no-cycle": "warn",
"react/button-has-type": "warn",
"@typescript-eslint/naming-convention": "warn",
"no-underscore-dangle": "warn",
"react/no-unused-prop-types": "warn",
"jsx-a11y/control-has-associated-label": "warn"
}
}