2015-12-12 14:48:37 +03:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2015-12-18 11:34:17 +03:00
|
|
|
"jasmine": true
|
2015-12-12 14:48:37 +03:00
|
|
|
},
|
2015-12-12 23:10:59 +03:00
|
|
|
// currently eslint doesn't support extension-typed configs
|
2015-12-12 14:48:37 +03:00
|
|
|
"globals": {
|
|
|
|
"should": true,
|
2015-12-12 23:10:59 +03:00
|
|
|
"expect": true,
|
|
|
|
"sinon": true
|
2015-12-12 14:48:37 +03:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"quotes": [2, "single"],
|
|
|
|
"no-console": 0,
|
|
|
|
"comma-spacing": 2,
|
|
|
|
"comma-style": [2, "last"],
|
|
|
|
"consistent-return": 2,
|
|
|
|
"strict": [2, "global"],
|
|
|
|
"eqeqeq": [2, "smart"],
|
|
|
|
"curly": [2, "multi-line"],
|
|
|
|
"semi-spacing": [2, {"before": false, "after": true}],
|
|
|
|
"semi": [2, "always"],
|
|
|
|
"no-extra-semi": 2,
|
|
|
|
"comma-dangle": [2, "never"],
|
|
|
|
"no-sequences": 2,
|
|
|
|
"comma-spacing": [2, {"before": false, "after": true}],
|
|
|
|
"comma-style": [2, "last"]
|
|
|
|
}
|
|
|
|
}
|