Jeroen Engels
|
2aafccea23
|
Split expectErrorsForModules into 2 functions
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
9717bf7774
|
Specify globalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
8f7df17811
|
Extract variable
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
83574766fb
|
Add list of global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
984cd7fa25
|
Document expectGlobalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
99f9e24f1d
|
Remove solved TODO
|
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
|
791a84410f
|
Remove solved TODO
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
d0fbeb5cf5
|
Fix userglobal
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
cfbe9df416
|
Fail when there is a global error
|
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
|
f12bab365e
|
Make globalError target a UserGlobal
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
1789110c4a
|
Use globalerror
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
58844c9546
|
Add TODOs
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
4cfd1228d1
|
Don't include GLOBAL ERROR errors for expectErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
702213320c
|
Rewrite with a nest case expression
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
9ff74101e1
|
Fail test if a global error is missing
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
47f21ecab8
|
Add TODO
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
51d8cb6095
|
Remove outdated TODO
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
5b951a9207
|
Do not report position errors for global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
3d2b7234f9
|
Fix test
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
cc2bc13626
|
Include global errors in tests
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
0c28c148eb
|
Add Review.Test.globalError
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
c7c2335ac2
|
Use Range.emptyRange
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
9d0adae3b1
|
Rename variable
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
22f68ab542
|
Add Review.Test.expectGlobalErrors function
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
68ddcec986
|
Make exposed globalError's target UserGlobal
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
545a482f22
|
Copy global error
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
7f8b218399
|
Check for target instead of file path
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
16d1d70196
|
Add UserGlobal variant
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
f5ac7a859a
|
Use global error for duplicates modules
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
0e9cb4a6f9
|
Add globalError to docs
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
6345bc8a90
|
Add annotations
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
0d7eb30f4e
|
Remove code related to getting the elm.json key
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
362a192665
|
Print target function name
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
2da8367965
|
NoUnsafeRegexFromLiteral: Report as global error
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
5eea8ffa6d
|
Enable NoUnsafeRegexFromLiteral
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
1a02627f98
|
Expose globalError
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
bc786e3aa3
|
Bump elm-syntax
|
2021-03-07 12:25:07 +01:00 |
|
Jeroen Engels
|
91f605ba57
|
Mention and emphasis more the existence of new-package and new-rule
|
2021-03-07 10:57:19 +01:00 |
|
Jeroen Engels
|
09a2b92ec9
|
2.3.11
|
2021-03-06 18:38:28 +01:00 |
|
Jeroen Engels
|
80ccf80f86
|
Nicer import cycle message
|
2021-03-06 18:37:50 +01:00 |
|
Jeroen Engels
|
472df5179a
|
2.3.10
|
2021-03-06 17:19:41 +01:00 |
|
Jeroen Engels
|
b9c2ede226
|
Find and display the shortest import cycle (#33)
|
2021-03-06 14:13:43 +01:00 |
|
Jeroen Engels
|
d805e097b1
|
Simplify check for all errors
|
2021-03-01 22:33:55 +01:00 |
|
Jeroen Engels
|
bae9b420d0
|
Extract import cycle error into a function
|
2021-03-01 19:49:17 +01:00 |
|
Jeroen Engels
|
cb6c13e645
|
Improve reviewV2's error message too
|
2021-03-01 19:44:20 +01:00 |
|
Jeroen Engels
|
e4df0e01ee
|
Extract creation of global error to a new function
|
2021-03-01 19:37:39 +01:00 |
|
Jeroen Engels
|
ac68adc905
|
Make the import cycle look more like the compiler's message
|
2021-03-01 09:48:54 +01:00 |
|