Jeroen Engels
dddba5c1cf
Stop using Rule.withMetadata in plugin rules
2022-04-28 13:25:24 +02:00
Jeroen Engels
0fa1005f4d
Use new context creator functions
2022-04-28 13:25:24 +02:00
Jeroen Engels
d17d995f0e
Add Rule.withModuleName
2022-04-28 11:51:14 +02:00
Jeroen Engels
319ecb29a6
Add Rule.withFilePath
2022-04-28 11:41:01 +02:00
Jeroen Engels
8ab6272a39
Backport rules from other packages
2022-04-22 22:04:13 +02:00
Jie
2bc6c2ec33
Add Rule.filterErrorsForFiles ( #115 )
2022-02-04 17:16:08 +01:00
Jie
bbc6ce4365
Small typos ( #116 )
...
* tat -> that
* yoy -> you
2022-01-19 14:28:42 +01:00
SiriusStarr
a4816ddc11
Modify test for declaration list to check order
2022-01-05 20:46:47 +01:00
Jeroen Engels
0deab17a61
Simplify WithCommentsVisitorTest
2022-01-05 16:56:16 +01:00
SiriusStarr
3068ead8f4
Add failing test for withCommentsVisitor
...
Ensure that only non-parsed doc comments are passed and they are done so
in source order.
2022-01-05 16:55:35 +01:00
SiriusStarr
f643cae09e
Add missing test for comment visitor order
...
Previously, the order of comment visitors was untested, despite being
claimed to occur at a specific point in the documentation (before import
visitor).
2022-01-05 16:46:42 +01:00
Jeroen Engels
b71984aebb
Backport rules from elm-review-unused
2021-10-24 00:38:58 +02:00
Jeroen Engels
28a3973272
Backport rules from elm-review-common
2021-10-17 10:00:47 +02:00
SiriusStarr
2a8dbaf2a1
Add ModuleNameLookupTable support for operators ( #106 )
2021-10-03 11:03:00 +02:00
Jeroen Engels
34798e3f49
Backport elm-review-documentation
2021-10-02 10:32:41 +02:00
Jeroen Engels
7e6cd42469
Backport rules
2021-08-19 20:57:33 +02:00
Jeroen Engels
e60ff158a7
Backport rules from elm-review-code-style
2021-08-19 20:55:58 +02:00
Jeroen Engels
9daae2933d
Backport rules from elm-review-common
2021-08-19 20:50:50 +02:00
Jeroen Engels
1c99a7e99b
Make variable name more explicit
2021-07-30 18:33:53 +02:00
Jeroen Engels
7489b6b458
Add withSourceCodeExtractor ( #100 )
2021-05-29 00:00:12 +02:00
Jeroen Engels
feb67febe1
Backport rules from elm-review-code-style
2021-05-26 22:29:13 +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
7c8701aec4
Backport rules from elm-review-debug
2021-04-06 17:33:00 +02:00
Jeroen Engels
a26dd41382
Backport rules from elm-review-common
2021-04-06 17:32:30 +02:00
Jeroen Engels
9992afbff8
Backport rules from elm-review-unused
2021-04-06 17:19:13 +02:00
Jeroen Engels
0578e9ed54
Make build target return a Result
2021-03-27 10:16:18 +01:00
Jeroen Engels
ed57af4909
Reverse positions
2021-03-27 10:12:25 +01:00
Jeroen Engels
38cf239e4e
Use enter visitor
2021-03-27 10:11:07 +01:00
Jeroen Engels
cee660cd0a
Stop using tests/Dependencies/ElmCore.elm and remove it
2021-03-14 09:12:41 +01:00
Jeroen Engels
25cad184d0
Make Review.Test.expectConfigurationError work without run* functions
2021-03-10 17:09:16 +01:00
Jeroen Engels
b2f04d3614
Compute whether the unsafeFunction is a valid function name
2021-03-10 17:09:16 +01:00
Jeroen Engels
efe502f52f
Add details to the test expectation
2021-03-10 17:09:16 +01:00
Jeroen Engels
3e43ba80b3
Base configuration error off of buildTarget
2021-03-10 17:09:16 +01:00
Jeroen Engels
31a4dc53e0
Trigger configuration error in NoUnsafeRegexFromLiteral
2021-03-10 17:09:16 +01:00
Jeroen Engels
fdc25443d1
Add configuration error
2021-03-10 17:09:16 +01:00
Jeroen Engels
7a2978925f
Make emptyDetails take a String
2021-03-10 17:02:21 +01:00
Jeroen Engels
49025a5855
Fail when expected error could not be found
2021-03-10 17:02:21 +01:00
Jeroen Engels
253b04187e
Add unexpectedGlobalErrorDetails
2021-03-10 17:02:21 +01:00
Jeroen Engels
f1f97de257
Change error message for unexpectedDetails
2021-03-10 17:02:21 +01:00
Jeroen Engels
5e112638f7
Change test breakage
2021-03-10 17:02:21 +01:00
Jeroen Engels
279ac055bb
Remove handling of global error module name
2021-03-10 17:02:21 +01:00
Jeroen Engels
bbc4697d9f
Duplicate
2021-03-10 17:02:21 +01:00
Jeroen Engels
0dd50b51d9
break test
2021-03-10 17:02:21 +01:00
Jeroen Engels
0c5feb427c
Start working on expectGlobalErrors
2021-03-10 17:02:21 +01:00
Jeroen Engels
cb84596b08
Handle global errors differently
2021-03-10 17:02:21 +01:00
Jeroen Engels
f46f3216bb
Make a specific error for too many global errors
2021-03-10 17:02:21 +01:00
Jeroen Engels
cc17889499
Make a specific error for unexpected global errors
2021-03-10 17:02:21 +01:00
Jeroen Engels
4cb8d74815
Change the error message for global errors
2021-03-10 17:02:21 +01:00
Jeroen Engels
1789110c4a
Use globalerror
2021-03-10 17:02:21 +01:00