Releases: strvcom/eslint-config-javascript
5.2.0
This release removes the rules deprecated in ESLint 3.3 and replaces them with their new equivalents.
Notable changes
- Now requires ESLint 3.3
- It is now allowed to reassign the global
Promise
object (for situations where you want to use a different Promise implementation, ie. Bluebird
New rules
no-template-curly-in-string
: Added to known errors, as a warning
5.1.0
Notable changes
- New rule (warn): no-tabs - disallows the tab character in code (use spaces instead)
- Modified rule: comma-dangle - now allows trailing comma for multiline function params, object literals etc.
5.0.0
Notable changes
- Now requires ESLint 3.0 (see release notes)
no-alert
has been added to standard/best-practices as a warningno-iterator
has been added to standard/known-errors as errorno-script-url
has been added to standard/known-errors as error
4.3.0
Notable changes
- Now requires ESLint 2.12 (previous release required 2.9)
New rules
- rest-spread-spacing (warning)
- no-mixed-operators (warning)
- max-lines (warning, set to 600, counts only SLOC)
4.2.0
Notable changes
-
Do not prefer
Reflect
methods overdelete
and.apply()
and.call()
Using
Reflect
for this functionality could lead to unexpected bugs down the road because they throw on less occasions -
Require ESLint version 2.9 in projects
-
Add new rules:
no-unsafe-finally
(as error)no-useless-computed-key
(as warning)
4.0.0
Notable changes
- (breaking) [react]: Bump react version to 0.15 in linting checks
- (breaking) [nodejs]: The configuration file environments/nodejs/latest has been renamed to environments/nodejs/v5
- (breaking) [nodejs]: Remove legacy (pre-5.0) Node.js support
- [nodejs]: Added configuration file for Node.js v6 via environments/nodejs/v6
New rules related to ES 2015 features have been enabled for Node.js v6 release configuration. These include support for new syntax (rest arguments, default parameters etc.) and rules to encourage programming patterns which are now possible thanks to that syntax:
- Prefer rest arguments instead of the
arguments
object - Prefer use of the new Reflect API in some circumstances
3.0.0
Notable changes
- Upgrade required ESLlint version in your project to 2.5
- (breaking) Add 3 new rules from ESLint 2.5 to this ruleset, see new ESLint rules
2.0.0
Ruleset upgraded for ESLint 2.0.0 support.
Several rules were added and some rules removed by the upstream - only upgrade if you have some time to go through linting errors.
2.0.0-rc.1
Release notes
Added support for ESLint 2.0 currently in beta. Once it's released, this ruleset will be tested and released as version 2.0.
No rule changes have been added to this release since 1.0.
1.0.0
Release notes
Initial release. If you have used this ruleset before, note that several new rules have been added to all configuration files. Be prepared to fix some linting errors/warnings. You can always (hopefully temporarily) disable a specific rule directly in your project's .eslintrc file.
Changes to installation
This rule can now be installed using npm! If you have used this ruleset before, you probably added it to your project as a git submodule. Time to say goodbye to that!