coala 0.9.0 - GlobalBear
This release, we had 40 different contributors, pushing almost 200 commits.
To get a quick overview over the current state of all bears, check out
https://coala.io/languages. We added a number of asciinemas so you can see
them in action right away.
Here are the important changes and additions, of course coala was upgraded to
0.9 so you can enjoy all it's new features and bugfixes:
New Bears:
Language Independent:
QuotesBear- Checks and corrects your quoting style for any language!SpellCheckBear- Checks for english spelling mistakes in any source code.
Python:
MypyBear- Checks Python code for typing using Mypy!BanditBear- Checks Python code for security issues.PEP8NotebookBear- Autocorrects formatting for Python code in Jupyter
Notebooks.PySafetyBear- Checks for known security vulnerabilities of your Python
requirements.PinRequirementsBear- Checks if Python requirements are pinned precisely.PycodestyleBear- Checks Python coding style with better error messages
and reliability thanPEP8Bear, however without automatic correction.
Others:
PHPCodeSnifferBear- Ensures that your PHP, JavaScript or CSS code remains
clean and consistent.Jinja2Bear- Detects and fixes formatting issues in Jinja2 templates.RSTcheckBear- Checks reStructuredText for formatting and syntax.PuppetLintBear- Checks and autocorrects puppet configuration files.CSVLintBear- Checks syntax of CSV files.
Bears with New Settings:
You can look up the new settings at https://coala.io/languages.
InvalidLinkBearGitCommitBearYapfBearSCSSLintBear
Deleted Settings:
CSecurityBeardoes not accept aneverignoresetting anymore. Those kinds
of issues are and should be consistently handled by coala.
Deprecated Settings:
- The
ignore_regexsetting fromInvalidLinkBearwas deprecated in favour of
link_ignore_regexfor more clarity in coafiles. KeywordBearaccepts only onekeywordsargument. Theci_keywordsand
cs_keywordsarguments have been deprecated.JSHintBearprovides anes_versionargument that implies the
use_es6_syntaxargument. The latter has been deprecated in favour of the
former.JSHintBearprovides a more flexiblejavascript_strictnessargument
instead of theallow_global_strictwhich has been deprecated.RuboCopBearusesnaming_conventioninstead ofname_casenow.
Other Bear Enhancements:
- The
coala-bearspackage does no longer require Java upon installation. VultureBearpicks up global dependencies.ESLintBearshows errors asWARNINGin coala. This simplifies debugging
bad ESLint configurations.KeywordBearcan now automatically remove TODO comments for any language
coala hasLanguagedefinitions for.FilenameBearsupports thespacecaseconvention.KeywordBearchecks fortodoandfixmeby default.GitCommitBearhas improved result messages.YAMLLintBeardoes not check fordocument-startby default. This was not
a commonly chosen setting.YapfBearwill pass files in-memory to save precious IO time.
Major API Changes:
- The bears testing modules were moved to the coalib and are deprecated.
Bug Fixes:
AnnotationBearyields aHiddenResultwith an error message instead of
raising an exception, when the desired language is not available.AnnotationBearyields correct results for escaped strings.
(#993)AnnotationBearyields correct results for rare corner cases of multiline
strings. (#1006)- An issue where
LatexLintBearcrashed has been resolved.
(#317) InvalidLinkBearparses links within backticks properly. It also ignores
links with placeholders like%sand others.InvalidLinkBearignores FTP links.
(#906)DartLintBearemits an error when it cannot satisfy given settings.
(#897)CheckstyleBearemits an error when it cannot satisfy given settings.
(#898)CheckstyleBear: preset configurationsgoogleandsunare no longer
downloaded. (#1034)YAMLLintBearpicks up the configuration properly.
(#979)JavaPMDBearworks correctly on Mac now.
(#998)- The dependencies of the following bears were bumped due to upstream
bugfixes:AlexBearCPPCleanBearESLintBearMarkdownBearProseLintBearYapfBear
Internal Changes:
- All bears use the new
linterAPI now.