UNPKG

eslint-config-interfaced

Version:

ESLint config for the approaches adopted by Interfaced company

44 lines (43 loc) 1.34 kB
for-direction: "error" getter-return: "error" no-async-promise-executor: "error" no-await-in-loop: "off" no-compare-neg-zero: "error" no-cond-assign: "error" no-console: "error" no-constant-condition: "error" no-control-regex: "error" no-import-assign: "error" no-debugger: "error" no-dupe-args: "error" no-dupe-else-if: "error" no-dupe-keys: "error" no-duplicate-case: "error" no-empty: "error" no-empty-character-class: "error" no-ex-assign: "error" no-extra-boolean-cast: "error" no-extra-parens: "off" # Conflicts with GCC type casts no-extra-semi: "error" no-func-assign: "error" no-inner-declarations: ["error", "both"] no-invalid-regexp: ["error", { allowConstructorFlags: ["u", "y"]}] no-irregular-whitespace: "error" no-loss-of-precision: "error" no-misleading-character-class: "error" no-obj-calls: "error" no-promise-executor-return: "error" no-prototype-builtins: "off" no-regex-spaces: "error" no-setter-return: "error" no-sparse-arrays: "error" no-template-curly-in-string: "error" no-unexpected-multiline: "error" no-unreachable: "error" no-unreachable-loop: "error" no-unsafe-finally: "error" no-unsafe-negation: "error" no-useless-backreference: "error" require-atomic-updates: "off" # Too aggressive with way too many false positives: https://github.com/eslint/eslint/issues/11899 use-isnan: "error" valid-typeof: "error"