@wildpastry/eslint-config 1.5.0 → 1.5.1
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/.eslintrc +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/.eslintrc
CHANGED
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
"react/no-multi-comp": 0, // prevent multiple component definition per file // DONE - OFF
|
|
316
316
|
"react/no-unknown-property": 1, // prevent usage of unknown DOM property // DONE
|
|
317
317
|
"react/prop-types": 1, // prevent missing props validation in a React component definition // DONE
|
|
318
|
-
"react/react-in-jsx-scope":
|
|
318
|
+
"react/react-in-jsx-scope": 0, // prevent missing React when using JSX // DONE - OFF
|
|
319
319
|
"react/self-closing-comp": 1 // prevent extra closing tags for components without children // DONE
|
|
320
320
|
}
|
|
321
321
|
}
|
package/index.js
CHANGED
|
@@ -297,7 +297,7 @@ module.exports = {
|
|
|
297
297
|
"react/no-multi-comp": 0, // prevent multiple component definition per file // DONE - OFF
|
|
298
298
|
"react/no-unknown-property": 1, // prevent usage of unknown DOM property // DONE
|
|
299
299
|
"react/prop-types": 1, // prevent missing props validation in a React component definition // DONE
|
|
300
|
-
"react/react-in-jsx-scope":
|
|
300
|
+
"react/react-in-jsx-scope": 0, // prevent missing React when using JSX // DONE - OFF
|
|
301
301
|
"react/self-closing-comp": 1 // prevent extra closing tags for components without children // DONE
|
|
302
302
|
},
|
|
303
303
|
};
|