Skip to content

Commit

Permalink
🔖 release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yanni4night committed Feb 1, 2018
1 parent cdcae0d commit 414e628
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [2.2.0] - 2018-02-01
### Added
- `no-lonely-if`
- `no-useless-return`

## [2.1.0] - 2017-10-10
### Added
- `comma-dangle`
Expand All @@ -21,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- initialize this project

[2.2.0]: https://github.com/super-fe/eslint-config-superfe-rn/compare/2.1.0...2.2.0
[2.1.0]: https://github.com/super-fe/eslint-config-superfe-rn/compare/2.0.0...2.1.0
[2.0.0]: https://github.com/super-fe/eslint-config-superfe-rn/compare/1.0.0...2.0.0
[Unreleased]: https://github.com/super-fe/eslint-config-superfe-rn/compare/2.1.0...HEAD
[Unreleased]: https://github.com/super-fe/eslint-config-superfe-rn/compare/2.2.0...HEAD
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Eslint configration for Super-FE's HTML-Native apps.
## usage

```sh
npm install babel-eslint eslint-config-superfe-rn eslint-plugin-html eslint-plugin-babel eslint-plugin-promise --save-dev
npm install babel-eslint eslint-config-superfe-hn eslint-plugin-html eslint-plugin-babel eslint-plugin-promise --save-dev
```

```js
// .eslintrc
{
"extends": ["superfe-rn"]
"extends": ["superfe-hn"]
}
```

Expand Down
2 changes: 2 additions & 0 deletions eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"no-void": 2,
"no-proto": 2,
"no-with": 2,
"no-lonely-if": 2,
"no-useless-return": 2,
"prefer-promise-reject-errors": 2,
"no-param-reassign": 2,
"no-unused-vars": 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-superfe-hn",
"version": "2.1.0",
"version": "2.2.0",
"description": "Eslint configration for Super-FE's HTML-Native apps",
"scripts": {
"test": "eslint index.js -c eslint.json",
Expand Down

0 comments on commit 414e628

Please sign in to comment.