forked from inrupt/solid-ui-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
32 lines (32 loc) · 796 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
28
29
30
31
32
module.exports = {
root: true,
extends: [
"@inrupt/eslint-config-react",
"@inrupt/eslint-config-lib",
"plugin:storybook/recommended",
],
rules: {
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"react/jsx-filename-extension": [
1,
{
extensions: [".tsx"],
},
],
"import/no-unresolved": "off",
"no-shadow": ["warn", { allow: ["fetch"] }],
"react/require-default-props": "warn",
"react/default-props-match-prop-types": "warn",
"react/function-component-definition": "off",
noImplicitAny: "off",
// FIXME: re-enable the following
"react/no-unstable-nested-components": "off",
"react/jsx-no-bind": "off",
"react/jsx-no-constructed-context-values": "off"
},
};