Commit Graph

373 Commits

Author SHA1 Message Date
Jeroen Engels
11b37494a9 Add rule ElmTest.NoDuplicateTestBodies 2017-06-18 20:58:08 +02:00
Jeroen Engels
966a0de116 Remove useless pattern matching in NoUselessPatternMatching... 2017-06-18 17:05:43 +02:00
Jeroen Engels
aab4379e78 Add ability to specify exceptions in NoImporting 2017-06-18 16:52:52 +02:00
Jeroen Engels
0503e66803 Make NoExposingEverything handle module with a dotted name 2017-06-18 14:33:04 +02:00
Jeroen Engels
60b7ee4710 Make NoUnusedVariables handle port module declarations 2017-06-18 14:25:43 +02:00
Jeroen Engels
6ee43b9d84 Make NoExposingEverything handle port module declarations 2017-06-18 14:16:41 +02:00
Jeroen Engels
f663aad6fc Re-enable disabled test 2017-06-18 14:06:36 +02:00
Jeroen Engels
5bc6607750 Add missing documentation 2017-06-18 14:05:05 +02:00
Jeroen Engels
8eb386695a Update to elm-test v4 2017-06-18 14:00:48 +02:00
Jeroen Engels
28626576b5 Update tests to work with type updates 2017-06-18 13:49:31 +02:00
Jeroen Engels
275b0b9bd0 Create formatter type 2017-06-17 17:35:03 +02:00
Jeroen Engels
9536c1cb6f Do not reparse source for every rule 2017-06-17 11:56:34 +02:00
Jeroen Engels
7f37ee4c68 Remove lintingDir 2017-06-17 09:21:15 +02:00
Jeroen Engels
0470d19af8 Update LintConfig 2017-06-16 19:08:25 +02:00
Jeroen Engels
3e45d6ac22 Remove console.log 2017-06-16 18:27:26 +02:00
Jeroen Engels
166699e294 Remove lodash dependency 2017-06-16 18:19:37 +02:00
Jeroen Engels
f15c3d0374 Add support for associating a severity to a rule 2017-06-16 18:16:46 +02:00
Jeroen Engels
baa5effdb3 Clean up 2017-06-16 01:25:39 +02:00
Jeroen Engels
688813eded Format linting output 2017-06-16 01:25:39 +02:00
Jeroen Engels
c20be88081 Lint files dynamically 2017-06-16 01:25:39 +02:00
Jeroen Engels
992bdb88ea Create temp project binary that lints 2017-06-16 01:25:39 +02:00
Jeroen Engels
35d5cdadfd WIP 2017-06-16 01:25:39 +02:00
Jeroen Engels
fe10615afc Rename Error to LintError 2017-06-15 15:00:14 +02:00
Jeroen Engels
2e37e86ee8 Update tests to account for signature change 2017-06-13 01:31:10 +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
97777a6563 NoUnusedVariables: handle function declarations in let statements 2017-06-11 18:01:42 +02:00
Jeroen Engels
e2c2c0e7e6 Make project compile again 2017-06-10 15:57:25 +02:00
Jeroen Engels
bf504a69ce Bump elm-ast to v8.0.3 2017-06-10 15:57:13 +02:00
Jeroen Engels
09460f741b Remove license in README 2017-01-29 22:53:31 +01:00
Jeroen Engels
a64a719cdf Add documentation for every rule inside the source 2017-01-29 22:50:48 +01: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
c371244a4c NoUnusedVariables: Report unused imported variables 2017-01-28 16:11:52 +01:00
Jeroen Engels
da3f260ece Add NoNestedLet rule 2017-01-24 23:33:16 +01:00
Jeroen Engels
1e6129cdd1 Add more tests for NoUselessPatternMatchingTest 2017-01-23 20:10:04 +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
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