We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97908fc commit 4cbe6b3Copy full SHA for 4cbe6b3
5 files changed
lib/configs/recommended.js
@@ -8,7 +8,7 @@ module.exports = {
8
env: {
9
es6: true,
10
},
11
- plugins: ['github', 'prettier', 'eslint-comments', 'import', 'i18n-text', 'no-only-tests'],
+ plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text', 'no-only-tests'],
12
rules: {
13
'constructor-super': 'error',
14
'eslint-comments/disable-enable-pair': 'off',
@@ -18,7 +18,7 @@ module.exports = {
18
'eslint-comments/no-unused-disable': 'error',
19
'eslint-comments/no-unused-enable': 'error',
20
'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}],
21
- 'github/filenames-match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
+ 'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],
22
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
23
'github/array-foreach': 'error',
24
'github/no-implicit-buggy-globals': 'error',
package-lock.json
package.json
@@ -39,6 +39,7 @@
39
"eslint-config-prettier": ">=8.0.0",
40
"eslint-plugin-escompat": "^3.11.3",
41
"eslint-plugin-eslint-comments": "^3.2.0",
42
+ "eslint-plugin-filenames": "^1.3.2",
43
"eslint-plugin-i18n-text": "^1.0.1",
44
"eslint-plugin-import": "^2.25.2",
45
"eslint-plugin-jsx-a11y": "^6.7.1",
0 commit comments