All Versions
86
Latest Version
Avg Release Cycle
44 days
Latest Release
737 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v6.0.6 Changes
February 18, 2016- π Use eslint 2.1.0
- π Fix: Use install location of standard as eslint
cwd
(fixes snazzy/#8)
-
v6.0.5 Changes
February 12, 2016- π Use eslint 2.0.0 stable
-
v6.0.4 Changes
February 07, 2016- π Relax rule: Validate closing bracket location in JSX (jsx-closing-bracket-location)
-
v6.0.3 Changes
February 06, 2016- π Fix "Error: Cannot find module 'eslint-config-standard-jsx'" with npm 2 (node 0.10, 0.12, 4)
-
v6.0.2 Changes
February 06, 2016- π Internal change: Remove .eslintrc file, and use inline config
-
v6.0.1 Changes
February 05, 2016- π Internal change: Move .eslintrc file to root folder
-
v6.0.0 Changes
February 05, 2016π The goal of this release is toΒ make
standard
faster to install, and simpler to use.β Remove
standard-format
(#340) (#397)- π¦ Eliminates 250 packages, and cuts install time in half!
- For npm 2, install time goes from 20 secs β> 10 secs.
- For npm 3, install time goes from 24 secs β> 12 secs.
- To continue using
standard-format
, just install it separately:npm install -g standard-format
π React-specific linting rules are removed (#351) (#367) (eslint-config-standard-react/#13)
- π JSX is still supported, and it continues to be checked for style.
- There were only a few React-specific rules, but they made it extremely difficult for users of alternatives like
virtual-dom
ordeku
, and unecessarily tiedstandard
to a single library. - π JSX rules come from
eslint-config-standard-jsx
. Theeslint-config-standard-react
dependency was removed.
π New Rules
π¦ The percentage (%) of users that rule changes will effect, based on real-world testing of the top ~400 npm packages is denoted in brackets.
- Disallow
__dirname
/__filename
string concatenation (#403) (no-path-concat) [5%] - π Require parens in arrow function argumentsβ© (#309) (arrow-parens) [5%]
- Ensure that
new Promise()
is instantiated with the parameter namesresolve
,reject
(#282) (promise/param-names) [1%] - π Enforce Usage of Spacing in Template Strings (template-curly-spacing) [1%]
- π Template strings are only allowed when necessary, i.e. templateΒ string features are being used (eslint got stricter: eslint/eslint#5147) [1%]
- π Better dead code detection after conditional statements (eslint got stricter) [1%]
- Enforce spaces around
*
inyield * something
(#335) (yield-star-spacing) [0%] - π Disallow labels on loops/switch statements too (made rule stricter) (no-labels) [0%]
- π Disallow unnecessary constructor (no-useless-constructor) [0%]
- π Disallow empty destructuring patterns (no-empty-pattern) [0%]
- π Disallow Symbol Constructor (no-new-symbol) [0%]
- π Disallow Self Assignment (no-self-assign) [0%]
β Removed Rules
π¦ Expose eslint configuration via command line options and
package.json
For power users, it might be easier to use one of these new hooks instead of forking
standard
, though that's still encouraged, too!π To set custom ESLint plugins, rules, or envs, use the command line
--plugin
,--rules
, and--env
flags.π¦ In
package.json
, use the "standard" property:{ "standard": { "plugins": [ "my-plugin" ] } }
β¬οΈ Upgrade to ESLint v2
- π There may be slight behavior changes to existing rules. When possible, we've noted these in the "New Rules" and "Removed Rules" section.
π Improve test suite
- π¦ Rule changes can be tested against every package on npm. For sanity, this is limited to packages with at least 4 dependents. Around 400 packages.
Known Issues
- π Using prerelease eslint version (2.0.0-rc.0). There may be breaking changes before the stable release.
- π
no-return-assign
behavior changed with arrow functions (eslint/eslint#5150)
Relevant diffs
- standard (v5.4.1...v6.0.0)
- π eslint-config-standard (v4.4.0...v5.0.0)
- π eslint-config-standard-jsx (v1.0.0)
- standard-engine (v2.2.4...v3.2.1)
-
v5.4.1 Changes
November 16, 2015 -
v5.4.0 Changes
November 16, 2015 -
v5.3.1 Changes
September 18, 2015