Commit Graph

316 Commits

Author SHA1 Message Date
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