-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LINT-22(DOC): Customization usage #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Балдежно вышло! 🔥🔥🔥🔥
Можем вливать)
## Customization | ||
You can partially use the rules | ||
|
||
#### Note: | ||
Don't use main config (`@feature-sliced`) in customization to avoid rules conflicts. | ||
|
||
#### Example: | ||
```json | ||
{ | ||
"extends": [ | ||
"@feature-sliced/eslint-config/rules/import-order", | ||
"@feature-sliced/eslint-config/rules/public-api-boundaries", | ||
"@feature-sliced/eslint-config/rules/layers-slices-boundaries" | ||
] | ||
} | ||
``` | ||
|
||
#### Available rules | ||
- [import-order](./rules/import-order/index.md) | ||
- [public-api-boundaries](./rules/public-api-boundaries/index.md) | ||
- [layers-slices-boundaries](./rules/layers-slices-boundaries/index.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise:
Прям даже лучше чем хотелось вышло 👍
# @feature-sliced/import-order | ||
|
||
Reference: [Layers](https://feature-sliced.design/docs/reference/layers) | ||
#### Reference: [Layers](https://feature-sliced.design/docs/reference/layers) | ||
|
||
#### Usage: | ||
Add `"@feature-sliced/eslint-config/rules/import-order"` to you `extends` section in ESLint config. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise:
Йеее, и про это не забыл 🚀
Description
Добавлена документация по частичному использованию конфига.
Описаны возможные правила с сылками на примеры.
Reference
#22
Checks