eslint-config-themis
Version:
ESLint shareable config for Warby Parker
59 lines (58 loc) • 1.61 kB
JavaScript
module.exports = {
"rules": {
// "no-await-in-loop": 0,
"no-cond-assign": 2,
"no-console": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
// "no-extra-parens": 0,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-obj-calls": 2,
// "no-prototype-builtins": 0,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
// "no-template-curly-in-string": 0,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unsafe-finally": 2,
// "no-unsafe-negation": 0,
"use-isnan": 2,
// "valid-jsdoc": 0,
"valid-typeof": 2,
// "undefined": 0,
// "no-native-reassign": 0,
// "no-negated-in-lhs": 0,
// "no-spaced-func": 0,
// "prefer-reflect": 0,
// "generator-star": 0,
// "global-strict": 0,
// "no-arrow-condition": 0,
// "no-comma-dangle": 0,
// "no-empty-class": 0,
// "no-empty-label": 0,
// "no-extra-strict": 0,
// "no-reserved-keys": 0,
// "no-space-before-semi": 0,
// "no-wrap-func": 0,
// "space-after-function-name": 0,
// "space-after-keywords": 0,
// "space-before-function-parentheses": 0,
// "space-before-keywords": 0,
// "space-in-brackets": 0,
// "space-return-throw-case": 0,
// "space-unary-word-ops": 0,
// "spaced-line-comment": 0,
}
};