Skip to content

Commit 9c7ff06

Browse files
committed
docs: mention warnings
1 parent 7b95e4b commit 9c7ff06

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ Uncomment if will be needed
8585
+ 'Violated usage of modules Public API | https://git.io/Jymjf'
8686
```
8787
88+
3. You can use *warnings* instead of *errors* for specific rules
89+
90+
```json
91+
// feature-sliced/import-order
92+
"import/order": "warn" // ~ 1,
93+
// feature-sliced/public-api
94+
"import/no-internal-modules": "warn" // ~ 1,
95+
// feature-sliced/layers-slices
96+
"boundaries/element-types": "warn" // ~ 1,
97+
```
98+
8899
## TypeScript
89100
90101
This plugin can be used also in TypeScript projects using `@typescript-eslint/eslint-plugin`. Follow next steps to configure it:

0 commit comments

Comments
 (0)