2016-03-02 17:39:10 +03:00
|
|
|
module.exports = {
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"jquery": true,
|
|
|
|
"jasmine": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"rules": {
|
2016-11-14 20:45:01 +03:00
|
|
|
"no-global-assign": 2,
|
2016-03-02 17:39:10 +03:00
|
|
|
"indent": [
|
|
|
|
2,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
2,
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
2,
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
2,
|
|
|
|
"always"
|
2016-03-11 14:21:08 +03:00
|
|
|
],
|
|
|
|
"curly": [
|
|
|
|
2,
|
|
|
|
"all"
|
|
|
|
],
|
|
|
|
"camelcase": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"properties": "always"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"eqeqeq": [
|
|
|
|
2,
|
|
|
|
"smart"
|
|
|
|
],
|
|
|
|
"one-var-declaration-per-line": [
|
|
|
|
2,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"new-cap": 2
|
2016-03-03 13:59:26 +03:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"Mozilla": true,
|
2018-11-08 13:53:49 +03:00
|
|
|
"Mzp": true,
|
2016-03-03 13:59:26 +03:00
|
|
|
"site": true
|
2016-03-02 17:39:10 +03:00
|
|
|
}
|
|
|
|
};
|