Skip to content

Commit

Permalink
Add new rules for eslint 3.9.0 and 3.10.0 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclindner authored Nov 20, 2016
1 parent 6e31d60 commit 20a2276
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ node_js:
- "4"
- "5"
- "6"
- "7"

cache:
directories:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Removed

## [1.3.0] - 2016-11-20
### Added
Added one new rules from ESLint v3.10.0.

* [no-return-await](http://eslint.org/docs/rules/no-return-await)

Added one new rule from ESLint v3.9.0.

* [no-useless-return](http://eslint.org/docs/rules/no-useless-return)

## [1.2.0] - 2016-09-25
### Added
Added two new rules from ESLint v3.5.0.
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ module.exports = {
'lines-around-directive': ['error', {
'before': 'never',
'after': 'always'
}]
}],
'no-useless-return': 'error',
'no-return-await': 'error'
}
};
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-tc",
"version": "1.2.0",
"version": "1.3.0",
"description": "ESLint shareable config for TC's projects",
"keywords": [
"eslintconfig",
Expand Down Expand Up @@ -31,18 +31,18 @@
"test": "mocha test"
},
"devDependencies": {
"eslint": "^3.6.0",
"eslint-formatter-pretty": "^1.0.0",
"eslint": "^3.10.2",
"eslint-formatter-pretty": "^1.1.0",
"is-plain-obj": "^1.1.0",
"jscs": "^3.0.7",
"jsonlint": "^1.6.2",
"mocha": "^3.0.2",
"npm-package-json-lint": "^1.3.0",
"should": "^11.1.0",
"mocha": "^3.1.2",
"npm-package-json-lint": "^1.4.0",
"should": "^11.1.1",
"temp-write": "^2.1.0"
},
"peerDependencies": {
"eslint": "^3.6.0"
"eslint": "^3.10.2"
},
"engines": {
"node": ">=4.2.0",
Expand Down

0 comments on commit 20a2276

Please sign in to comment.