Releases: Igorkowalski94/eslint-plugin-project-structure
Releases · Igorkowalski94/eslint-plugin-project-structure
3.13.0
eslint-plugin-project-structure
New features:
- The ability to change the location of the
projectStructure.cache.json
file generation.
export default tseslint.config(
{
files: ["**"],
ignores: ["projectStructure.cache.json"],
languageOptions: { parser: projectStructureParser },
plugins: {
"project-structure": projectStructurePlugin,
},
settings: {
// If you want to change the location of generating the projectStructure.cache.json file.
"project-structure/cache-location": "./src/cats",
},
rules: {
"project-structure/folder-structure": ["error", folderStructureConfig],
},
},
);
v3.12.0
eslint-plugin-project-structure
New features:
- If the library does not detect a
node_modules
directory, it will treat the current working directory (cwd
) as the projectRoot.
project‑structure/independent‑modules
New features:
- Support for URL imports: if an import starts with
https://
, it will automatically be recognized as an external import.
v3.11.0
project-structure/independent-modules
New features:
- {family} and {dirname} now have full support for folder names using special characters from micromatch - Full support for
app
andpages
directories in Next.js.
v3.10.11
project-structure/independent-modules
Changes:
- {family} and {dirname} will automatically change the brackets from special micromatch characters to regular characters. (Next.js app folder support)
v3.10.10
v3.10.9
project-structure/independent-modules
Bug fixes:
- From now on, it is no longer required for
tsconfig.json
to includecompilerOptions
.
v.3.10.8
project-structure/independent-modules
Bug fixes:
v3.10.7
project-structure/folder-structure
Bug fixes:
- [BUG] Impossible to use regex and {kebab-case} for name in folder structure #25 Fixed the
isRegex
function, which was incorrectly treating folders with names containing-
or_
as regex.
v3.10.6
project-structure/independent-modules
Bug fixes:
- Fixed algorithm for checking whether a given import is an external module.
v3.10.5
project-structure/independent-modules
Bug fixes:
- Fixed algorithm for checking whether a given import is an external module.