Skip to content

Commit 21197b2

Browse files
refactor: Moves instance-methods.
1 parent f5d465e commit 21197b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/general.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ module.exports = {
312312
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-set-state.md
313313
*
314314
* @example
315-
* "error"
315+
* "off"
316316
*/
317-
"react/no-set-state": "error",
317+
"react/no-set-state": "off",
318318

319319
/**
320320
* Prevent common casing typos.
@@ -598,11 +598,11 @@ module.exports = {
598598
"react/sort-comp": ["error", {
599599
order: [
600600
"static-variables",
601-
"instance-variables",
602601
"lifecycle-variables",
603602
"lifecycle-methods",
604603
"static-methods",
605604
"event-methods",
605+
"instance-variables",
606606
"instance-methods",
607607
"everything-else",
608608
"rendering",

0 commit comments

Comments
 (0)