Skip to content

Commit

Permalink
2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Igorkowalski94 committed Sep 27, 2024
1 parent 9229337 commit 5f1dbab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

🎮[Playground](https://github.com/Igorkowalski94/eslint-plugin-project-structure-playground#root) for eslint-plugin-project-structure rules.

Check the latest [releases](https://github.com/Igorkowalski94/eslint-plugin-project-structure/releases) and stay updated with new features and changes.

Become part of the community!<br>
Leave a ⭐ and share the link with your friends.<br>

Expand Down Expand Up @@ -73,6 +75,7 @@ where removing or editing one feature triggers a chain reaction that impacts the

- Creating independent modules in which you control what can be imported (e.g. types, functions, components of one functionality cannot be imported into another functionality).
- The ability to create very detailed rules, even for nested folder structures. Whether it's a large module, a sub-module, or a single file, there are no limitations.
- Support for all types of imports, including `require()`, `import()`, `jest.mock()`, and `jest.requireActual()`, as well as `ExportAllDeclaration` and `ExportNamedDeclaration`.
- Disabling external imports (node_modules) for a given module (Option to add exceptions).
- Non-relative/relative imports support.
- Support for imports without extension.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Igor Kowalski (Igorkowalski94)",
"name": "eslint-plugin-project-structure",
"version": "2.7.1",
"version": "2.7.2",
"license": "MIT",
"description": "ESLint plugin with rules to help you achieve a scalable, consistent, and well-structured project. Define your folder structure, advanced naming conventions, file composition, and create independent modules. react folder structure react file structure react project structure react conventions architecture react next.js angular node solid vue svelte",
"keywords": [
Expand Down Expand Up @@ -81,7 +81,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-project-structure": "2.7.0",
"eslint-plugin-project-structure": "2.7.1",
"husky": "^9.1.6",
"jest": "^29.7.0",
"prettier": "^3.3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const validateLongPath = ({

const pathMaxLength = longPathsInfo?.maxLength ?? 240;

if (currentPath.length < pathMaxLength) return;
if (currentPath.length <= pathMaxLength) return;

if (longPathsInfo === undefined || longPathsInfo.mode === "warn")
// eslint-disable-next-line no-console
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2832,16 +2832,16 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-project-structure@npm:2.7.0":
version: 2.7.0
resolution: "eslint-plugin-project-structure@npm:2.7.0"
"eslint-plugin-project-structure@npm:2.7.1":
version: 2.7.1
resolution: "eslint-plugin-project-structure@npm:2.7.1"
dependencies:
"@typescript-eslint/utils": ^8.7.0
comment-json: ^4.2.5
js-yaml: ^4.1.0
jsonschema: ^1.4.1
micromatch: ^4.0.8
checksum: 0621b2208e3df6510414222f704e8eefde7ea6a43b46422c26d9ee85637839961856d5f7559e423bb6040000c062892ec91b904e5e18b9b96ad14e8771037daf
checksum: 61a7f6e75572d1a96baa75e09289b1800849df6d60dbb85272cbabefe21b0b8ed0b2cac2d38d7c5e04b506a1dc394ac5df234f18522e0911e6c30378a4e12fac
languageName: node
linkType: hard

Expand All @@ -2862,7 +2862,7 @@ __metadata:
eslint-config-prettier: ^9.1.0
eslint-plugin-import: ^2.30.0
eslint-plugin-prettier: ^5.2.1
eslint-plugin-project-structure: 2.7.0
eslint-plugin-project-structure: 2.7.1
husky: ^9.1.6
jest: ^29.7.0
js-yaml: ^4.1.0
Expand Down

0 comments on commit 5f1dbab

Please sign in to comment.