Commit Graph

55 Commits

Author SHA1 Message Date
Jeroen Engels
f01508a61c Backport rules from unused 2023-09-03 11:31:00 +02:00
Jeroen Engels
efd3fc151a Backport rules from packages 2023-06-25 22:44:48 +02:00
Jeroen Engels
73262f6f47 Backport rules from packages 2022-12-08 16:27:43 +01:00
Jeroen Engels
06580612f2 Backport rules from elm-review-unused 2022-11-09 15:58:49 +01:00
Jeroen Engels
155b6c6f23 Add provides information to rules in tests 2022-10-29 17:58:25 +02:00
Jeroen Engels
858ae494f5 Backport rules from elm-review-unused 2022-10-29 17:58:25 +02:00
Jeroen Engels
a198634521 Annotate rules as providing fixes 2022-10-29 17:58:25 +02:00
Jeroen Engels
4dd3bb5dff Backport rules from elm-review-unused 2022-09-19 11:54:35 +02:00
Jeroen Engels
faef56d338 Backport rules from elm-review-unused 2022-08-24 18:10:58 +02:00
Jeroen Engels
2a211e9d22 Use direct dependencies visitor in test rules 2022-08-22 21:49:08 +02:00
Jeroen Engels
67c9eecd29 Simplify NoUnused.Exports 2022-08-08 13:45:43 +02:00
Jeroen Engels
d0f804fbaa Use withFullAst in NoUnused.Exports 2022-08-08 10:39:50 +02:00
Jeroen Engels
350300e0c9
Add Rule.withModuleDocumentationVisitor (#132) 2022-08-07 13:36:28 +02:00
Jeroen Engels
dddba5c1cf Stop using Rule.withMetadata in plugin rules 2022-04-28 13:25:24 +02:00
Jeroen Engels
8ab6272a39 Backport rules from other packages 2022-04-22 22:04:13 +02:00
Jeroen Engels
b71984aebb Backport rules from elm-review-unused 2021-10-24 00:38:58 +02:00
Jeroen Engels
7e6cd42469 Backport rules 2021-08-19 20:57:33 +02:00
Jeroen Engels
dda4c684b1 Simplify code 2021-04-24 14:33:20 +02:00
Jeroen Engels
05d2622923 Backport rules from elm-review-unused 2021-04-17 21:18:43 +02:00
Jeroen Engels
9992afbff8 Backport rules from elm-review-unused 2021-04-06 17:19:13 +02:00
Jeroen Engels
cee660cd0a Stop using tests/Dependencies/ElmCore.elm and remove it 2021-03-14 09:12:41 +01:00
Jeroen Engels
a4bb1719b5 Backport rules from elm-review-code-style 2021-02-10 17:15:09 +01:00
Jeroen Engels
584f0bef8a Adapt tests to elm-syntax fix 2021-02-02 16:03:05 +01:00
Jeroen Engels
4669fe3960 Backport elm-review-unused 2021-01-24 16:46:42 +01:00
Jeroen Engels
cb604c782f Backport unused and test-values 2020-12-23 19:12:04 +01:00
Jeroen Engels
c6ca7ec9fe Backport elm-review-unused 2020-12-05 12:40:40 +01:00
Jeroen Engels
b1b96c6dcf Backport rules from other projects 2020-09-23 08:11:51 +02:00
Jeroen Engels
3087e757a8 Fix module name lookup table not knowing about patterns inside let functions destructuring 2020-09-08 10:06:28 +02:00
Jeroen Engels
31eef5486b Use lookup table in NoUnused.CustomTypeConstructors 2020-08-22 09:43:30 +02:00
Jeroen Engels
808baa1a22 Use lookup table in NoUnused.Exports 2020-08-22 08:50:39 +02:00
Jeroen Engels
449b21addd Backport rules from other packages 2020-08-09 18:56:12 +02:00
Jeroen Engels
aa72525032 Remove unused function 2020-06-28 13:44:52 +02:00
Jeroen Engels
4c43013fb8 Remove Rule3 2020-06-28 08:01:44 +02:00
Jeroen Engels
d2220e652b Use Rule instead of Rule3 2020-06-28 08:01:44 +02:00
Jeroen Engels
c8445f7bf6 Rename all _New functions 2020-06-25 22:57:31 +02:00
Jeroen Engels
8216097025 Rename ModuleVisitor into ModuleRuleSchema, until the next breaking change 2020-06-25 22:52:11 +02:00
Jeroen Engels
94b0ab6a79 Turn module visitors into project rules 2020-06-25 22:49:44 +02:00
Jeroen Engels
b66816b589 Add module visitors to project rules 2020-06-25 19:23:09 +02:00
Jeroen Engels
dc131e8265 Use new module rules in tests 2020-06-25 19:23:09 +02:00
Jeroen Engels
c9e8f9680d Backport changes from review dependencies 2020-06-20 20:09:03 +02:00
Jeroen Engels
748583e778 Deprecate Direction 2020-06-19 15:35:11 +02:00
Jeroen Engels
cfd7a9157e Rename enter and exit visitors 2020-06-16 22:03:18 +02:00
Jeroen Engels
767a7ba321 Use onEnter variants on test rules 2020-06-16 00:00:41 +02:00
Jeroen Engels
acc00dfc3f Backport changes from review-unused and elm-review-scope 2020-06-14 16:44:44 +02:00
Jeroen Engels
932c788b9f Backport work from review packages 2020-06-03 18:23:19 +02:00
Jeroen Engels
c76d4d972f Make expected errors order-agnostic
Fixes #12
2020-05-17 17:08:27 +02:00
Jeroen Engels
ee8f294c18 Backport scope v0.2.0 2020-05-16 22:44:11 +02:00
Jeroen Engels
f1e3e725a8 Backport work from review-unused 2020-05-14 21:24:29 +02:00
Jeroen Engels
d0bd0579f3 Fix Review.Test not working correctly with multilines 2020-05-14 21:24:29 +02:00
Jeroen Engels
33c85462ed Backport work from review packages and elm-review-scope 2020-04-21 23:01:47 +02:00