-
Notifications
You must be signed in to change notification settings - Fork 169
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
Gitignore syntax not fully supported #346
Comments
@ddnexus [contracts] If you want to run solhint on all files: If you want to run solhint on adapters folders and all of subfolders If you want to exclude FOUR.sol and run in all other files: From your post I think you want to put a folder in the .solhintignore and with that notation you want to ignore the whole folder but not the file with the exclamation point, meaning: You want solhint to process only FOUR.sol from adapters folder... |
Yes, that's how gitignore works! Without it you would have to check the structure of |
thanks for the clarification |
BTW, the "file" could also be a pattern itself. |
The pattern to ignore a dir excluding specific files in
.gitignore
does not seem to work:The text was updated successfully, but these errors were encountered: