Skip to content

Commit 5e285aa

Browse files
committedJan 30, 2025·
update names back to original for eslint-comments and no-only-tests
1 parent 1c04510 commit 5e285aa

File tree

2 files changed

+4500
-252
lines changed

2 files changed

+4500
-252
lines changed
 

‎lib/configs/flat/recommended.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ module.exports = {
1717
},
1818
plugins: {
1919
prettierPlugin,
20-
eslintComments,
20+
'eslint-comments': eslintComments,
2121
import: importPlugin,
2222
'i18n-text': fixupPluginRules(i18nTextPlugin),
23-
noOnlyTestsPlugin,
23+
'no-only-tests': noOnlyTestsPlugin,
2424
github: fixupPluginRules(github),
2525
},
2626
rules: {
2727
'constructor-super': 'error',
28-
'eslintComments/disable-enable-pair': 'off',
29-
'eslintComments/no-aggregating-enable': 'off',
30-
'eslintComments/no-duplicate-disable': 'error',
31-
'eslintComments/no-unlimited-disable': 'error',
32-
'eslintComments/no-unused-disable': 'error',
33-
'eslintComments/no-unused-enable': 'error',
34-
'eslintComments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
28+
'eslint-comments/disable-enable-pair': 'off',
29+
'eslint-comments/no-aggregating-enable': 'off',
30+
'eslint-comments/no-duplicate-disable': 'error',
31+
'eslint-comments/no-unlimited-disable': 'error',
32+
'eslint-comments/no-unused-disable': 'error',
33+
'eslint-comments/no-unused-enable': 'error',
34+
'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
3535
'github/filenames-match-regex': 'error',
3636
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
3737
'github/array-foreach': 'error',
@@ -100,7 +100,7 @@ module.exports = {
100100
'no-new-symbol': 'error',
101101
'no-obj-calls': 'error',
102102
'no-octal': 'error',
103-
'noOnlyTestsPlugin/no-only-tests': [
103+
'no-only-tests/no-only-tests': [
104104
'error',
105105
{
106106
block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'],

0 commit comments

Comments
 (0)
Please sign in to comment.