Commit Graph

37 Commits

Author SHA1 Message Date
Jeroen Engels
539a5752e0 Add documentation for Docs.NoMissingChangelogEntry 2024-06-12 19:32:43 +02:00
Jeroen Engels
75650d1952 Clean up unused code 2024-06-10 23:42:33 +02:00
Jeroen Engels
f505932b0c Use extraFiles2 everywhere 2024-04-17 00:52:29 +02:00
Jeroen Engels
e3082e15ec Move the file pattern to be the last argument of withExtraFiles visitors 2024-04-10 20:13:36 +02:00
Jeroen Engels
6bb7aca1d3 Use FilePattern when requesting files 2024-04-10 20:13:03 +02:00
Jeroen Engels
62c5aef6b0 Fix confusing test 2024-04-10 20:13:03 +02:00
Jeroen Engels
665f6b55a3 Add autofix to inject a new version 2024-04-10 20:13:03 +02:00
Jeroen Engels
3f68fd53ad Inline findUnreleasedRange 2024-04-10 20:13:03 +02:00
Jeroen Engels
08fd861cf1 Add case expression 2024-04-10 20:13:03 +02:00
Jeroen Engels
6a3f347be6 Use withFix 2024-04-10 20:13:03 +02:00
Jeroen Engels
715e3a19af Extract variable 2024-04-10 20:13:03 +02:00
Jeroen Engels
2b55def478 Report the first line when unreleased could not be found 2024-04-10 20:13:03 +02:00
Jeroen Engels
207ffe1cab Report the line for Unreleased 2024-04-10 20:13:03 +02:00
Jeroen Engels
50877660e9 Add findUnreleasedRange 2024-04-10 20:13:03 +02:00
Jeroen Engels
f34f59054d Extract to function 2024-04-10 20:13:03 +02:00
Jeroen Engels
24b4782400 Expect to be under Unreleased 2024-04-10 20:13:02 +02:00
Jeroen Engels
e4a6ff3bae Add [Unreleased] to tests 2024-04-10 20:13:02 +02:00
Jeroen Engels
e15e7a8818 Update range 2024-04-10 20:13:02 +02:00
Jeroen Engels
dcdfec8d54 Target changelog in tests 2024-04-10 20:13:02 +02:00
Jeroen Engels
40d88b9f54 Report an error for the changelog file 2024-04-10 20:13:02 +02:00
Jeroen Engels
349d69727d fixup! Add visitor for the changelog 2024-04-10 20:13:02 +02:00
Jeroen Engels
aa7d289e99 Don't report errors if the version is 1.0.0 2024-04-10 20:13:02 +02:00
Jeroen Engels
20a42e35f8 Pass a version when creating a package in tests 2024-04-10 20:13:02 +02:00
Jeroen Engels
a2bd65eeb6 Report an error if the project is an application 2024-04-10 20:13:02 +02:00
Jeroen Engels
04fdc1fba1 Report a global error when the path was custom but could not be found 2024-04-10 20:13:02 +02:00
Jeroen Engels
8b7704baf9 Report a global error if the changelog could not be found 2024-04-10 20:13:02 +02:00
Jeroen Engels
8e8a2c03d9 Add the ability to configure the path 2024-04-10 20:13:02 +02:00
Jeroen Engels
f59a396548 Report an error when the version could not be found 2024-04-10 20:13:02 +02:00
Jeroen Engels
5bdbed5b28 Add visitor for the changelog 2024-04-10 20:13:02 +02:00
Jeroen Engels
af23bbaf73 Add elm.json visitor to get the version 2024-04-10 20:13:02 +02:00
Jeroen Engels
51579cf373 Add tests 2024-04-10 20:13:02 +02:00
Jeroen Engels
5ba34073f1 Add new rule Docs.NoMissingChangelogEntry 2024-04-10 20:13:02 +02:00
Jeroen Engels
155b6c6f23 Add provides information to rules in tests 2022-10-29 17:58:25 +02:00
Jeroen Engels
3ef7727ae7 Backport rules from elm-review-documentation 2022-08-24 18:31:28 +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
34798e3f49 Backport elm-review-documentation 2021-10-02 10:32:41 +02:00