Skip to content

3.13.0

Latest
Compare
Choose a tag to compare
@Igorkowalski94 Igorkowalski94 released this 15 Dec 03:11

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],
    },
  },
);