3 ms·
Is there a way to disable the non-native linters?
by BuuQu9hu 10y ago
Is there a way to disable the non-native linters?
- adtac 10y agoYou can specify exactly which linters you want though a coafile (a config file). For example, we have something called a GitCommitBear that lints your git commit messages. It's entirely written by us. You can use just that bear: [Commit] bears = GitCommitBear shortlog_trailing_period = False # disallow periods at the end of the shortlog You can have other sections too (imagine the following section is in the same file as the above): [LineLength] bears = LineLengthBear files = *.py max_line_length = 80 Again, LineLengthBear is a native solution. Of course, you can also combine native and external linters in the same section - they are virtually the same to the user.
- BuuQu9hu 10y agoHmm, was thinking something command-line would be easier.