forked from dbmdz/mirador-canvasnavigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (34 loc) · 1023 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
26
27
28
29
30
31
32
33
34
{
"env": {
},
"extends": ["airbnb", "prettier"],
"globals": {
"page": true,
"document": true
},
"parser": "@babel/eslint-parser",
"plugins": ["babel", "react", "react-hooks", "prettier"],
"rules": {
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true,
"FunctionExpression": true
}
}],
"no-restricted-syntax": ["off", "ForOfStatement"],
"react/no-unstable-nested-components": 1,
"react/no-unused-class-component-methods": 1,
"react/jsx-fragments": "off",
"react/jsx-props-no-spreading": "off",
"react/prefer-stateless-function": "off",
"react/function-component-definition": "off",
"no-continue": "off"
}
}