Commit Graph

628 Commits

Author SHA1 Message Date
Jeroen Engels
c1343b8c15 Use local source for review config 2019-11-04 00:13:43 +01:00
Jeroen Engels
6fdb85061b Add cache to rules
I think that multi-file runs will be quite slow, and therefore it is
worth optimizing. Rules will now remember the previous run result for
each file in a closure.
2019-11-04 00:13:43 +01:00
Jeroen Engels
1495445518 Remove the concept of Analyzer 2019-10-31 19:19:08 +01:00
Jeroen Engels
438b844926 Add reviewRawFiles and make demo/ and Review.Test use it and reviewFiles 2019-10-31 18:32:27 +01:00
Jeroen Engels
8553c5199d Make demo/ use local sources 2019-10-31 18:16:05 +01:00
Jeroen Engels
acbfe83f29 Bump demo to Elm 0.19.1 2019-10-31 17:29:27 +01:00
Jeroen Engels
4a931c9dde Remove Review.Error and use Review.Rule.Error instead 2019-10-31 13:00:43 +01:00
Jeroen Engels
9cd0a478ee Add the filePath to errors reported in the file traversal for a multi rule 2019-10-31 12:50:07 +01:00
Jeroen Engels
c1f752a486 Move ApiDesign.elm to documentation/design/multi-file.md 2019-10-31 12:37:07 +01:00
Jeroen Engels
a879710561 Finish 2019-10-30 19:51:57 +01:00
Jeroen Engels
841430be60 API design 2019-10-29 22:06:22 +01:00
Jeroen Engels
7576962a64 Finish first draft 2019-10-21 23:33:41 +02:00
Jeroen Engels
a8bbd06ae3 Continue exploring the multifile API 2019-10-21 23:33:24 +02:00
Jeroen Engels
894e3ac1c9 Start working on a design for multi-file rules 2019-10-21 23:33:24 +02:00
Jeroen Engels
76d7a785b3 Bump to 0.19.1 2019-10-21 23:31:18 +02:00
Jeroen Engels
ddad514b37 Typo: Remove extraneous parens 2019-10-20 14:31:18 +02:00
Jeroen Engels
2db0a50904 Update the example image for elm-review 2019-09-29 16:13:03 +02:00
Jeroen Engels
b3cd4f8ee8 Re-configure elm-review 2019-09-29 14:22:31 +02:00
Jeroen Engels
5977bb06f2 Remove the Review.Util module 2019-09-29 10:51:29 +02:00
Jeroen Engels
ec0196a6f0 Release 1.0.0 2019-09-29 00:32:42 +02:00
Jeroen Engels
d4c1f20a89 Remove elm-lint from tests 2019-09-29 00:29:51 +02:00
Jeroen Engels
53b4ba7582 Add design file explaining why the tool was renamed 2019-09-29 00:26:31 +02:00
Jeroen Engels
b2e002069f Demo: Use the elm-review-reporter message when there are no errors 2019-09-29 00:26:31 +02:00
Jeroen Engels
8e48d01e66 Change the project's API from Lint* to Review* 2019-09-28 23:47:02 +02:00
Jeroen Engels
cf344cb904 Rename project to elm-review 2019-09-28 17:18:51 +02:00
Jeroen Engels
2b37947669 Mention you can search for rules using elm-search 2019-09-20 13:44:43 +02:00
Jeroen Engels
c88233ef74 Release 4.1.1 2019-09-18 12:13:39 +02:00
Jeroen Engels
01b9b4a546 Add trailing slashes to links to the packages website
Otherwise, internal links in the linked pae will give a 404 error
2019-09-18 12:04:33 +02:00
Jeroen Engels
7af85f37cd Remove mentions of elm-lint install and recommend using elm install instead 2019-09-18 11:49:33 +02:00
Jeroen Engels
7b5545eb87 Release v4.1.0 2019-09-18 00:56:08 +02:00
Jeroen Engels
9e35b0f6c2 Rename phantom type in Schema to configurationState in definition 2019-09-18 00:56:08 +02:00
Jeroen Engels
9b3ffd5d9b Demo: Bump elm-lint-reporter to v1.0.1 2019-09-18 00:03:45 +02:00
Jeroen Engels
5120f8c8be Run elm-lint when running tests 2019-09-17 22:13:35 +02:00
Jeroen Engels
23bba24185 Wording change: it's -> it is 2019-09-17 19:56:15 +02:00
Jeroen Engels
3645acb99e Reword the error message in the case of a missing fixes test failure 2019-09-17 19:56:15 +02:00
Jeroen Engels
cb4ba4315a Fix errors in Lint.Test documentation 2019-09-17 19:31:09 +02:00
Jeroen Engels
b18a1a6f08 Fix the description of the withElmJsonVisitor example 2019-09-16 14:34:22 +02:00
Jeroen Engels
86ad2735f9 Change phantom type variable name from "configurationState" to "anything" 2019-09-16 14:28:45 +02:00
Jeroen Engels
fbbc122a7d Remove module declaration in examples
Adding a module declaration messes up the syntax highlighting on the 
packages website
2019-09-16 11:55:21 +02:00
Jeroen Engels
40d6a1ffd8 Fix typos in withModuleDefinitionVisitor documentation 2019-09-16 11:48:03 +02:00
Jeroen Engels
5d183f3906 Reorder arguments names to match the actual parameters 2019-09-15 01:29:26 +02:00
Jeroen Engels
34be857d87 Remove non-helpful comment 2019-09-15 01:29:26 +02:00
Jeroen Engels
b359fb3023 Add Lint.Rule.withDeclarationListVisitor function 2019-09-15 01:29:26 +02:00
Jeroen Engels
5130f9c0e1 Add an example of the report in the README 2019-08-30 01:33:57 +02:00
Jeroen Engels
e4b2c1bee3 Remove stray line 2019-08-30 00:45:31 +02:00
Jeroen Engels
d9b3f581ed Add design document about severity levels 2019-08-29 23:20:13 +02:00
Jeroen Engels
bf1f1d2380 Fix "across" typo accross the whole project 2019-08-29 22:45:28 +02:00
Jeroen Engels
8d712c2066 Add design document about the test module 2019-08-29 22:41:31 +02:00
Jeroen Engels
1fe30a17db Change title of no-built-in-rules 2019-08-29 20:58:41 +02:00
Jeroen Engels
35f832c87d Make default example trigger the NoUnused.CustomTypeConstructors rule 2019-08-29 20:28:57 +02:00