Skip to content

Commit 570301b

Browse files
committed
Sort rules alphabetically
Sorting these rules alphabetically will help people find the things that they are looking for, and will help developers know where to put new things.
1 parent 49e6669 commit 570301b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Finally, enable all of the rules that you would like to use.
4646
"react/jsx-boolean-value": 1,
4747
"react/jsx-closing-bracket-location": 1,
4848
"react/jsx-curly-spacing": 1,
49-
"react/jsx-max-props-per-line": 1,
5049
"react/jsx-indent-props": 1,
50+
"react/jsx-max-props-per-line": 1,
5151
"react/jsx-no-duplicate-props": 1,
5252
"react/jsx-no-undef": 1,
5353
"react/jsx-quotes": 1,
@@ -56,10 +56,10 @@ Finally, enable all of the rules that you would like to use.
5656
"react/jsx-uses-react": 1,
5757
"react/jsx-uses-vars": 1,
5858
"react/no-danger": 1,
59-
"react/no-set-state": 1,
6059
"react/no-did-mount-set-state": 1,
6160
"react/no-did-update-set-state": 1,
6261
"react/no-multi-comp": 1,
62+
"react/no-set-state": 1,
6363
"react/no-unknown-property": 1,
6464
"react/prop-types": 1,
6565
"react/react-in-jsx-scope": 1,
@@ -77,8 +77,8 @@ Finally, enable all of the rules that you would like to use.
7777
* [jsx-boolean-value](docs/rules/jsx-boolean-value.md): Enforce boolean attributes notation in JSX
7878
* [jsx-closing-bracket-location](docs/rules/jsx-closing-bracket-location.md): Validate closing bracket location in JSX
7979
* [jsx-curly-spacing](docs/rules/jsx-curly-spacing.md): Enforce or disallow spaces inside of curly braces in JSX attributes
80-
* [jsx-max-props-per-line](docs/rules/jsx-max-props-per-line.md): Limit maximum of props on a single line in JSX
8180
* [jsx-indent-props](docs/rules/jsx-indent-props.md): Validate props indentation in JSX
81+
* [jsx-max-props-per-line](docs/rules/jsx-max-props-per-line.md): Limit maximum of props on a single line in JSX
8282
* [jsx-no-duplicate-props](docs/rules/jsx-no-duplicate-props.md): Prevent duplicate props in JSX
8383
* [jsx-no-literals](docs/rules/jsx-no-literals.md): Prevent usage of unwrapped JSX strings
8484
* [jsx-no-undef](docs/rules/jsx-no-undef.md): Disallow undeclared variables in JSX
@@ -88,10 +88,10 @@ Finally, enable all of the rules that you would like to use.
8888
* [jsx-uses-react](docs/rules/jsx-uses-react.md): Prevent React to be incorrectly marked as unused
8989
* [jsx-uses-vars](docs/rules/jsx-uses-vars.md): Prevent variables used in JSX to be incorrectly marked as unused
9090
* [no-danger](docs/rules/no-danger.md): Prevent usage of dangerous JSX properties
91-
* [no-set-state](docs/rules/no-set-state.md): Prevent usage of setState
9291
* [no-did-mount-set-state](docs/rules/no-did-mount-set-state.md): Prevent usage of setState in componentDidMount
9392
* [no-did-update-set-state](docs/rules/no-did-update-set-state.md): Prevent usage of setState in componentDidUpdate
9493
* [no-multi-comp](docs/rules/no-multi-comp.md): Prevent multiple component definition per file
94+
* [no-set-state](docs/rules/no-set-state.md): Prevent usage of setState
9595
* [no-unknown-property](docs/rules/no-unknown-property.md): Prevent usage of unknown DOM property
9696
* [prop-types](docs/rules/prop-types.md): Prevent missing props validation in a React component definition
9797
* [react-in-jsx-scope](docs/rules/react-in-jsx-scope.md): Prevent missing React when using JSX

0 commit comments

Comments
 (0)