]> khamidou — GitHub mirrors - arcanist.git/commit
Always use lint advices
authorvrana <jakubv@fb.com>
Wed, 22 Aug 2012 18:07:41 +0000 (11:07 -0700)
committervrana <jakubv@fb.com>
Wed, 22 Aug 2012 18:49:59 +0000 (11:49 -0700)
commit129339019f73076f3e218725e56ace74d623a7a7
tree60c04ca25e136da3ac3318e94f7b923bcd9667b4
parent29ba92c0c257bdea55e0274a364d9d05459281ae
Always use lint advices

Summary:
We want to have a class of lint problems which are displayed to author and attached to revision but don't require excuse in diff workflow.
Lint advices already serve this purpose but no linters emit them because they need `--advice` flag to be processed.

By always enabling advices, we can switch more linters from warnings to advices and don't stop the diff workflow for them.

This diff also bumps down default severity of TODO rule.

Test Plan: Made lint advice mistake, ran `arc lint`.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, ide, Korvin
Differential Revision: https://secure.phabricator.com/D3364
src/lint/linter/ArcanistXHPASTLinter.php
src/workflow/ArcanistDiffWorkflow.php
src/workflow/ArcanistLintWorkflow.php