@jokeyrhyme/eslint-config-es5
an opinionated ESLint configuration
What does it do?
-
extends "eslint:recommended"
-
extends eslint-config-semistandard
- which extends eslint-config-standard
-
explicitly disables the "env" and "ecmaFeatures" settings from standard
-
enables all rules from Best Practices
-
"complexity" higher than 10 is a warning
-
not "no-eq-null", as "eqeqeq" covers it
-
not "no-implicit-coercion", as I like the shorter notation
-
"no-warning-comments" is a warning
-
-
enables other rules
-
"valid-jsdoc", but don't require
@returns
for every Function -
"no-shadow"
-
"no-undefined"
-
"no-use-before-define"
-