bedrock/.eslintrc.js

52 строки
916 B
JavaScript
Исходник Обычный вид История

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
},
"globals": {
"Mozilla": true,
"site": true
2016-03-02 17:39:10 +03:00
}
};