aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints
Commit message (Collapse)AuthorAgeFilesLines
* raise, don't fix for empty_let_in with commentsAkshay2022-06-041-6/+7
|
* do not raise empty-let when comments are presentfix/empty-let-in-commentAkshay2022-06-041-0/+8
|
* useless_has_attr: do not parenthesize select expressions in fixesAkshay2022-02-201-1/+2
| | | | | `select` expresisons are more tightly binding than `or` expressions, we do not have to parenthesize them when placed next to an `or`.
* new lint: useless_has_attrAkshay2022-02-201-0/+83
|
* new lint: bool_simplificationAkshay2022-02-201-0/+61
| | | | TODO: add more patterns to this
* new lint: deprecated_to_pathAkshay2022-01-301-0/+59
|
* new lint: faster_zipattrswithAkshay2022-01-301-0/+72
|
* bump rnix to latest master, support nix 2.5 syntaxAkshay2022-01-292-2/+4
|
* do not raise empty_pattern on nixos modulesAkshay2022-01-291-7/+29
|
* refactor parsing code, simplify testsAkshay2022-01-141-2/+2
|
* allow for version based lintsAkshay2022-01-0815-28/+100
|
* new lint: empty_inheritAkshay2021-12-041-0/+53
|
* introduce --config flagAkshay2021-11-2812-12/+12
|
* add snapshot test suitesnapshot-testsAkshay2021-11-081-3/+7
|
* add missing explanation to deprecated_is_nullAkshay2021-11-041-0/+19
|
* new lint: deprecated_is_nullAkshay2021-11-041-0/+41
|
* new lint: unquoted_uriAkshay2021-11-021-0/+63
|
* apply clippy lintsfigsoda2021-11-022-3/+3
|
* fix testsfigsoda2021-11-0111-22/+22
|
* add `explain` subcommand and explanations to all lintsAkshay2021-10-3111-31/+291
|
* filter out invalid eta-reductionsDaniel Thwaites2021-10-291-4/+13
| | | | | if the remaining expression after eta-reduction still contains the removed function argument, eta-reduction is not possible.
* improve json outputAkshay2021-10-281-0/+1
| | | | | The `at` field now includes a `from` and `to` position with line and column information, instead of a [usize; 2].
* fix fp with manual_inherit and manual_inherit_fromAkshay2021-10-282-10/+10
| | | | | | the lint also needed to validate if the length of the path component was exactly one, and not just check if the first component matches the value.
* add 3 new lints, bump to v0.2.3v0.2.3Akshay2021-10-273-0/+111
| | | | | | - empty_pattern - redundant_pattern_bind - unquoted_splice
* fix useless_parens: lint on idents as wellAkshay2021-10-231-0/+1
|
* minor refactorAkshay2021-10-193-6/+5
|
* rework few error messagesAkshay2021-10-193-4/+4
|
* new lint: useless_parensAkshay2021-10-151-0/+99
|
* new lint: eta_reductionAkshay2021-10-081-0/+51
|
* consistent namingAkshay2021-10-034-8/+8
|
* new lint: collapsible_let_inAkshay2021-10-031-0/+60
|
* new lint: legacy_let_syntaxAkshay2021-10-021-0/+55
|
* new lint: manual_inherit_fromAkshay2021-10-022-1/+50
|
* new lint: manual_inheritAkshay2021-10-022-2/+44
|
* new lint: empty-let-inAkshay2021-10-021-0/+42
|
* add error code and report codegen, document a bitAkshay2021-09-211-4/+2
|
* add suggestion to bool_comparisonAkshay2021-09-211-34/+54
|
* implement lint_mapAkshay2021-09-151-4/+4
|
* add demo lint: bool_comparisonAkshay2021-09-131-0/+78