Commit Graph

282 Commits

Author SHA1 Message Date
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
Jeroen Engels
c7de6956be Fix NoDuplicateImports bug when importing submodules 2017-01-19 22:30:50 +01:00
Jeroen Engels
a793e30c56 Add NoImportingEverything rule 2017-01-19 22:27:11 +01:00
Jeroen Engels
9c13d065e1 Add NoDuplicateImports rule 2017-01-19 21:02:21 +01:00
Jeroen Engels
e37eb1a206 Add README 2017-01-18 17:31:25 +01:00
Jeroen Engels
98e79442a8 Simplify NoDebug 2017-01-17 23:32:30 +01:00
Jeroen Engels
76be1cc6c1 Example: Show message when no errors were found 2017-01-17 00:00:28 +01:00
Jeroen Engels
e2cf51dbcf Add NoUnusedVariables rule 2017-01-16 23:34:05 +01:00
Jeroen Engels
33ba0246f0 Tests styling 2017-01-16 21:40:22 +01:00
Jeroen Engels
72ab86cde6 Add tests for NoDebug and visit all expression types 2017-01-16 00:51:31 +01:00
Jeroen Engels
0db86da1aa Rename FindNoAnnotatedFunction to NoUnannotatedFunction 2017-01-16 00:18:17 +01:00
Jeroen Engels
f33f613c14 Add Tests 2017-01-16 00:07:04 +01:00
Jeroen Engels
9a5718ba06 Make type Error contain the rule name 2017-01-15 23:30:33 +01:00
Jeroen Engels
c52c169572 Changed rule signature to be able to make a list of rules 2017-01-15 23:24:37 +01:00
Jeroen Engels
c6ab2b4b8a Improve example visual (a bit) 2017-01-15 22:57:03 +01:00
Jeroen Engels
27225b40fb Make lint take in a String rather than a list of statements 2017-01-09 22:13:27 +01:00
Jeroen Engels
bb05a3edf0 Separate visitor creation logic in its own file 2017-01-09 21:22:10 +01:00
Jeroen Engels
b3b5a49429 Add special ModelEndFn visitor 2017-01-08 16:24:59 +01:00
Jeroen Engels
5e25a994cb Separate visitors into Enter and Exit types 2017-01-08 15:54:10 +01:00
Jeroen Engels
9ebb4ac7d4 Add NoExposingEverything rule 2017-01-08 11:44:37 +01:00
Jeroen Engels
af030b9e7b Try to make visits simpler 2017-01-08 11:05:48 +01:00
Jeroen Engels
a491c97059 Compute visitors only once for a given input 2017-01-08 10:58:45 +01:00
Jeroen Engels
3c27a18207 Add FindNoAnnotatedFunction rule 2017-01-08 10:51:25 +01:00
Jeroen Engels
a0e532c07b Add NoDebug rule 2017-01-07 21:17:12 +01:00
Jeroen Engels
bd1b3dec99 Update example page to display errors 2017-01-07 20:58:41 +01:00
Jeroen Engels
8d266c7e2f Create LintRule definition and simple implementation 2017-01-07 19:34:33 +01:00
Jeroen Engels
81feaf4ef3 Init project and copy example from bogdanp/elm-ast 2017-01-07 18:30:16 +01:00