Commit Graph

65 Commits

Author SHA1 Message Date
Jeroen Engels
7912badedd Stop importing everything from Html 2019-07-24 18:12:35 +02:00
Jeroen Engels
6f26e13714 Remove rule DefaultPatternPosition
The compiler now forbids redundant patterns 👍
2019-07-08 22:23:27 +02:00
Jeroen Engels
3f6cc7c3e7 Add rule NoUnusedTypeConstructors 2019-07-05 01:21:30 +02:00
Jeroen Engels
3b5c187574 TMP: Add import exeptions 2019-07-03 18:26:53 +02:00
Jeroen Engels
40cd1ed5ed Generate and configuration as Elm code from the configuration in the example 2019-07-03 18:25:11 +02:00
Jeroen Engels
a67ff9f6b8 Allow the configuration of the rules in the example 2019-07-03 17:47:41 +02:00
Jeroen Engels
fec6420f50 Move RuleError to Lint.elm and rename it to LintError 2019-07-03 13:27:33 +02:00
Jeroen Engels
d23ba4a0a5 Move Rule definition to Lint.Rule 2019-06-25 23:51:43 +02:00
Jeroen Engels
692ebf2406 Simplify DefaultPatternPosition's configuration 2019-06-25 23:51:43 +02:00
Jeroen Engels
19ffc231fd Reorganized example 2019-06-24 01:20:10 +02:00
Jeroen Engels
507dc5f02e Rename Msg name in example 2019-06-24 01:14:30 +02:00
Jeroen Engels
8d3aee574a Make example a bit prettier 2019-06-24 01:11:18 +02:00
Jeroen Engels
8b2cdc9935 Refactor the example a bit 2019-06-24 01:11:05 +02:00
Jeroen Engels
bf8c6a4b76 Add rule NoExtraBooleanComparison 2019-06-24 00:49:58 +02:00
Jeroen Engels
3162a8bb68 Remove the need to specify error names when creating an error 2019-06-24 00:49:58 +02:00
Jeroen Engels
ede98bc179 Re-add DefaultPatternPosition 2019-06-08 23:12:55 +02:00
Jeroen Engels
21411aaf8c Re-add NoImportingEverything 2019-06-03 00:30:24 +02:00
Jeroen Engels
c7816e002b Add now.json in example 2019-06-02 23:06:08 +02:00
Jeroen Engels
06d6e5f247 Add NoUnusedVariables rule 2019-06-02 23:06:08 +02:00
Jeroen Engels
5236dea4d7 Module renaming 2018-11-11 00:10:35 +01:00
Jeroen Engels
c559bd94b8 Modules reordering 2018-11-10 23:38:12 +01:00
Jeroen Engels
66f73b625c Add range information to linting errors 2018-11-06 13:15:23 +01:00
Jeroen Engels
4be496579c Make example easier to use 2018-11-06 13:08:20 +01:00
Jeroen Engels
ee482cd0aa Update example to use new parser 2018-11-05 19:30:47 +01:00
Jeroen Engels
6cb6335e0e Update example/ dependencies 2018-11-05 19:12:38 +01:00
Jeroen Engels
f274a5008f Upgrade example/ to 0.19 2018-11-05 19:06:03 +01:00
Jeroen Engels
4e4a315ffe Remove rules 2018-11-05 19:00:37 +01:00
Jeroen Engels
a16c660048 elm-format 2018-11-05 18:59:42 +01:00
Jeroen Engels
45b697cfe4 Update dependencies for the example. 2017-06-19 00:24:36 +02:00
Jeroen Engels
c39f700360 Simplify Visitor 2017-06-18 21:48:36 +02:00
Jeroen Engels
1477fe856d Dogfeeding: cleaning up 2017-06-18 20:58:08 +02:00
Jeroen Engels
11b37494a9 Add rule ElmTest.NoDuplicateTestBodies 2017-06-18 20:58:08 +02:00
Jeroen Engels
aab4379e78 Add ability to specify exceptions in NoImporting 2017-06-18 16:52:52 +02:00
Jeroen Engels
9536c1cb6f Do not reparse source for every rule 2017-06-17 11:56:34 +02:00
Jeroen Engels
c4974111fb Failure to parse now returns an error 2017-06-13 01:31:10 +02:00
Jeroen Engels
5eee6e50e1 Add SimplifyPropertyAccess rule 2017-06-11 19:43:02 +02:00
Jeroen Engels
70ac690a90 Ignore -- xyz comments that are not supported by the parser 2017-06-11 18:35:40 +02:00
Jeroen Engels
e32f51e62f Add lintSource function that lints a file with a list of rules 2017-01-29 21:49:05 +01:00
Jeroen Engels
0710792368 Add documentation 2017-01-29 21:35:00 +01:00
Jeroen Engels
fc93fad157 Reorganize project file structure 2017-01-29 20:03:31 +01:00
Jeroen Engels
da3f260ece Add NoNestedLet rule 2017-01-24 23:33:16 +01:00
Jeroen Engels
a9b17d8bfa Add NoUselessIf rule 2017-01-23 20:09:37 +01:00
Jeroen Engels
2b3a3e5a88 Add DefaultPatternPosition rule 2017-01-22 23:50:00 +01:00
Jeroen Engels
fb59dfc294 Add NoWarningComments rule 2017-01-22 23:09:54 +01:00
Jeroen Engels
4fc47e93e6 Add NoUselessPatternMatching rule 2017-01-22 13:08:15 +01:00
Jeroen Engels
9dd2456bb0 Add NoConstantCondition rule 2017-01-21 15:40:06 +01:00
Jeroen Engels
73a82c63c2 Remove unused import 2017-01-21 13:39:33 +01:00
Jeroen Engels
65ed24f942 Add SimplifyPiping rule 2017-01-21 01:25:38 +01:00
Jeroen Engels
6ef2ee0d94 Make AST rendering less cluttered 2017-01-19 23:56:49 +01:00
Jeroen Engels
72c4add26b Display "helpful" error message when code could not be parsed 2017-01-19 22:38:46 +01:00