- Fix inadvertent
globals
peer dependency version of15.0.0
instead of^15.0.0
.
- Updated to flat config files.
recommended
,browser
, andnode
configurations are now accessible from theconfig
object. node
configuration have been updated to the newsourceType
commonjs
instead ofscript
.- Bump
eslint
peer dependency to^9.0.0
- Bump
eslint-plugin-n
peer dependency to17.0.0
- Fix node configuration referring to deprecated eslint rules that were moved to
plugin/n
- Fix bad node configuration that was still relying on
eslint-plugin-node
.
- Bump
eslint-config-prettier
peer dependency to^9.0.0
. - Switch from
eslint-plugin-node
toeslint-plugin-n
, since it is maintained.
- Update ECMA version for node configurations to 2023 to match Node 18 LTS.
- Update ECMA version for all configurations to 2020
- Adds
prettier
to all configurations - Adds
eslint-plugin-node/recommended
rules for Node configuration
- no-prototype-builtins should be disabled for both Node and Browser.
- Update Browser ecmaVersion to '2015'.
- Update Browser to use ES6 modules by default.
- Disable default rule no-prototype-builtins because it's not useful.
- Disable default rule require-atomic-updates because it generates false positives.
- Update Node ecmaVersion to '2019'.
- Enable no-tabs.
- Enabled no-restricted-globals for jasmine
fit
andfdescribe
.
- Allow ES6 global variables in Node.js code.
- Upgrade to eslint 5.x and it's new default rules.
- Set ecmaVersion to 2017 for Node.js code.
- Enable no-var in Node.js code.
- Enable prefer-const in Node.js code.
- Enable eol-last.
- Enable no-multiple-empty-lines.
- Set default
ecmaVersion
to 6 for Node.js. - Enable comma-dangle.
- Remove eslint-plugin-html peerDependency from
browser
config.
- Enable no-floating-decimal.
- Enable no-use-before-define.
- Enable no-else-return.
- Enable no-alert.
- Enable no-loop-func.
- Enable no-undef-init.
- Enable no-implicit-globals.
- Enable quotes to enforce use of single quotes.
- Enable no-trailing-spaces.
- Enable no-lonely-if.
- Enable no-unused-expressions.
- Enable no-sequences.
- Enable block-scoped-var.
- Enable Node-specific rules:
- Initial release.