@viclafouch/eslint-config-viclafouch 4.19.0 → 4.20.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rules/react.mjs +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viclafouch/eslint-config-viclafouch",
3
- "version": "4.19.0",
3
+ "version": "4.20.0",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
package/rules/react.mjs CHANGED
@@ -408,6 +408,10 @@ export default [
408
408
  {
409
409
  // Enable eslint-plugin-testing-library rules or preset only for matching files!
410
410
  files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
411
- ...testingLibrary.configs['flat/react']
411
+ ...testingLibrary.configs['flat/react'],
412
+ rules: {
413
+ ...testingLibrary.configs['flat/react'].rules,
414
+ 'testing-library/render-result-naming-convention': 0
415
+ }
412
416
  }
413
417
  ]