1.0.5 (2023-08-08)
- layers-slices: work with inline type imports (247883e)
- public-api: add missed 'type' field at options validation schema (54ec4e2)
1.0.4 (2023-07-03)
- correct resolve slice if it contains layer name (52c2bc7)
1.0.3 (2023-06-27)
- configs: add 'rules' config definition at main entry point (a9eba73)
1.0.2 (2023-06-27)
- configs: add config contain only rules (e811a84)
1.0.1 (2023-06-27)
- configs: update definitions using new plugin name (6d9b4f1)
1.0.0 (2023-06-27)
This version refactored to typescript and vitest, as well as fixed important bugs and redesigned the rules. Also, with the release of this version, the repository will be renamed to '@conarti/eslint-plugin-feature-sliced' and package with old name will be deprecated.
- absolute-relative: correct use default options (85283af)
- absolute-relative: should correct understand node module imports (061e815)
- import-order: change to correct global config import path (a079822)
- layers-slices: add schema for new 'ignoreInFilesPatterns' option (e9aaffc)
- layers-slices: correct use default options (c66179e)
- layers-slices: remove the incorrect check after correcting the logic for obtaining layer slices (627c240)
- public-api: correct use default options (c2f36b6)
- public-api: report only 1 "import to layers public api is not allowed" error per file (8672f55)
- public-api: should work with multiple layer names in path (correct understand layer) (c09bc09)
- use 'cwd' to understand paths (3493d74)
- import-order: add different variations of configurations (05e87f0)
- layers-slices: 'allowTypeImports' option is set to 'true' by default (7a3fc34)
- layers-slices: add 'ignoreInFilesPatterns' option (b6b6fe3)
- public-api: add 'ignoreInFilesPatterns' option (b2b3641)
- public-api: don't allow layers public api (755a07c)
0.0.39 (2023-05-28)
- layers-slices: remove import path normalization to check if it is ignored (6569e75)
- import-order: error when using 'recommended' config without 'eslint-plugin-import' package installed (now the rule simply won't work, and you can always use 'recommended' config) (8f3dfa7)
- absolute-relative: improve logic for getting layer and slice from paths (now understands relative paths) (c6d264a)
- public-api: add the option which adjust the level of validation (ab6b7e5), closes #5
0.0.38 (2023-05-11)
- public-api: validate 'export ... from ...' syntax (db343f4)
0.0.37 (2023-05-08)
- import-order: cycle fsd imports errors bug (f0107ed)
0.0.36 (2023-05-03)
- absolute-relative: add 'ignoreInFilesPatterns' options for ignoring validations in files by patterns (ec87cd1)
0.0.35 (2023-04-30)
- public-api: incorrect working if segment files has segment-like naming (4e7cade)
0.0.34 (2023-04-30)
- layers-slices: incorrect work with 'layers-like' names at not layer path part (d13544b)
- layers-slices: allow imports inside 'app' layer (a2cc503)
0.0.33 (2023-04-30)
- layers-slices: correctly understand layers from paths if usual folder names is same as layer names (0.0.33)
0.0.32 (2023-04-17)
- public-api: incorrect getting slices from the path (5876679)
- public-api: incorrect validation imports from 'index' files (a335984)
- public-api: incorrect validation within same segment (61425a4)
0.0.31 (2023-04-16)
- public-api: working with file extension if import was from segment (64ac21c)
- absolute-relative: validate in import expressions (d0e82f0)
- layers-slices: validate in import expressions (de3971b)
- public-api: validate in import expressions (c439acc)
0.0.30 (2023-04-16)
- public-api: don't replace quotes style to single after fix invalid paths (5881993)
0.0.29 (2023-04-16)
- convert-to-absolute: add work with absolute target path (b36fb06)
- public-api: add relative path validation (af2a104)
- public-api: validate relative paths (93e287c)
0.0.28 (2023-04-09)
0.0.27 (2023-04-04)
- Revert "refactor(configs): extract 'base' config from 'recommended'" (c7f7bd9)
- Revert "refactor(import-order): move to 'configs'" (8ef7228)
0.0.26 (2023-04-04)
- incorrect handling of windows paths (f4d8877)
- public-api: validation with sub-grouping folders (675546e)
0.0.25 (2023-03-29)
- public-api: validation with grouping folders (88d282a)
- public-api: working with paths in 'kebab-case' (1a73850)
0.0.24 (2023-03-06)
- absolute-relative: error when validating exported values (not re-exports) (36a9b77)
0.0.23 (2023-03-06)
- absolute-relative: export validation (d4243e2)
0.0.22 (2023-03-06)
- get-layer-slice-from-path: correction of work with segment names (741bfa3)
- get-layer-slice-from-path: case insensitive (7b81eed)
0.0.21 (2023-03-06)
- normalize-path: do not delete '.' (ae463bb)
0.0.20 (2023-03-06)
- get-layer-slice-from-path: working with kebab-case paths (9d61320)
0.0.19 (2023-03-04)
- feat(public-api-imports)!: rename rule to 'public-api' (fb6b6d3)
- public-api-imports: change rule fix to suggestion (f0489f3)
- public-api: add fixed path to error message (4fddcde)
- the name of the rule has been changed, you need to rename it in your eslint configs
0.0.18 (2023-03-03)
-
layers-slices: remove extra '>' (70a219b)
-
feat(path-checker)!: rename rule to 'absolute-relative' (68ce50a)
- import-order: add padding and separate type imports (fb36189)
- layers-slices: update error message (3787909)
- rules: show rule errors over paths instead 'import' (74e2b79)
- the name of the rule has been changed, you need to rename it in your eslint configs
0.0.17 (2023-03-03)
-
layer-imports: add 'processes' layer to error message (11cbf93)
-
feat(layer-imports)!: rename rule 'layer-imports' to 'layers-slices' (b732ec1)
- layer-imports: don't throw an error when importing from the same slice (28a002f)
- the name of the rule has been changed, you need to rename it in your eslint configs
0.0.16 (2023-02-22)
- layer-imports: add functionality for ignoring by patterns (751e86c)
0.0.15 (2023-02-21)
- path-checker: imports inside 'app' and 'shared' should be relative (5ebb65d)
- path-checker: update message for relative path errors (4aeea52)
- configs: set 'all' config as 'recommended', enable 'allowTypeImports' by default (e2f800d)
- layer-imports: add a setting to disable checking for type imports (8605f58)
0.0.14 (2023-02-12)
- path-checker: shouldBeRelative - don't error for imports from another layer (aad40c0)
0.0.13 (2023-02-12)
- get-layer-slice-from-path: don't find a file as a slice (1de7f4b)
- layer-imports: allow imports from same layer for '{layer}/{file}' pattern (f00cdaf)
- path-checker: error if should relative import at files like {layer}/{filename} pattern (e34ff41)
0.0.12 (2023-02-12)
- public-api-imports: don't check imports from 'shared' (2e0801b)
0.0.11 (2023-02-12)
- layer-imports: disable imports from one layer except 'shared', correct validation mistakes, 'canNotImportLayer' -> 'canImportLayer' (5623b69)
- get-layer-slice-from-path: rename from 'getPathParts', fix implementation (72c543f)
- layer-imports: implementation without 'alias' option (db41630)
- normalize-path: don't remove aliases (5e00cae)
- normalizePath: automatic detection of aliases and their removal from the path (c8ff1b2)
- path-checker: checks 'should be absolute' (6510e71)
- path-checker: implementation without 'alias' option (5ba3dac)
- public-api-imports: automatically detect aliases in the path (be743b8)
- public-api-imports: new implementation with auto-detect aliases and working with any paths (1b3e2ad)
- add 'getByRegExp' and 'getAlias' to helpers public api (e71f8aa)
0.0.10 (2023-01-17)
- import-order: disable rule for imports from the same slice (90668ac)
- Revert "refactor(layer-imports): change function canNotImportLayer to canImportLayer, move to global helpers" (284ca0c)
0.0.9 (2023-01-16)
- import-order: throw errors when has lines between groups (38a5420)
0.0.8-beta1 (2023-01-16)
- setup configs (65af4f0)
0.0.8 (2023-01-16)
- setup import-order rule, update docs (b333104)
0.0.7 (2023-01-06)
- public-api-imports: disable for 'app' imports (b5032e9)