Skip to content

Commit a40a2b9

Browse files
authored
Merge pull request #605 from github/update-eslint-comments-no-only-tests-name
Update names back to original for eslint-comments and no-only-tests
2 parents 1c04510 + 5e285aa commit a40a2b9

File tree

2 files changed

+4500
-252
lines changed

2 files changed

+4500
-252
lines changed

lib/configs/flat/recommended.js

Lines changed: 10 additions & 10 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy