Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency eslint to v8 #173

Merged
merged 2 commits into from Oct 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -23,15 +23,15 @@
},
"peerDependencies": {
"babel-eslint": "^10.0.0",
"eslint": "^7.15.0",
"eslint": "^8.0.0",
"eslint-plugin-node": "^11.1.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"babel-eslint": "10.1.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "24.7.0",
"eslint": "8.0.1",
"eslint-plugin-jest": "25.2.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-notice": "0.9.10",
Expand Down
6 changes: 3 additions & 3 deletions plugins/jest.js
Expand Up @@ -13,8 +13,6 @@ module.exports = {
'jest/consistent-test-it': 0,
// enforce assertion to be made in a test body
'jest/expect-expect': 2,
// enforce lowercase test names
'jest/lowercase-name': [1, { ignore: ['describe'] }],
// disallow alias methods
'jest/no-alias-methods': 2,
// disallow commented out tests
Expand Down Expand Up @@ -65,6 +63,8 @@ module.exports = {
'jest/prefer-expect-resolves': 2,
// suggest having hooks before any test cases
'jest/prefer-hooks-on-top': 0,
// enforce lowercase test names
'jest/prefer-lowercase-title': [1, { ignore: ['describe'] }],
// suggest using `jest.spyOn()`
'jest/prefer-spy-on': 0,
// suggest using `toStrictEqual()`
Expand All @@ -84,7 +84,7 @@ module.exports = {
// require test cases and hooks to be inside a `describe` block
'jest/require-top-level-describe': 2,
// enforce valid `describe()` callback
'jest/valid-describe': 2,
'jest/valid-describe-callback': 2,
// enforce valid `expect()` usage
'jest/valid-expect': 2,
// enforce having return statement when testing with promises
Expand Down