@kununu/eslint-config 5.9.2 → 5.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -255,7 +255,6 @@ module.exports = {
|
|
|
255
255
|
'plugin:jest-dom/recommended',
|
|
256
256
|
'plugin:prettier/recommended',
|
|
257
257
|
'plugin:react-hooks/recommended',
|
|
258
|
-
'plugin:testing-library/react',
|
|
259
258
|
],
|
|
260
259
|
|
|
261
260
|
parser: '@babel/eslint-parser',
|
|
@@ -277,6 +276,14 @@ module.exports = {
|
|
|
277
276
|
rules: baseRules,
|
|
278
277
|
|
|
279
278
|
overrides: [{
|
|
279
|
+
files: [
|
|
280
|
+
'**/__tests__/**/*.[jt]s?(x)',
|
|
281
|
+
'**/?(*.)+(spec|test).[jt]s?(x)'
|
|
282
|
+
],
|
|
283
|
+
extends: [
|
|
284
|
+
'plugin:testing-library/react'
|
|
285
|
+
],
|
|
286
|
+
}, {
|
|
280
287
|
files: [
|
|
281
288
|
'**/*.ts',
|
|
282
289
|
'**/*.tsx',
|
|
@@ -291,7 +298,6 @@ module.exports = {
|
|
|
291
298
|
'plugin:jest-dom/recommended',
|
|
292
299
|
'plugin:prettier/recommended',
|
|
293
300
|
'plugin:react-hooks/recommended',
|
|
294
|
-
'plugin:testing-library/react',
|
|
295
301
|
],
|
|
296
302
|
parser: '@typescript-eslint/parser',
|
|
297
303
|
plugins: [
|