Skip to content

Commit ebaa7d3

Browse files
committed
docs(rules): specify and refine versions
1 parent c52f13d commit ebaa7d3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

rules/import-order/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ import { getSmth } from "./lib"; // 4) sibling
4141
**With reversed order ("from abstract to specific") and spaces between layers groups**
4242
[(why experimental?)](https://github.com/feature-sliced/eslint-config/issues/85)
4343
44-
Add `"@feature-sliced/eslint-config/rules/import-order/experimental"` to your `extends` section in ESLint config. (for `^0.1.0-beta.4` versions)
44+
Add `"@feature-sliced/eslint-config/rules/import-order/experimental"` to your `extends` section in ESLint config.
45+
46+
<sup>*Only for @^0.1.0-beta.4*</sup>
4547
4648
```js
4749
import axios from "axios"; // 1) external libs

rules/layers-slices/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ import { UserAvatar } from "entities/user";
4949
> @path "shared/lib"
5050
> import { ... } from "pages/_router" // 🟥 not valid (lower layer)
5151
> ```
52+
>
53+
> <sup>*Only for @^0.1.0-beta.6*</sup>

rules/public-api/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export { selectSmthById } from "./model/selectors";
5151

5252
**Without SegmentsAPI / InnerAPI restrictions** [(why experimental?)](https://github.com/feature-sliced/eslint-config/issues/90)
5353

54-
Add `"@feature-sliced/eslint-config/rules/public-api/lite"` to your `extends` section in ESLint config. (for `^0.1.0-beta.5` versions)
54+
Add `"@feature-sliced/eslint-config/rules/public-api/lite"` to your `extends` section in ESLint config.
55+
56+
<sup>*Only for @^0.1.0-beta.5*</sup>
5557

5658
#### Slices PublicAPI
5759

@@ -98,3 +100,5 @@ export { selectSmthById } from "./model/selectors";
98100
> import { ... } from "shared/_library/fp" // 🟩 still valid
99101
> import { ... } from "shared/_library/fp/compose" // 🟥 don't be brash :)
100102
> ```
103+
>
104+
> <sup>*Only for @^0.1.0-beta.6*</sup>

0 commit comments

Comments
 (0)