Skip to content

Commit ad71aba

Browse files
cgbrucezjybruczhan
andauthored
docs: update lint rule imports (#3938)
Co-authored-by: bruczhan <[email protected]>
1 parent a7a233f commit ad71aba

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

projects/ngrx.io/content/guide/eslint-plugin/rules/prefer-concat-latest-from.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ To always report the uses of `withLatestFrom` use:
6161

6262
```json
6363
"rules": {
64-
"ngrx/prefer-concat-latest-from": ["warn", { "strict": true }]
64+
"@ngrx/prefer-concat-latest-from": ["warn", { "strict": true }]
6565
}
6666
```
6767

6868
To report only needed uses of `withLatestFrom` use:
6969

7070
```json
7171
"rules": {
72-
"ngrx/prefer-concat-latest-from": ["warn", { "strict": false }]
72+
"@ngrx/prefer-concat-latest-from": ["warn", { "strict": false }]
7373
}
7474
```
7575

projects/ngrx.io/content/guide/eslint-plugin/rules/select-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ To prefer the **method** syntax (`this.store.select(selector)`) use:
4545

4646
```json
4747
"rules": {
48-
"ngrx/select-style": ["warn", "method"]
48+
"@ngrx/select-style": ["warn", "method"]
4949
}
5050
```
5151

5252
To prefer the **operator** syntax (`this.store.pipe(select(selector))`) use:
5353

5454
```json
5555
"rules": {
56-
"ngrx/select-style": ["warn", "operator"]
56+
"@ngrx/select-style": ["warn", "operator"]
5757
}
5858
```

projects/ngrx.io/content/guide/eslint-plugin/rules/use-consistent-global-store-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ To change the name of the global store use:
4949

5050
```json
5151
"rules": {
52-
"ngrx/use-consistent-global-store-name": ["warn", "store$"]
52+
"@ngrx/use-consistent-global-store-name": ["warn", "store$"]
5353
}
5454
```

0 commit comments

Comments
 (0)