4 ms·
What is the command for only running the native linters?
by BuuQu9hu 10y ago
What is the command for only running the native linters?
- adtac 10y agoThere isn't really a command for just native linters - there is practically no difference between a native one and an external one. You could take a look at the list of bears we support[1] (a bear is basically a plugin) though. [1] https://github.com/coala/bear-docs https://github.com/coala/bear-docs
- BuuQu9hu 10y agoIs 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.