-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
156 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
examples/kitchen-sink-of-fsd-issues/reference-output-ubuntu-latest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[ | ||
{ | ||
"message": "Forbidden import from higher layer \"app\".", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/api/getUser.ts" | ||
}, | ||
"ruleName": "fsd/forbidden-imports", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Inconsistent pluralization of slice names. Prefer all plural names", | ||
"fixes": [ | ||
{ | ||
"type": "rename", | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user", | ||
"newName": "users" | ||
} | ||
], | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities" | ||
}, | ||
"ruleName": "fsd/inconsistent-naming", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "This slice has no references. Consider removing it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/users" | ||
}, | ||
"ruleName": "fsd/insignificant-slice", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "This slice has no references. Consider removing it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user" | ||
}, | ||
"ruleName": "fsd/insignificant-slice", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Forbidden sidestep of public API when importing from \"@/app/ui/App\".", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/api/getUser.ts" | ||
}, | ||
"ruleName": "fsd/no-public-api-sidestep", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Having a folder with the name \"api\" inside a segment could be confusing because that name is commonly used for segments. Consider renaming it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/ui/api" | ||
}, | ||
"ruleName": "fsd/no-reserved-folder-names", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Layer \"app\" should not have \"ui\" segment.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/app/ui" | ||
}, | ||
"ruleName": "fsd/no-ui-in-app", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Layer \"processes\" is deprecated, avoid using it", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/processes" | ||
}, | ||
"ruleName": "fsd/no-processes", | ||
"severity": "error" | ||
} | ||
] |
73 changes: 73 additions & 0 deletions
73
examples/kitchen-sink-of-fsd-issues/reference-output-windows-latest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[ | ||
{ | ||
"message": "Forbidden import from higher layer \"app\".", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/api/getUser.ts" | ||
}, | ||
"ruleName": "fsd/forbidden-imports", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Inconsistent pluralization of slice names. Prefer all plural names", | ||
"fixes": [ | ||
{ | ||
"type": "rename", | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user", | ||
"newName": "users" | ||
} | ||
], | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities" | ||
}, | ||
"ruleName": "fsd/inconsistent-naming", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "This slice has no references. Consider removing it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/users" | ||
}, | ||
"ruleName": "fsd/insignificant-slice", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "This slice has no references. Consider removing it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user" | ||
}, | ||
"ruleName": "fsd/insignificant-slice", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Forbidden sidestep of public API when importing from \"@/app/ui/App\".", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/api/getUser.ts" | ||
}, | ||
"ruleName": "fsd/no-public-api-sidestep", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Having a folder with the name \"api\" inside a segment could be confusing because that name is commonly used for segments. Consider renaming it.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/entities/user/ui/api" | ||
}, | ||
"ruleName": "fsd/no-reserved-folder-names", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Layer \"app\" should not have \"ui\" segment.", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/app/ui" | ||
}, | ||
"ruleName": "fsd/no-ui-in-app", | ||
"severity": "error" | ||
}, | ||
{ | ||
"message": "Layer \"processes\" is deprecated, avoid using it", | ||
"location": { | ||
"path": "/home/runner/work/steiger/steiger/examples/kitchen-sink-of-fsd-issues/src/processes" | ||
}, | ||
"ruleName": "fsd/no-processes", | ||
"severity": "error" | ||
} | ||
] |