@viclafouch/eslint-config-viclafouch 4.22.1-beta.3 → 4.22.1-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viclafouch/eslint-config-viclafouch",
3
- "version": "4.22.1-beta.3",
3
+ "version": "4.22.1-beta.4",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
package/rules/react.mjs CHANGED
@@ -365,7 +365,7 @@ export default [
365
365
 
366
366
  // Enforce sandbox attribute on iframe elements
367
367
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/c8833f301314dab3e79ef7ac4cf863e4d5fa0019/docs/rules/iframe-missing-sandbox.md
368
- 'react/iframe-missing-sandbox': 'error',
368
+ 'react/iframe-missing-sandbox': 'off',
369
369
 
370
370
  // Prevent problematic leaked values from being rendered
371
371
  // https://github.com/jsx-eslint/eslint-plugin-react/blob/c42b624d0fb9ad647583a775ab9751091eec066f/docs/rules/jsx-no-leaked-render.md
@@ -76,9 +76,6 @@ export default {
76
76
  ],
77
77
 
78
78
  // Disallow use of variables before they are defined
79
- 'no-use-before-define': [
80
- 'error',
81
- { functions: true, classes: true, variables: true }
82
- ]
79
+ 'no-use-before-define': 'off'
83
80
  }
84
81
  }