standard
Advanced tools
Comparing version 9.0.0 to 10.0.0-beta.0
@@ -6,2 +6,39 @@ # Change Log | ||
## 10.0.0 (BETA) - 2017-04-01 | ||
TODO: FINALIZE RELEASE NOTES | ||
### New features | ||
- Update ESLint from 3.15.x to 3.16.x. | ||
### New rules | ||
*(Estimated % of affected standard users, based on test suite in parens)* | ||
- Disallow using deprecated Node.js APIs ([node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)) [#693](https://github.com/feross/standard/issues/693) (13%) | ||
- Ensures that code always runs without warnings on the lastest versions of Node | ||
- Ensures that safe Buffer methods (`Buffer.from()`, `Buffer.alloc()`) are used instead of `Buffer()` | ||
- Enforce callbacks always called with Node.js-style error first ([standard/no-callback-literal](https://github.com/xjamundx/eslint-plugin-standard#rules-explanations)) [#623](https://github.com/feross/standard/issues/623) (3%) | ||
- Functions named `callback`, `cb`, or `next` must be called with `null`, `undefined`, or an `Error` object as the first argument | ||
- Prevents accidentally using a string instead of an `Error` object | ||
- Prevents confusing callbacks that do not follow the Node.js pattern | ||
- Disallow any imports that come after non-import statements ([import/first](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md)) [#806](https://github.com/feross/standard/issues/806) (1%) | ||
- Disallow unnecessary return await ([no-return-await](http://eslint.org/docs/rules/no-return-await)) [#695](https://github.com/feross/standard/issues/695) (0%) | ||
- Disallow comma-dangle in functions ([comma-dangle](http://eslint.org/docs/rules/comma-dangle)) [#787](https://github.com/feross/standard/issues/787) (0%) | ||
- Disallow repeated exports of names or defaults ([import/export](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md)) [#806](https://github.com/feross/standard/issues/806) (0%) | ||
- Disallow import of modules using absolute paths ([import/no-absolute-path](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md)) [#806](https://github.com/feross/standard/issues/806) (0%) | ||
- Disallow Webpack loader syntax in imports ([import/no-webpack-loader-syntax](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md)) [#806](https://github.com/feross/standard/issues/806) (0%) | ||
### Changed rules | ||
- Relax rule: allow using `...rest` to omit properties from an object ([no-unused-vars](http://eslint.org/docs/rules/no-unused-vars)) [#800](https://github.com/feross/standard/issues/800) | ||
- This is a common and useful pattern in React/JSX apps! | ||
- Relax rule: allow Flow `import type` statements ([import/no-duplicates](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md)) [#599](https://github.com/feross/standard/issues/599) | ||
- These are no longer considered to be "duplicate imports" | ||
- Relax rule: Treat `process.exit()` the same as `throw` in code path analysis ([node/process-exit-as-throw](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/process-exit-as-throw.md)) [#699](https://github.com/feross/standard/issues/699) | ||
- Makes certain other rules work better and give fewer false positives | ||
- Relax rule: allow Unnecessary Labels ([no-extra-label](http://eslint.org/docs/rules/no-extra-label)) | ||
- Redundant, since "no-labels" is already enabled, which is more restrictive | ||
## 9.0.0 - 2017-02-28 | ||
@@ -26,3 +63,3 @@ | ||
## New features | ||
### New features | ||
@@ -32,3 +69,3 @@ - Update ESLint from 3.10.x to 3.15.x | ||
## New rules | ||
### New rules | ||
@@ -51,3 +88,3 @@ *(Estimated % of affected standard users, based on test suite in parens)* | ||
## Changed rules | ||
### Changed rules | ||
@@ -54,0 +91,0 @@ - Relax rule: allow TypeScript Triple-Slash Directives (spaced-comment) [#660](https://github.com/feross/standard/issues/660) |
{ | ||
"name": "standard", | ||
"description": "JavaScript Standard Style", | ||
"version": "9.0.0", | ||
"version": "10.0.0-beta.0", | ||
"author": { | ||
@@ -15,8 +15,10 @@ "email": "feross@feross.org", | ||
"dependencies": { | ||
"eslint": "~3.15.0", | ||
"eslint-config-standard": "7.0.0", | ||
"eslint": "~3.16.1", | ||
"eslint-config-standard": "8.0.0-beta.0", | ||
"eslint-config-standard-jsx": "3.3.0", | ||
"eslint-plugin-promise": "~3.4.0", | ||
"eslint-plugin-react": "~6.9.0", | ||
"eslint-plugin-standard": "~2.0.1", | ||
"eslint-plugin-import": "~2.2.0", | ||
"eslint-plugin-node": "~4.1.0", | ||
"eslint-plugin-promise": "~3.5.0", | ||
"eslint-plugin-react": "~6.10.0", | ||
"eslint-plugin-standard": "~2.1.1", | ||
"standard-engine": "~5.4.0" | ||
@@ -23,0 +25,0 @@ }, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
161138
9
1
+ Addedeslint-plugin-import@~2.2.0
+ Addedeslint-plugin-node@~4.1.0
+ Addedbuiltin-modules@1.1.1(transitive)
+ Addedcontains-path@0.1.0(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addedeslint@3.16.1(transitive)
+ Addedeslint-config-standard@8.0.0-beta.0(transitive)
+ Addedeslint-import-resolver-node@0.2.3(transitive)
+ Addedeslint-module-utils@2.8.1(transitive)
+ Addedeslint-plugin-import@2.2.0(transitive)
+ Addedeslint-plugin-node@4.1.0(transitive)
+ Addedeslint-plugin-promise@3.5.0(transitive)
+ Addedeslint-plugin-react@6.10.3(transitive)
+ Addedeslint-plugin-standard@2.1.1(transitive)
+ Addedfind-up@1.1.2(transitive)
+ Addedhas@1.0.4(transitive)
+ Addedlodash.cond@4.5.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addedpath-exists@2.1.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedpkg-up@1.0.0(transitive)
+ Addedsemver@5.3.0(transitive)
- Removedeslint@3.15.0(transitive)
- Removedeslint-config-standard@7.0.0(transitive)
- Removedeslint-plugin-promise@3.4.2(transitive)
- Removedeslint-plugin-react@6.9.0(transitive)
- Removedeslint-plugin-standard@2.0.1(transitive)
Updatedeslint@~3.16.1
Updatedeslint-plugin-promise@~3.5.0
Updatedeslint-plugin-react@~6.10.0