Releases: jfmengels/node-elm-review
elm-review suppress
Learn more by running elm-review suppress --help
- Polish documentation and reporter messages 1e81428
- Add tests for Reporter a3adf58
- Formatting and cleanup 5061f56
- Fix test failure message 12d9bd7
- Add comments in suppression files 336506b
- Fix typo in test titles 1300454
- Update snapshots c9c3e4e
- Remove unnecessary empty string in JSON mode 8c441a9
- Formatting 8bc2043
- Enable all tests 09df7bf
- Add test about introducing errors d94f4db
- Add test for --unsuppress 33e86ba
- Add test for fixing some errors 92b0cd8
- Add more complex test 32ef4bd
- Add more errors 302d142
- Add unused dependency 635cad6
- Add more files in test project 9a313d0
- Reduce number of rules in test 065a085
- Move test and update help-main.txt 4513aa6
- Add test for --help 9bf9964
- Update test 4b8644c
- Add suppressions to test 1e00f36
- Add test fbaf847
- Add help for suppress d7da77e
- Add suppressed and originallySuppressed to the JSON output cb5f5c4
- Always report for all review errors in JSON mode 8805d38
- Add documentation in the tooling integration document 6b79ba9
- Disable suppress for regular run for --template fe5fecd
- Only read the related rules if --rules was used 92782ff
- Send back suppressions containing all rules 9595da2
- Compute suppressions 70db90a
- Add rule names as argument 6bc17fc
- Ignore errors for mkdir 2d15aed
- Don't suppress everything when --rules is used a57f59b
- Extract variable 2d393b4
- Remove files when suppressing in a smarter way 0026004
- Delete folder when using suppress subcommand 8216209
- Add TODOs a30a139
- Debounce reacting to suppressed json changes 2cca935
- Use a different port 0ab2181
- Add watcher 528aa32
- Make SuppressedErrors.member take a ReviewError e99d6f8
- Make SuppressedErrors opaque e2f3800
- Rename variable e4c6eb4
- Change import 3a3b6d9
- Add SuppressedErrors.empty 9f8879d
- Move SuppressedErrors.encode 19a63df
- Move SuppressedErrors.fromReviewErrors ed548f0
- Move SuppressedErrors.apply 5621206
- Move type 12291b8
- Move decoder to a separate module 58cb7cb
- Don't show explanation about suppress when using --unsuppress a7e3d66
- Make Reporter.formatReport take a record d15cf1e
- Add --unsuppress flag e0fb906
- Remind the user about suppressed errors 5eee604
- Don't update suppressed errors when there are errors remaining 15950bc
- Don't write suppressedErrors if it's null 3a06bab
- Rename 729cc82
- Ignore errors if the number of errors decreased 8186e58
- Update suppressed errors 881125c
- Add reviewErrorsAfterSuppression 74a1f5f
- Write suppressed errors after a review 06fbdd9
- Send back suppressed errors after report ed4b0b0
- Sort and reformat suppression JSON files e7c3acf
- Use fs.mkdir instead of fs.mkdirp da9c2ff
- Remove sorting 4e36582
- Don't send suppressed errors when requesting to suppress f90ccd5
- Remove suppressed errors before recreating them d7377bc
- Fetch and send suppressedErrors cbf8513
- Add port to collect and decode suppressedErrors ca5331f
- Add SuppressedErrors.read function 01ab35a
- Format JSON in a more diff-friendly way 505b8e7
- Give feedback fae23a5
- Write suppression files 2c8b960
- Exit with success code bc23bda
- Formatting 7838f2f
- Add options.suppressedErrorsFolder bdb51a2
- Call SuppressedErrors.write e4890cc
- Remove hardcoded value 78f28cf
- Compute elmJsonPath correctly when using suppress 49df992
- Compute directoriesToAnalyze correctly when using suppress 3a1e7ab
- Add alternative path 8ac7ddd
- Generate ports b10dbd7
- Add suppress subcommand 177283d
- Add encodeSuppressions 290661e
- Add function to generate suppressions da3d4c2
- Don't check for suppressed errors if there are none d0d854d
- Gather more efficiently 52e32f5
- Get suppressed errors from model 072c07c
- Add alias 85a3096
- Fix key 21cc684
- Single pass for gatherEqualsBy 6831181
- Fetch by dict 7459dfc
- Add suppressedErrors 44d6a90
- Suppress errors when they match the exact count dfcbac3
- Classify fixes in a more performant way 41bed2e
- Make Reporter.totalNumberOfErrors faster 8713895
- Update snapshots 64f7c72
- Bump dependencies 76fea5a
- Don't destructure flags 9d7ef05
- Use pipeline for decoding flags fc13595
- Update snapshots 982fbb2
- Force rebuilding review app when used with --force-build d007837
- Update snapshots a0638f0
v2.6.1
Add --watch-code, better underlining with unicode
- Put additional ^ for characters that take more space ca542a1
- Multiline: Don't report until the end of the line in case of multiline strings e96bc61
- Add --watch-code flag 413d2b7
- Update snapshots b8a28f0
- Add as many ^ to fill the space taken by unicode characters 0c8cbc2
- Reduce the number of comparisons f561510
- Fix typo 8ed4176
- Update snapshots bda0db7
- Update snapshots 0cb2662
- Update and fix elm-tooling usage (#55) e13587f
- Fix failing
ReviewConfig
fornew-package
(#56) 98436a7 - Update snapshots 21bb55c
- Fix bad config 8dd7613
- Update snapshots ef58fca
- Add more rules to the new-package config 1e1f9f0
- Update snapshots e29ca99
- Fix elm-tooling not working anymore 5f81e8e
- Bump elm-tooling 2734b02
- Bump config templates 93f6dc4
- Update snapshots 0644cdc
v2.5.5
v2.5.4
Faster elm-format, security issue fix
There is a pretty big delay in calling elm-format
when it's done through npx
like we were doing. @lydell made it so we don't use npx
, which reduces the amount of time it takes to apply fixes. You'll notice it most when using --fix-all
when a lot of files get changed.
The time spent calling elm-format
went (when fixing 4 files) from about 1500ms to 300-400ms, and sometimes even around 150ms, depending on where elm-format
is in your system.
This change is a bit scary, and it might break in some edge cases, but we don't expect anyone to be in those cases. If you do, please open an issue and temporarily go back to 2.5.2.
@lydell also noticed a security issue when applying fixes (or rather, when spawning elm-format), in very special and unlikely circumstances.
I also improved the error message when using non-ASCII characters in the rule name for new-package
or new-rule
. Thanks to @lydell for noticing!
Thanks @lydell for all the awesome work!
v2.5.2
v2.5.1
Fix colors being disabled by default
Fix --no-color flag not being accepted
- Fix --no-color flag not being accepted
- Support configuration errors, coming in the next version of the elm-review Elm package