-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature request: lint all files if .editorconfig changes #45
Comments
That sounds like a scenario where you'd just want to run Style settings can be in |
The use case is a CI/CD check, to ensure if you make settings changes, everything has been formatted to match the new settings. At the moment, I have to test for changes to It's definitely a nice to have, but I think of ReGitLint as providing all the interaction with git required to run |
Understand the problems for people not using |
In my experience, there's usually additional scripting needed. Examples here and here. Actually the story is worse. Resharper can be combined with StyleCop, which has its own config file and potentially affects formatting rules. The same applies to MSBuild variables in .csproj files or .props/.target files (example here). If you're using Rider and Resharper within the same team, additional Rider settings are needed to bring them in sync, example here. The way I see it, ReGitLint is a simple tool for a simple job: execute an external cleanup tool, just passing it the set of changed files that git reports. ReGitLint is agnostic about how/where that cleanup process is configured. The advantage of that is that it doesn't need to be kept up-to-date when those things change. @sethreno Thoughts? |
If a change is made to .editorconfig provide an option to lint all files, not just changed files.
The text was updated successfully, but these errors were encountered: