Skip to content

Folder structure validation #29

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .folderslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"root": "src/components",
"rules": [
"core/*",
"shared/*/components",
"shared/*/*/components",
"features/*/components",
"features/*/*/components"
]
}
5 changes: 3 additions & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"*.{js,jsx,ts,tsx}": [
"*.{js,jsx,ts,tsx}": [
"eslint --quiet --fix",
"prettier --write"
"prettier --write",
"folderslint"
]
}
177 changes: 144 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@hookform/error-message": "2.0.0",
"date-fns": "~2.29.3",
"focus-visible": "~5.2.0",
"folderslint": "~1.2.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this maybe a dev dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my bad... but I'll extract ti to nuts-and-bolts

"framer-motion": "~7.5.0",
"http-proxy-middleware": "~2.0.6",
"i18next-chained-backend": "~3.1.0",
Expand Down