-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc
executable file
·19 lines (19 loc) · 803 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"parser": "babel-eslint",
"extends": ["airbnb"],
"rules": {
"no-cond-assign": ["error", "except-parens"],
"linebreak-style": ["error", "unix"],
"no-multi-spaces": ["off", { "exceptions": { "Property": true, "VariableDeclarator": true, "ImportDeclaration": true } } ],
"key-spacing": ["error", { "align": "value" }],
"require-jsdoc": ["error", { "require": { "FunctionDeclaration": true, "MethodDefinition": true, "ClassDeclaration": true } }],
"valid-jsdoc": ["error"],
"max-len": ["error", 160, { "ignoreComments": true }],
"new-cap": ["error", { "capIsNewExceptions": ["List", "Map", "Set"] }],
"react/jsx-no-bind": ["error", { "ignoreRefs": false, "allowArrowFunctions": false, "allowBind": false }]
},
"env": {
"es6": true,
"node": true
}
}