Skip to content

Commit 75a0dc7

Browse files
committed
Typo, moved troubleshooting section below rules section
1 parent 8acb419 commit 75a0dc7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,6 @@ options you can set.
100100
}
101101
```
102102

103-
### Troubleshooting
104-
105-
The rules in this plugin provide sensible guidelines as well as possible, but there may be times
106-
where the you better than the rule and want to ignore a warning. Just [add a
107-
comment](https://eslint.org/docs/latest/user-guide/configuring/rules#disabling-rules) like the
108-
following:
109-
110-
```jsx
111-
// eslint-disable-next-line solid/reactivity
112-
const [editedValue, setEditedValue] = createSignal(props.value);
113-
```
114-
115-
_However_, there may also be times where a rule correctly warns about a subtle problem,
116-
even if it looks like a false positive at first. With `solid/reactivity`, please look at the
117-
[docs](./docs/reactivity.md#troubleshooting) before deciding to disable the rule.
118-
119103
## Rules
120104

121105
✔: Enabled in the `recommended` configuration.
@@ -147,6 +131,22 @@ even if it looks like a false positive at first. With `solid/reactivity`, please
147131
|| 🔧 | [solid/style-prop](docs/style-prop.md) | Require CSS properties in the `style` prop to be valid and kebab-cased (ex. 'font-size'), not camel-cased (ex. 'fontSize') like in React, and that property values with dimensions are strings, not numbers with implicit 'px' units. |
148132
<!-- AUTO-GENERATED-CONTENT:END -->
149133

134+
## Troubleshooting
135+
136+
The rules in this plugin provide sensible guidelines as well as possible, but there may be times
137+
where the you better than the rule and want to ignore a warning. Just [add a
138+
comment](https://eslint.org/docs/latest/user-guide/configuring/rules#disabling-rules) like the
139+
following:
140+
141+
```jsx
142+
// eslint-disable-next-line solid/reactivity
143+
const [editedValue, setEditedValue] = createSignal(props.value);
144+
```
145+
146+
_However_, there may also be times where a rule correctly warns about a subtle problem,
147+
even if it looks like a false positive at first. With `solid/reactivity`, please look at the
148+
[reactivity docs](./docs/reactivity.md#troubleshooting) before deciding to disable the rule.
149+
150150
## Versioning
151151

152152
Pre-1.0.0, the rules and the `recommended` and `typescript` configuations will be

0 commit comments

Comments
 (0)