-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
34 lines (34 loc) · 887 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"valid-jsdoc": ["error", {
"requireReturn": false,
"requireReturnType": false,
"requireParamDescription": false,
"requireReturnDescription": false
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": false,
"MethodDefinition": false,
"ClassDeclaration": false
}
}],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-console": ["error", { allow: ["warn", "error", "log"] }],
"no-alert": "off",
"no-unused-vars": "off",
"jsx-a11y/anchor-is-valid": "off",
"arrow-parens": "off",
"arrow-body-style": "off",
"react/prop-types": 0,
"no-mixed-operators": "off"
},
}