-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
Local setting of SwiftLint #96
Comments
As already said on Discord, my opinion: Locally I'd prefer to not have strict mode enabled since it's more convenient to test/implement things without fixing small syntax inconsistencies. Once you are ready to commit you should then resolve all the warnings. But I'm open to other's opinions. |
I think it is a good idea, to set the local environment to strict. while in development you can always use:
Maybe it's a good idea to implement something like remove_todos.sh to check for personally i think |
Good point. I agree |
What about adding a pre-commit hook to forbid commit if |
Yes and no, |
A agree with @wdg. I think no one will commit a build containing errors. And even if so we still have the workflow as a safe guard. |
Now the Github Action's lint is strict mode but not local. Should we open strict mode local too?
And do we need adding a SwiftLint pre-commit hook to check before commit?
The text was updated successfully, but these errors were encountered: