38124b8de4
Running eslint on the code should make it easier to refactor the code later. Change-Id: I33cd7c609617d334596049223954dc24448cb1fe
30 lines
521 B
JavaScript
30 lines
521 B
JavaScript
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"no-console": "off",
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
]
|
|
}
|
|
};
|