You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[no-tracked-built-ins](docs/rules/no-tracked-built-ins.md)| enforce usage of `@ember/reactive` imports instead of `tracked-built-ins`|| 🔧 ||
339
+
|[no-tracked-built-ins](docs/rules/no-tracked-built-ins.md)| enforce usage of `@ember/reactive/collections` imports instead of `tracked-built-ins`|| 🔧 ||
340
340
|[no-tracked-properties-from-args](docs/rules/no-tracked-properties-from-args.md)| disallow creating @tracked properties from this.args | ✅ |||
341
341
|[template-indent](docs/rules/template-indent.md)| enforce consistent indentation for gts/gjs templates || 🔧 ||
342
342
|[template-no-deprecated](docs/rules/template-no-deprecated.md)| disallow using deprecated Glimmer components, helpers, and modifiers in templates ||||
Copy file name to clipboardExpand all lines: docs/rules/no-tracked-built-ins.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,26 @@
4
4
5
5
<!-- end auto-generated rule header -->
6
6
7
-
Enforce usage of `@ember/reactive` imports instead of `tracked-built-ins`.
7
+
Enforce usage of `@ember/reactive/collections` imports instead of `tracked-built-ins`.
8
8
9
9
## Context
10
10
11
-
Per [RFC #1068](https://github.com/emberjs/rfcs/pull/1068), the tracked collection utilities from the `tracked-built-ins` package are being moved into the framework as `@ember/reactive`. The new API also changes from class constructors (`new TrackedArray(...)`) to factory functions (`trackedArray(...)`).
11
+
Per [RFC #1068](https://github.com/emberjs/rfcs/pull/1068), the tracked collection utilities from the `tracked-built-ins` package are being moved into the framework as `@ember/reactive/collections`. The new API also changes from class constructors (`new TrackedArray(...)`) to factory functions (`trackedArray(...)`).
12
12
13
13
## Rule Details
14
14
15
-
This rule detects imports from `tracked-built-ins` and provides an autofix to convert them to `@ember/reactive` with the new function-based API.
15
+
This rule detects imports from `tracked-built-ins` and provides an autofix to convert them to `@ember/reactive/collections` with the new function-based API.
16
16
17
17
The following mappings are applied:
18
18
19
-
| Old (`tracked-built-ins`) | New (`@ember/reactive`) |
0 commit comments