Releases: Igorkowalski94/eslint-plugin-project-structure
Releases · Igorkowalski94/eslint-plugin-project-structure
v3.8.1
project‑structure/independent-modules
Bug fixes:
- The path aliases will now work correctly when a relative path is provided in paths, for example.
{
"paths": {
"@/*": ["./src/*"]
}
}
v3.8.0
eslint-plugin-project-structure
New features:
- The library has supported comments in
.json
files for some time, but some IDEs flagged them as errors. That's why I added support for.jsonc
files in version 3.8.0 to resolve this issue.
v3.7.2
eslint-plugin-project-structure
New features
- Creating
index.js
andindex.mjs
during the build process (support for bothcjs
andesm
).
v3.7.1
v3.7.0
project‑structure/file‑composition
New features:
- Now it is possible to disable the default positionIndex sorting by setting
positionIndex.sorting = "none"
if your selectors with non-unique names are not hoisted.
v3.6.0
project‑structure/file‑composition
New features:
- Now the positionIndex will support selectors with non-unique names. They will be sorted alphabetically by default, taking numbers into account.
- positionIndex errors will display the exact line where they should be located.
v3.5.3
project‑structure/file‑composition
Bug fixes:
- Fixing the behavior of the positionIndex for the
variableExpression
withlimitTo
.
v3.5.2
project‑structure/file‑composition
Bug fixes:
- Fixing the behavior of a negative positionIndex for an index greater than the maximum number of selectors in the file.
v3.5.1
project‑structure/file‑composition
Bug fixes:
- Fixing the dynamic positionIndex after introducing the negative positionIndex.
v3.5.0
project‑structure/file‑composition
New features:
- Now the positionIndex can be negative, allowing for the determination of positions from the end. -1 indicates the last position in the file, -2 indicates the second-to-last position in the file, and so on.
Bug fixes: