2016-02-02 21:55:02 +03:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"block-scoped-var": 2,
|
2016-08-07 13:31:55 +03:00
|
|
|
"callback-return": 2,
|
2016-02-02 21:55:02 +03:00
|
|
|
"complexity": [2, 13],
|
|
|
|
"curly": [2, "multi-or-nest", "consistent"],
|
|
|
|
"dot-location": [2, "property"],
|
|
|
|
"dot-notation": 2,
|
2016-08-07 13:31:55 +03:00
|
|
|
"indent": [ 2, 2, {"SwitchCase": 1} ],
|
|
|
|
"linebreak-style": [ 2, "unix" ],
|
|
|
|
"new-cap": 2,
|
|
|
|
"no-console": [ 2, { "allow": ["warn", "error"] } ],
|
2016-02-02 21:55:02 +03:00
|
|
|
"no-else-return": 2,
|
|
|
|
"no-eq-null": 2,
|
|
|
|
"no-fallthrough": 2,
|
2016-08-07 13:31:55 +03:00
|
|
|
"no-invalid-this": 2,
|
2016-02-02 21:55:02 +03:00
|
|
|
"no-return-assign": 2,
|
2016-02-05 01:24:59 +03:00
|
|
|
"no-shadow": 1,
|
2016-08-07 13:31:55 +03:00
|
|
|
"no-trailing-spaces": 2,
|
2016-02-02 21:55:02 +03:00
|
|
|
"no-use-before-define": [2, "nofunc"],
|
2016-08-07 13:31:55 +03:00
|
|
|
"quotes": [ 2, "single", "avoid-escape" ],
|
|
|
|
"semi": [ 2, "always" ],
|
|
|
|
"strict": [2, "global"],
|
|
|
|
"valid-jsdoc": [ 2, { "requireReturn": false } ]
|
2016-02-02 21:55:02 +03:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended"
|
|
|
|
}
|