Skip to content

Commit dbabffa

Browse files
committed
Remove reactivity from rules until next minor.
1 parent 63f55da commit dbabffa

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,5 @@ would like to use.
7979
|| | [solid/no-unknown-namespaces](docs/no-unknown-namespaces.md) | Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`). |
8080
|| 🔧 | [solid/prefer-classlist](docs/prefer-classlist.md) | Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames. |
8181
|| 🔧 | [solid/prefer-for](docs/prefer-for.md) | Enforce using Solid's `<For />` component for mapping an array to JSX elements. |
82-
| | 🔧 | [solid/reactivity](docs/reactivity.md) | Enforce that reactive expressions (props, signals, memos, etc.) are only used in tracked scopes; otherwise, they won't update the view as expected. |
8382
|| 🔧 | [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 are strings, not numbers with implicit 'px' units. |
8483
<!-- AUTO-GENERATED-CONTENT:END -->

docs/reactivity.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Enforce that reactive expressions (props, signals, memos, etc.) are only used in
44
This rule is **off** by default.
55

66
[View source](../src/rules/reactivity.ts) · [View tests](../test/rules/reactivity.test.ts)
7-
87
<!-- AUTO-GENERATED-CONTENT:END -->
98

109
<!-- AUTO-GENERATED-CONTENT:START (OPTIONS) -->

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import noUnknownNamespaces from "./rules/no-unknown-namespaces";
77
// import noUselessKeys from './rules/no-useless-keys';
88
import preferClasslist from "./rules/prefer-classlist";
99
import preferFor from "./rules/prefer-for";
10-
import reactivity from "./rules/reactivity";
10+
// import reactivity from "./rules/reactivity";
1111
import styleProp from "./rules/style-prop";
1212

1313
const allRules = {
@@ -20,7 +20,7 @@ const allRules = {
2020
// noUselessKeys,
2121
"prefer-classlist": preferClasslist,
2222
"prefer-for": preferFor,
23-
reactivity,
23+
// reactivity,
2424
"style-prop": styleProp,
2525
};
2626

0 commit comments

Comments
 (0)