From d0f18536cc9c198845342aeef958d66b5283d629 Mon Sep 17 00:00:00 2001 From: Dan Flettre Date: Mon, 6 Mar 2017 14:31:18 -0600 Subject: [PATCH] update to latest standard version --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++++ package.json | 12 ++++++------ 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a45701..60f840a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,43 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 10.0.0 2017-03-06 + +Updated to match the latest `standard` rules and the newest `standard-engine` features. + +@feross did a great writeup on the `standard` changelog that covers all the updates: +https://github.com/feross/standard/blob/master/CHANGELOG.md + +In summary: +### New features + +- Update ESLint from 3.10.x to 3.15.x +- 3 additional rules are now fixable with `standard --fix` + +### New rules + +*(Estimated % of affected standard users, based on test suite in parens)* + +- Disallow mixing different operators without parens ([no-mixed-operators](http://eslint.org/docs/rules/no-mixed-operators)) [#566](https://github.com/feross/standard/issues/566) (5%) +- Enforce 1 newline at end of file (previously 1 or 2 were ok) ([no-multiple-empty-lines](http://eslint.org/docs/rules/no-multiple-empty-lines)) [#733](https://github.com/feross/standard/issues/733) (3%) +- Disallow Unused Expressions ([no-unused-expressions](http://eslint.org/docs/rules/no-unused-expressions)) [#690](https://github.com/feross/standard/issues/690) (3%) + - Note: this affects users of the Chai test framework. [Read about the changes you need to make](https://github.com/feross/standard/issues/690#issuecomment-278533482). +- Disallow redundant return statements ([no-useless-return](http://eslint.org/docs/rules/no-useless-return)) [#694](https://github.com/feross/standard/issues/694) (1%) +- Disallow Incorrect Early Use ([no-use-before-define](http://eslint.org/docs/rules/no-use-before-define)) [#636](https://github.com/feross/standard/issues/636) (0%) +- Enforce that Promise rejections are passed an Error object as a reason ([prefer-promise-reject-errors](http://eslint.org/docs/rules/prefer-promise-reject-errors)) [#777](https://github.com/feross/standard/issues/777) (0%) +- Enforce comparing `typeof` expressions against string literals ([valid-typeof](http://eslint.org/docs/rules/valid-typeof)) [#629](https://github.com/feross/standard/issues/629) (0%) +- Enforce spacing around * in generator functions ([generator-star-spacing](http://eslint.org/docs/rules/generator-star-spacing)) [#724](https://github.com/feross/standard/issues/724) (0%) +- Disallow Unnecessary Labels ([no-extra-label](http://eslint.org/docs/rules/no-extra-label)) [#736](https://github.com/feross/standard/issues/736) (0%) +- Disallow spacing between template tags and their literals ([template-tag-spacing](http://eslint.org/docs/rules/template-tag-spacing)) [#755](https://github.com/feross/standard/issues/775) (0%) +- Disallow padding within switch statements and classes ([padded-blocks](http://eslint.org/docs/rules/padded-blocks)) [#610](https://github.com/feross/standard/issues/610) (0%) +- Enforce that Symbols are passed a description ([symbol-description](http://eslint.org/docs/rules/symbol-description)) [#630](https://github.com/feross/standard/issues/630) (0%) + +### Changed rules + +- Relax rule: allow TypeScript Triple-Slash Directives (spaced-comment) [#660](https://github.com/feross/standard/issues/660) +- Relax rule: allow Flow Comments (spaced-comment) [#661](https://github.com/feross/standard/issues/661) + + ## 9.0.0 2016-09-03 Updated to match the latest `standard` rules and the newest `standard-engine` features. diff --git a/package.json b/package.json index 5ae0be8..38a507c 100644 --- a/package.json +++ b/package.json @@ -14,14 +14,14 @@ "url": "https://github.com/Flet/semistandard/issues" }, "dependencies": { - "eslint": "~3.12.1", - "eslint-config-semistandard": "7.0.0", - "eslint-config-standard": "6.2.1", - "eslint-config-standard-jsx": "3.2.0", + "eslint": "~3.15.0", + "eslint-config-semistandard": "8.0.0", + "eslint-config-standard": "7.0.0", + "eslint-config-standard-jsx": "3.3.0", "eslint-plugin-promise": "~3.4.0", - "eslint-plugin-react": "~6.8.0", + "eslint-plugin-react": "~6.9.0", "eslint-plugin-standard": "~2.0.1", - "standard-engine": "~5.3.0" + "standard-engine": "~5.4.0" }, "devDependencies": { "merge": "^1.2.0",