Skip to content

Commit

Permalink
Include recommended jest-dom eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed May 24, 2024
1 parent 737670e commit e2ca933
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'eslint:recommended',
'plugin:import/recommended',
'plugin:jest/style',
'plugin:jest-dom/recommended',
'plugin:jsdoc/recommended-typescript-flavor',
'plugin:n/recommended',
'plugin:promise/recommended',
Expand All @@ -33,7 +34,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 'latest'
},
plugins: ['import', 'jsdoc', 'n', 'promise', 'jest'],
plugins: ['import', 'jsdoc', 'n', 'promise', 'jest', 'jest-dom'],
rules: {
// Check import or require statements are A-Z ordered
'import/order': [
Expand Down
34 changes: 34 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"eslint-plugin-es-x": "^7.6.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jsdoc": "^48.2.2",
"eslint-plugin-markdown": "^4.0.1",
"eslint-plugin-n": "^16.6.2",
Expand Down

0 comments on commit e2ca933

Please sign in to comment.