Skip to content

Commit

Permalink
Merge pull request #605 from github/update-eslint-comments-no-only-te…
Browse files Browse the repository at this point in the history
…sts-name

Update names back to original for eslint-comments and no-only-tests
  • Loading branch information
gracepark authored Jan 30, 2025
2 parents 1c04510 + 5e285aa commit a40a2b9
Show file tree
Hide file tree
Showing 2 changed files with 4,500 additions and 252 deletions.
20 changes: 10 additions & 10 deletions lib/configs/flat/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ module.exports = {
},
plugins: {
prettierPlugin,
eslintComments,
'eslint-comments': eslintComments,
import: importPlugin,
'i18n-text': fixupPluginRules(i18nTextPlugin),
noOnlyTestsPlugin,
'no-only-tests': noOnlyTestsPlugin,
github: fixupPluginRules(github),
},
rules: {
'constructor-super': 'error',
'eslintComments/disable-enable-pair': 'off',
'eslintComments/no-aggregating-enable': 'off',
'eslintComments/no-duplicate-disable': 'error',
'eslintComments/no-unlimited-disable': 'error',
'eslintComments/no-unused-disable': 'error',
'eslintComments/no-unused-enable': 'error',
'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
'eslint-comments/disable-enable-pair': 'off',
'eslint-comments/no-aggregating-enable': 'off',
'eslint-comments/no-duplicate-disable': 'error',
'eslint-comments/no-unlimited-disable': 'error',
'eslint-comments/no-unused-disable': 'error',
'eslint-comments/no-unused-enable': 'error',
'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
'github/filenames-match-regex': 'error',
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
'github/array-foreach': 'error',
Expand Down Expand Up @@ -100,7 +100,7 @@ module.exports = {
'no-new-symbol': 'error',
'no-obj-calls': 'error',
'no-octal': 'error',
'noOnlyTestsPlugin/no-only-tests': [
'no-only-tests/no-only-tests': [
'error',
{
block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'],
Expand Down
Loading

0 comments on commit a40a2b9

Please sign in to comment.