@progress/dss
Version:
Documented Style Sheets
71 lines (70 loc) • 2.56 kB
Plain Text
{
"root": true,
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"arrow-body-style": [ "error", "always" ],
"block-scoped-var": "error",
"brace-style": [ "error", "1tbs", { "allowSingleLine": true } ],
"camelcase": "error",
"comma-style": "error",
"complexity": [ "error", 15 ],
"consistent-return": "error",
"consistent-this": [ "error", "that" ],
"curly": "error",
"default-case": "error",
"dot-location": [ "error", "property" ],
"eqeqeq": [ "error", "always" ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"key-spacing": [ "error", { "beforeColon": false, "afterColon": true } ],
"keyword-spacing": [ "error", { "before": true, "after": true } ],
"linebreak-style": [ "error", "unix" ],
"max-params": [ "error", 6 ],
"no-alert": "error",
"no-caller": "error",
"no-class-assign": "error",
"no-confusing-arrow": "error",
"no-console": "error",
"no-const-assign": "error",
"no-else-return": "error",
"no-eval": "error",
"no-dupe-class-members": "error",
"no-implied-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-implicit-coercion": "error",
"no-invalid-this": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-multi-spaces": "error",
"no-multiple-empty-lines": [ "error", { "max": 2 } ],
"no-native-reassign": "error",
"no-nested-ternary": "error",
"no-new": "error",
"no-param-reassign": "error",
"no-return-assign": "error",
"no-sequences": "error",
"no-spaced-func": "error",
"no-this-before-super": "error",
"no-trailing-spaces": "error",
"no-unexpected-multiline": "error",
"no-useless-call": "error",
"no-var": "error",
"object-curly-spacing": [ "error", "always" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"semi-spacing": "error",
"space-before-blocks": "error",
"space-before-function-paren": [ "error", "never" ],
"space-infix-ops": [ "error", { "int32Hint": false } ],
"yoda": [ "error", "never", { "exceptRange": true } ]
}
}