Skip to content

Commit

Permalink
Minor update with two new rules (#5)
Browse files Browse the repository at this point in the history
- Add new rules for ESLint 3.14.0
- Bump deps
- Convert to external npm-package-json-lint-config-tc
  • Loading branch information
tclindner authored Feb 19, 2017
1 parent 88e70a0 commit adea5f0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 49 deletions.
40 changes: 1 addition & 39 deletions .npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,3 @@
{
"require-author": "error",
"require-bugs": "error",
"require-description": "error",
"require-devDependencies": "error",
"require-engines": "error",
"require-homepage": "error",
"require-keywords": "error",
"require-license": "error",
"require-main": "error",
"require-name": "error",
"require-peerDependencies": "error",
"require-repository": "error",
"require-scripts": "error",
"require-version": "error",
"config-type": "error",
"description-type": "error",
"devDependencies-type": "error",
"engines-type": "error",
"homepage-type": "error",
"keywords-type": "error",
"license-type": "error",
"main-type": "error",
"name-type": "error",
"peerDependencies-type": "error",
"repository-type": "error",
"scripts-type": "error",
"version-type": "error",
"valid-values-author": ["error", [
"Thomas Lindner"
]],
"valid-values-private": ["error", [
false
]],
"prefer-no-version-zero-dependencies": "warning",
"prefer-caret-version-dependencies": "error",
"prefer-no-version-zero-devDependencies": "warning",
"prefer-caret-version-devDependencies": "error",
"name-format": "error",
"version-format": "error"
"extends": "npm-package-json-lint-config-tc"
}
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Removed

## [1.5.0] - 2017-02-18
### Added
Added two new rules from ESLint v3.14.0.

* [no-multi-assign](http://eslint.org/docs/rules/no-multi-assign)
* [prefer-promise-reject-errors](http://eslint.org/docs/rules/prefer-promise-reject-errors)

## [1.4.0] - 2017-01-08
### Added
Added one new rules from ESLint v3.12.0.
Added one new rule from ESLint v3.12.0.

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

Added one new rules from ESLint v3.11.0.
Added one new rule from ESLint v3.11.0.

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

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

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

Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ module.exports = {
'no-useless-return': 'error',
'no-return-await': 'error',
'require-await': 'error',
'no-await-in-loop': 'error'
'no-await-in-loop': 'error',
'prefer-promise-reject-errors': 'error',
'no-multi-assign': 'error'
}
};
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-tc",
"version": "1.4.0",
"version": "1.5.0",
"description": "ESLint shareable config for TC's projects",
"keywords": [
"eslintconfig",
Expand Down Expand Up @@ -31,18 +31,19 @@
"test": "mocha test"
},
"devDependencies": {
"eslint": "^3.13.0",
"eslint": "^3.15.0",
"eslint-formatter-pretty": "^1.1.0",
"is-plain-obj": "^1.1.0",
"jscs": "^3.0.7",
"jsonlint": "^1.6.2",
"mocha": "^3.1.2",
"npm-package-json-lint": "^1.4.0",
"should": "^11.1.1",
"temp-write": "^2.1.0"
"npm-package-json-lint": "^2.0.2",
"npm-package-json-lint-config-tc": "^1.0.0",
"should": "^11.2.0",
"temp-write": "^3.1.0"
},
"peerDependencies": {
"eslint": "^3.13.0"
"eslint": "^3.15.0"
},
"engines": {
"node": ">=4.2.0",
Expand Down

0 comments on commit adea5f0

Please sign in to comment.