Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint-plugin-project-structure v2.3.1 #13

Open
Igorkowalski94 opened this issue Sep 3, 2024 · 1 comment
Open

eslint-plugin-project-structure v2.3.1 #13

Igorkowalski94 opened this issue Sep 3, 2024 · 1 comment

Comments

@Igorkowalski94
Copy link

Igorkowalski94 commented Sep 3, 2024

Hey, a new version has been released. Here is the complete migration guide. Many new features and improvements have been added that you might find interesting.

Thank you for supporting the project.

Here is your configuration after the recent changes:

{
  "structure": [
    { "name": "public", "children": [] },
    {
      "name": "src",
      "children": [
        { "name": "main.tsx" },
        { "name": "assets", "children": [] },
        { "name": "vite-env.d.ts" },
        {
          "name": "components",
          "children": [
            {
              "name": "{PascalCase}",
              "children": [
                { "name": "{FolderName}.tsx" },
                { "name": "{FolderName}(.(test|style|stories))?.(tsx|ts)" }
              ]
            }
          ]
        },
        {
          "name": "routes",
          "children": [
            {
              "name": "{PascalCase}",
              "children": [
                { "name": "{FolderName}.tsx" },
                { "name": "{FolderName}(.(test|style|stories))?.(tsx|ts)" }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "templates",
      "children": [
        { "name": "TemplateName.tsx" },
        { "name": "TemplateName.style.(ts|tsx)" },
        { "name": "TemplateName.test.tsx" },
        { "name": "TemplateName.stories.(ts|tsx)" }
      ]
    },
    { "name": "test-mocks", "children": [] },
    { "name": ".eslintrc.json" },
    { "name": ".babelrc" },
    { "name": ".gitignore" },
    { "name": "generate-react-cli.json" },
    { "name": "index.html" },
    { "name": "jest.config.(js|ts)" },
    { "name": "jest.setup.(js|ts)" },
    { "name": "jest.utils.(ts|tsx)" },
    { "name": "LICENSE" },
    { "name": "package.json" },
    { "name": "package-lock.json" },
    { "name": "project-structure.json" },
    { "name": "README.md" },
    { "name": "tsconfig.json" },
    { "name": "tsconfig.node.json" },
    { "name": "vite.config.ts" },
    { "name": "pull_request_template.md" }
  ]
}
@Igorkowalski94 Igorkowalski94 changed the title eslint-plugin-project-structure v2.2.12 eslint-plugin-project-structure v2.3.1 Sep 5, 2024
@doubleedesign
Copy link
Contributor

Thank you so much for sharing @Igorkowalski94!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants