Skip to content
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

Ability to disallow folder #17

Open
isBatak opened this issue Oct 19, 2022 · 2 comments · May be fixed by #18
Open

Ability to disallow folder #17

isBatak opened this issue Oct 19, 2022 · 2 comments · May be fixed by #18

Comments

@isBatak
Copy link

isBatak commented Oct 19, 2022

Is it possible to disallow some folder structures?
For example:

{
	"root": "src",
	"rules": [
	        // disallow components folder in the second level of folders
		"!shared/*/components",
		// allow components folder in the third level of folders
		"shared/*/*/components",
	]
}
@isBatak isBatak linked a pull request Oct 20, 2022 that will close this issue
@isBatak
Copy link
Author

isBatak commented Dec 13, 2022

@denisraslov could you maybe check the PR I sent?

@Igorkowalski94
Copy link

It seems that package is no longer maintained. As an alternative you can use https://github.com/Igorkowalski94/eslint-plugin-project-structure has the same capabilities + force only folders/files, has a built-in case for name, and the ability to inherit the name from the parent and eslint realtime errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants