1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 21:52:59 +03:00
Commit Graph

46 Commits

Author SHA1 Message Date
Ayman Nadeem
584bb70afb move hlint to .hlint.yaml 2020-06-10 13:11:07 -04:00
Ayman Nadeem
82c51e1a12 Update .hlint.yaml 2020-02-13 10:28:57 -05:00
Patrick Thomson
de3e46553f Add a message suggesting what to do. 2020-01-16 21:58:21 -05:00
Patrick Thomson
b81d4049c8 Add Hlint rule to disallow the partial decodeUtf8. 2020-01-16 14:24:27 -05:00
Rob Rix
50fb1380da
Correct how we silence a lint. 2019-10-30 14:45:36 -04:00
Rob Rix
fa865e8caf
Disable extensions in the hlint config. 2019-10-30 13:42:53 -04:00
Patrick Thomson
f822bb15c6 Adjust hlint settings for a new (GHC 8.6+) universe. 2019-10-21 14:05:21 -04:00
Jan Hrček
915937c4be Fix some hlint warnings 2019-06-16 13:40:13 +02:00
Rob Rix
87209d3eee
🔥 MiniPython & MiniRuby. 2019-06-05 17:05:14 -04:00
Patrick Thomson
087015073d fix lints 2019-05-21 12:09:42 -04:00
Patrick Thomson
4910363ee7 Never mind; just ignore it in the .hlint file.
I guess we already hit this. I faintly remember something like it.
2019-05-15 18:44:43 -04:00
Patrick Thomson
c7b41a3594 Merge remote-tracking branch 'origin/master' into indexer-prototype-no-sg 2019-02-15 14:05:23 -05:00
Timothy Clem
573e3c0fc7 Fix up linting 2019-02-12 07:58:03 -08:00
joshvera
a4d892811f Merge remote-tracking branch 'origin/master' into indexer-prototype 2019-02-01 16:03:16 -05:00
Patrick Thomson
716da369fe Add fromRight/fromLeft to Prologue and according hlint rules.
These are new in base-4.10; I had no idea they existed until Rob
pointed them out. This adds them to the Prologue and institutes hlint
rules to suggest when we can use them.
2019-01-11 12:49:56 -05:00
Rob Rix
e86ec64c66 Correct the format of the hlint config. 2018-11-05 09:51:56 -05:00
Rob Rix
2ee79706e3 Whitelist attemptUnsafeArithmetic in the hlint config. 2018-11-05 09:51:56 -05:00
Rob Rix
68d87314ce Move the reduce duplication annotation into the hlint config. 2018-11-05 09:51:56 -05:00
Rob Rix
4f92337221 Move the ignore use . annotation into the hlint config. 2018-11-05 09:51:56 -05:00
Rob Rix
1e5920e318 Move the ignore eta reduce thing into the hlint config. 2018-11-05 09:51:04 -05:00
Timothy Clem
ae82756f59 New lint for projectTerm 2018-08-27 14:51:18 -07:00
Rob Rix
279cf3bce5 Ignore the module export list hint. 2018-07-16 09:20:34 -04:00
Rob Rix
1884483753 Bring in the default hints at a higher severity. 2018-07-16 09:20:26 -04:00
Rob Rix
b362ec2e7f 🔥 some pointless notes. 2018-06-19 09:56:05 -04:00
Rob Rix
211110c0f3 Annotate attemptUnsafeArithmetic explicitly. 2018-06-19 09:55:55 -04:00
Rob Rix
3b362ee27d Change the severity of the eta reduce hint. 2018-06-19 09:40:35 -04:00
Rob Rix
992cffa892 Note why we ignore the fmap rule. 2018-06-19 09:30:46 -04:00
Rob Rix
c31e8ca97d Move the TODO onto the same line. 2018-06-19 09:30:25 -04:00
Rob Rix
caf667e1d6 Add the redundant pure hints. 2018-06-19 09:30:05 -04:00
Rob Rix
ea7add7c61 Name the maybeM rule. 2018-06-19 09:29:18 -04:00
Rob Rix
c85d259714 These don’t have to be quoted. 2018-06-19 09:29:13 -04:00
Rob Rix
3a9ed7cd9d Add the maybeM hint. 2018-06-19 09:27:58 -04:00
Rob Rix
276257c71e Restrict fromJust. 2018-06-19 09:27:05 -04:00
Rob Rix
27851eb236 Restrict head/tail/init/last. 2018-06-19 09:26:36 -04:00
Rob Rix
6a43c99e63 Add the warning for termFOut . unTerm. 2018-06-19 09:19:41 -04:00
Rob Rix
7212b164bd Name the termAnnotation hint. 2018-06-19 09:19:09 -04:00
Rob Rix
a4d76c873c Add the rest of the AMP fallout warnings, plus ones for sequenceA. 2018-06-19 09:18:49 -04:00
Rob Rix
e59cac0267 Add comments grouping warnings. 2018-06-19 09:16:56 -04:00
Rob Rix
4732d46bdb Add the hint about termAnnotation. 2018-06-19 09:16:29 -04:00
Rob Rix
db9c37973b Add our return/pure hint. 2018-06-19 09:15:50 -04:00
Rob Rix
0960e86093 Ignore some hints by default. 2018-06-19 09:15:36 -04:00
Rob Rix
fa42756676 Enable the generalization hints. 2018-06-19 09:15:26 -04:00
Rob Rix
33b045add1 Enable the dollar hints. 2018-06-19 09:15:14 -04:00
Rob Rix
e3ae8cae89 Blacklist unsafePerformIO & unsafeCoerce by default. 2018-06-19 09:15:07 -04:00
Rob Rix
4099b3ec4d Tell hlint about our language extensions. 2018-06-19 09:14:55 -04:00
Rob Rix
9d6c0f16a2 Stub in an hlint config file. 2018-06-19 09:14:46 -04:00