Skip to content

Commit

Permalink
Bump deps and add new rules (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclindner authored Oct 29, 2019
1 parent f272882 commit 93875d0
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 35 deletions.
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

## [9.0.0] - 2019-10-28
### Added
* [`jest/no-duplicate-hooks`](https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-duplicate-hooks.md)
* [`jest/no-export`](https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-export.md)
* [`jest/no-if`](https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-if.md)
* [`jest/no-try-expect`](https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-try-expect.md)

### Changed
* Bumped peer dep `eslint-plugin-jest` to v23.x.x. `eslint-plugin-jest` will also need to be bumped when upgrading.

## [8.2.0] - 2019-10-28
### Changed
* Final release with support for `eslint-plugin-jest` v22.x.x.
Expand Down
29 changes: 17 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,41 @@ module.exports = {
'array-bracket-newline': 'off',
'array-element-newline': 'off',
'id-length': 'off',
'jest/no-alias-methods': 'error',
'jest/no-disabled-tests': 'error',
'jest/no-focused-tests': 'error',
'jest/no-identical-title': 'error',
'jest/no-jasmine-globals': 'error',
'jest/no-jest-import': 'error',
'jest/no-test-prefixes': 'error',
'jest/valid-describe': 'error',
'jest/valid-expect-in-promise': 'error',
'jest/valid-expect': 'error',
'jest/consistent-test-it': [
'error',
{
fn: 'test',
withinDescribe: 'test'
}
],
'jest/no-alias-methods': 'error',
'jest/no-commented-out-tests': 'error',
'jest/no-empty-title': 'error',
'jest/no-disabled-tests': 'error',
'jest/no-duplicate-hooks': 'error',
'jest/no-export': 'error',
'jest/no-focused-tests': 'error',
'jest/no-identical-title': 'error',
'jest/no-if': 'error',
'jest/no-jasmine-globals': 'error',
'jest/no-jest-import': 'error',
'jest/no-large-snapshots': 'error',
'jest/no-standalone-expect': 'error',
'jest/no-test-prefixes': 'error',
'jest/no-test-callback': 'error',
'jest/no-test-return-statement': 'error',
'jest/no-truthy-falsy': 'error',
'jest/no-try-expect': 'error',
'jest/prefer-strict-equal': 'error',
'jest/prefer-to-be-null': 'error',
'jest/prefer-to-be-undefined': 'error',
'jest/prefer-to-contain': 'error',
'jest/prefer-to-have-length': 'error',
'jest/require-tothrow-message': 'error',
'jest/prefer-todo': 'error',
'jest/require-to-throw-message': 'error',
'jest/valid-describe': 'error',
'jest/valid-expect-in-promise': 'error',
'jest/valid-expect': 'error',
'jest/valid-title': 'error',
'max-lines': 'off',
'max-lines-per-function': 'off',
'max-nested-callbacks': 'off',
Expand Down
43 changes: 23 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-tc",
"version": "8.2.0",
"version": "9.0.0",
"description": "ESLint shareable config for JavaScript projects",
"keywords": [
"eslintconfig",
Expand Down Expand Up @@ -36,7 +36,7 @@
"eslint": "^6.6.0",
"eslint-formatter-pretty": "^2.1.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-jest": "^23.0.2",
"eslint-plugin-prettier": "^3.1.1",
"is-plain-obj": "^2.0.0",
"jest": "^24.9.0",
Expand All @@ -51,7 +51,7 @@
"peerDependencies": {
"eslint": "^6.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-jest": "^23.0.2",
"eslint-plugin-prettier": "^3.1.1",
"prettier": "^1.18.2"
},
Expand Down

0 comments on commit 93875d0

Please sign in to comment.