We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d465e commit 21197b2Copy full SHA for 21197b2
rules/general.js
@@ -312,9 +312,9 @@ module.exports = {
312
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-set-state.md
313
*
314
* @example
315
- * "error"
+ * "off"
316
*/
317
- "react/no-set-state": "error",
+ "react/no-set-state": "off",
318
319
/**
320
* Prevent common casing typos.
@@ -598,11 +598,11 @@ module.exports = {
598
"react/sort-comp": ["error", {
599
order: [
600
"static-variables",
601
- "instance-variables",
602
"lifecycle-variables",
603
"lifecycle-methods",
604
"static-methods",
605
"event-methods",
+ "instance-variables",
606
"instance-methods",
607
"everything-else",
608
"rendering",
0 commit comments