olgitbridge/.eslintrc.js
Axel Kittenberger bb25623d7f init
2021-11-24 17:07:06 +01:00

42 lines
847 B
JavaScript

module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"eol-last": "error",
"indent": [
"off",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"no-console": "off",
"no-empty": [ "error", { "allowEmptyCatch": true } ],
"no-trailing-spaces": "error",
"no-unused-vars": [
"error",
{
"args" : "none",
},
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};