issues
search
conarti
/
eslint-plugin-feature-sliced
Feature sliced design eslint plugin
38
stars
1
forks
source link
chore(master): release 1.0.0
#1
Closed
conarti
closed
1 year ago
conarti
commented
1 year ago
:robot: I have created a release
beep
boop
1.0.0 (2023-03-29)
⚠ BREAKING CHANGES
public-api-imports:
the name of the rule has been changed, you need to rename it in your eslint configs
path-checker:
the name of the rule has been changed, you need to rename it in your eslint configs
layer-imports:
the name of the rule has been changed, you need to rename it in your eslint configs
Features
absolute-relative:
export validation (
d4243e2
)
add public-api-imports rule (
5c1cfe3
)
configs:
set 'all' config as 'recommended', enable 'allowTypeImports' by default (
e2f800d
)
get-layer-slice-from-path:
case insensitive (
7b81eed
)
get-layer-slice-from-path:
rename from 'getPathParts', fix implementation (
72c543f
)
helpers:
add convert-to-absolute helper (
2d93396
)
import-order:
add padding and separate type imports (
fb36189
)
import-order:
disable rule for imports from the same slice (
90668ac
)
import-order:
throw errors when has lines between groups (
38a5420
)
layer-imports:
add a setting to disable checking for type imports (
8605f58
)
layer-imports:
add functionality for ignoring by patterns (
751e86c
)
layer-imports:
don't throw an error when importing from the same slice (
28a002f
)
layer-imports:
implementation without 'alias' option (
db41630
)
layer-imports:
rename rule 'layer-imports' to 'layers-slices' (
b732ec1
)
layers-slices:
update error message (
3787909
)
layers-slices:
validate relative paths (
1b153ab
)
normalize-path:
don't remove aliases (
5e00cae
)
normalizePath:
automatic detection of aliases and their removal from the path (
c8ff1b2
)
path-checker:
add alias implementation (
d7d1f13
)
path-checker:
checks 'should be absolute' (
6510e71
)
path-checker:
error if should relative import at files like {layer}/{filename} pattern (
e34ff41
)
path-checker:
implementation without 'alias' option (
5ba3dac
)
path-checker:
rename rule to 'absolute-relative' (
68ce50a
)
public-api-imports:
add auto fix for rule (
7889f73
)
public-api-imports:
automatically detect aliases in the path (
be743b8
)
public-api-imports:
change rule fix to suggestion (
f0489f3
)
public-api-imports:
new implementation with auto-detect aliases and working with any paths (
1b3e2ad
)
public-api-imports:
rename rule to 'public-api' (
fb6b6d3
)
public-api:
add fixed path to error message (
4fddcde
)
rules:
setup 'layer-imports' rule (
ec86bd3
)
rules:
show rule errors over paths instead 'import' (
74e2b79
)
setup configs (
65af4f0
)
setup import-order rule, update docs (
b333104
)
Bug Fixes
absolute-relative:
error when validating exported values (not re-exports) (
36a9b77
)
get-layer-slice-from-path:
correction of work with segment names (
741bfa3
)
get-layer-slice-from-path:
don't find a file as a slice (
1de7f4b
)
get-layer-slice-from-path:
working with kebab-case paths (
9d61320
)
layer-imports:
add 'processes' layer to error message (
11cbf93
)
layer-imports:
allow imports from same layer for '{layer}/{file}' pattern (
f00cdaf
)
layer-imports:
disable imports from one layer except 'shared', correct validation mistakes, 'canNotImportLayer' -> 'canImportLayer' (
5623b69
)
layers-slices:
remove extra '>' (
70a219b
)
normalize-path:
do not delete '.' (
ae463bb
)
path-checker:
imports inside 'app' and 'shared' should be relative (
5ebb65d
)
path-checker:
shouldBeRelative - don't error for imports from another layer (
aad40c0
)
path-checker:
update message for relative path errors (
4aeea52
)
public-api-imports:
disable for 'app' imports (
b5032e9
)
public-api-imports:
don't check imports from 'shared' (
2e0801b
)
public-api:
validation with grouping folders (
88d282a
)
public-api:
working with paths in 'kebab-case' (
1a73850
)
Reverts
add 'getByRegExp' and 'getAlias' to helpers public api (
e71f8aa
)
This PR was generated with
Release Please
. See
documentation
.
:robot: I have created a release beep boop
1.0.0 (2023-03-29)
⚠ BREAKING CHANGES
Features
Bug Fixes
Reverts
This PR was generated with Release Please. See documentation.