Skip to content

Commit

Permalink
update to latest standard version
Browse files Browse the repository at this point in the history
  • Loading branch information
Flet committed Mar 6, 2017
1 parent be464f1 commit d0f1853
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 6 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d0f1853

Please sign in to comment.