forked from ProjectMirador/mirador
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.05 KB
/
.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
35
36
37
38
{
"env": {
"jest/globals": true
},
"extends": ["airbnb","react-app"],
"globals": {
"page": true,
"document": true
},
"parser": "babel-eslint",
"plugins": ["jest"],
"rules": {
"import/prefer-default-export": "off",
"no-console": "off",
"react/default-props-match-prop-types": "warn",
"react/destructuring-assignment": "warn",
"react/forbid-prop-types": "warn",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-this-in-sfc": "warn",
"react/prop-types": "warn",
"react/require-default-props": "warn",
"require-jsdoc": ["warn", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true,
"FunctionExpression": true
}
}],
"no-underscore-dangle": "off",
"react/prefer-stateless-function": "off",
"sort-keys": "warn",
"react/jsx-props-no-spreading": "off",
"arrow-parens": "off",
"import/no-anonymous-default-export": "off"
}
}