-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Description
Add posibility to customize config by "concepts"-presets
We should support at least these options for integration:
- Option 1. All recommended
"I want all recommended boundaries"
- Option 2. Only one specific
"I want ONLY
layers-boundaries/slice-boundaries/public-api-boundaries/import-order-boundaries/ ... " - Option 3. Only few specific
"I want ONLY
layers-boundariesANDprivate-imports-boundaries" -
Option 4. Customize impl of configs(see LINT(CUSTOM): Add advanced customization of config #45)-
"I want to enableshared/stylesin public-api linting" -
"I want to add my own layer into existing"
-
Suggestion
As variant, to split these options by eslint rules presets:
But if you have better ideas - you're welcome ✊
// Option 1. All recommended
extends: [
"@feature-sliced/recommended"
],
// Option 2. Only one specific
extends: [
"@feature-sliced/rules/layers",
// OR "@feature-sliced/rules/slices"
// OR "@feature-sliced/rules/private-imports"
// OR "@feature-sliced/rules/import-order"
],
// Option 3. Only few specific
extends: [
"@feature-sliced/rules/layers",
"@feature-sliced/rules/private-imports",
],
// Option 4. Customize impl of configs
// No ideas... Maybe "initConfig(...)" setup-helpers?Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed