Added
- feat: Support multiple levels of categorization and any type of project structure (#75)
- feat: Support elements as files (#75)
- feat(settings): Added support for
import/resolversetting - feat(options): Support micromatch patterns in rules options (#11, #10)
- feat: Add debug mode
- test: Add more than 500 tests using different project structure examples, with different categorization levels, elements as folders, as files, etc.
- test: Add one test for each rules docs example
- chore: Run tests on Windows OS again (#74)
Changed
- feat(settings): Deprecated
boundaries/typessetting.boundaries/elementsshould be used instead. If it is not present,boundaries/typeswill be used as fallback - feat(rules): Rename
allowed-typesrule intoelement-types(now it can be used to allow/disallow). Change the format of rule options - feat(rules): Rename
no-externalrule intoexternal(now it can be used to allow/disallow). Change the format of rule options - feat(rules): Change the format of
entry-pointrule options (now it support allow/disallow format) - feat(rules): Rename
no-import-ignoredrule intono-ignored(the majority of the plugin rules are referred toimportstatements, so it is not necessary to specify it in the rule name) - feat(rules): Rename
no-import-not-recognized-typesrule intono-unknown - feat(rules): Rename
prefer-recognized-typesrule intono-unknown-files - refactor(core): Use
eslint-module-utils/resolveto get files and import paths. Usemicromatchto match settings and options. Adapt the whole core to this new approach
Fixed
- fix: Support scoped packages in external rule (#59)
Removed
- feat(settings): Removed
boundaries/aliassetting
BREAKING CHANGES
- Removed
boundaries/aliassetting.import/resolverhas to be used instead - Renamed
allowed-typesrule intoelement-types(now it can be used to allow/disallow). Changed the format of rule options - Changed the format of
entry-pointrule options (now it support allow/disallow format) - Renamed
no-externalrule intoexternal(now it can be used to allow/disallow). Changed the format of rule options - Renamed
no-import-ignoredrule intono-ignored(the majority of the plugin rules are referred toimportstatements, so it is not necessary to specify it in the rule name) - Renamed
no-import-not-recognized-typesrule intono-unknown - Renamed
prefer-recognized-typesrule intono-unknown-files
Read the migration guide for further info about how to migrate your v1.x configuration