doctape
Version:
Command line utilities to keep the Docker house clean
30 lines (29 loc) • 942 B
JavaScript
module.exports = {
"rules": {
"indent": [2, 4],
"no-console": ["error", { allow: ["log", "warn", "error"]}],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"comma-spacing": [2, {"before": false, "after": true}],
"space-before-function-paren": [2, "never"],
"no-whitespace-before-property": 2,
"no-spaced-func": 2,
"space-in-parens": [2, "never"],
"space-before-blocks": [2, {"functions": "always"}],
"eol-last": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
//"no-var": 2
"no-const-assign": 2,
"arrow-body-style": [2, "always"],
"arrow-parens": [2, "always"],
"arrow-spacing": 2,
"no-dupe-class-members": 2
//"prefer-arrow-callback": 2
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended"
};