Skip to content

Commit 2bb182a

Browse files
refactor: Changes static property assignment.
1 parent 158cb2b commit 2bb182a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/general.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ module.exports = {
682682
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/static-property-placement.md
683683
*
684684
* @example
685-
* ["error", "property assignment"]
685+
* ["error", "static public field"]
686686
*/
687-
"react/static-property-placement": ["error", "property assignment"],
687+
"react/static-property-placement": ["error", "static public field"],
688688

689689
/**
690690
* Enforce style prop value being an object.

0 commit comments

Comments
 (0)