Skip to content

Commit

Permalink
Moved the check-tag-names setting to the base.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jun 11, 2024
1 parent 559919e commit dcbc147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion tools/js-tools/eslintrc/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ module.exports = {
'jsdoc/check-indentation': 1,
'jsdoc/check-param-names': 1, // Recommended
'jsdoc/check-syntax': 1,
'jsdoc/check-tag-names': 1, // Recommended
'jsdoc/check-tag-names': [
1, // Recommended
{ definedTags: [ 'jest-environment' ] },
],
'jsdoc/check-types': [
'error',
{
Expand Down
4 changes: 0 additions & 4 deletions tools/js-tools/eslintrc/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ module.exports = {
'jest/prefer-snapshot-hint': [ 'warn', 'always' ],
'jest/prefer-spy-on': 'warn',
'jest/prefer-todo': 'error',
'jsdoc/check-tag-names': [
1, // Recommended
{ definedTags: [ 'jest-environment' ] },
],
'testing-library/prefer-explicit-assert': 'error',
'testing-library/prefer-user-event': 'warn',
},
Expand Down

0 comments on commit dcbc147

Please sign in to comment.