Skip to content

Releases: Igorkowalski94/eslint-plugin-project-structure

Migration to 1.4.4

29 Aug 10:27
Compare
Choose a tag to compare

1.4.4 adds support for validating multiple structure folders/files.

https://github.com/Igorkowalski94/eslint-plugin-project-structure#structure

Minor configuration tweak required:

From:

    "structure": {
        "name": "src",
        "children": [
           // ...
        ]
    }

To:

    "structure": {
        "children": [
            {
                "name": "src",
                "children": [
                   // ...
                ]
            },
            {
              "extension": "*" // All files located in the root of your project, like package.json, .eslintrc, etc. You can specify them more precisely.
            }
           // ...
        ]
    }