Skip to content

Releases: Igorkowalski94/eslint-plugin-project-structure

3.13.0

15 Dec 03:11
Compare
Choose a tag to compare

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

08 Dec 12:57
Compare
Choose a tag to compare

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

05 Dec 09:30
Compare
Choose a tag to compare

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 and pages directories in Next.js.

v3.10.11

05 Dec 00:30
Compare
Choose a tag to compare

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

04 Dec 23:24
Compare
Choose a tag to compare

project-structure/folder-structure

Changes:

  • The improved sorting algorithm for children.

v3.10.9

04 Dec 10:38
Compare
Choose a tag to compare

project-structure/independent-modules

Bug fixes:

  • From now on, it is no longer required for tsconfig.json to include compilerOptions.

v.3.10.8

04 Dec 15:23
Compare
Choose a tag to compare

project-structure/independent-modules

Bug fixes:

v3.10.7

04 Dec 00:19
Compare
Choose a tag to compare

project-structure/folder-structure

Bug fixes:

v3.10.6

28 Nov 14:29
Compare
Choose a tag to compare

project-structure/independent-modules

Bug fixes:

  • Fixed algorithm for checking whether a given import is an external module.

v3.10.5

28 Nov 11:22
Compare
Choose a tag to compare

project-structure/independent-modules

Bug fixes:

  • Fixed algorithm for checking whether a given import is an external module.