node-elm-review

CLI for elm-review

BSD-3-CLAUSE License

Downloads
59.8K
Stars
48
Committers
15

Bot releases are visible (Hide)

node-elm-review -

Published by jfmengels over 2 years ago

  • Update snapshots 190c85e
  • Add starter configurations to the CLI 75725af
  • Update documentation to mention starter configurations 0147900
  • Relax default CognitiveComplexity to 15 3ff6fa6
  • Update dependencies in new-package template 2710ba0
  • Update snapshots 710363c
  • Update snapshots df0d252
  • Make sure we use the correct major versions of dependencies a406f60
  • Update snapshots 8a7a818

https://github.com/jfmengels/node-elm-review/compare/v2.7.1...v2.7.2

node-elm-review -

Published by jfmengels over 2 years ago

node-elm-review -

Published by jfmengels over 2 years ago

  • Write files lazily b060e45
  • Update snapshots be8552a
  • Remove cleanup for ElmjutsuDumMyM0DuL3 32480fb
  • Re-format options file 6916afd
  • Update snapshots 8659159
  • Update snapshots ec4173e
  • Move snapshots from run.sh to a dedicated folder 855cf83
  • Update snapshots cb70d0e
  • Bump CI Node.js version to 16, actions/setup-node to v2 (#66) d69da2a
  • Split tests a78055b
  • Update snapshots 69e72c7

https://github.com/jfmengels/node-elm-review/compare/v2.7.0...v2.7.1-beta.0

node-elm-review -

Published by jfmengels almost 3 years ago

  • Report error if using unknown version of suppression file e3ab111
  • Update snapshots edcc062
  • Change output colours to support light background (#64) 5ca3ac1
  • Update snapshots 941dc69

https://github.com/jfmengels/node-elm-review/compare/v2.7.0-beta.3...v2.7.0

node-elm-review -

Published by jfmengels almost 3 years ago

  • Formatting c7d77a8
  • Formatting 7297f6a
  • Mention including the suppression files in Git 80b8749
  • Change test to not be flaky 2ae3fbc
  • Update suppress --help text f89dfc7
  • Make suppressed errors reminder more prominent 895a4cf
  • Remove mention to not touch manually 249865d
  • Don't write suppression files when directories have been passed ba0d199
  • Update suppression files before writing the report cf585e8
  • Add --check-after-tests flag 6c48087
  • Add test for checking the exit code beefe85
  • Use Jest for creating test snapshots (#62) 39ec4e5
  • Simplify update function b440d3a
  • Use pattern matching 5c3c791
  • Use pattern matching 677ab1a

https://github.com/jfmengels/node-elm-review/compare/v2.7.0-beta.2...v2.7.0-beta.3

node-elm-review - Add --unsuppress-rules flag

Published by jfmengels almost 3 years ago

  • Add --unsuppress-rules flag 89373fa
  • Simplify --help for --rules 0f5118e
  • Add JSON tests for suppress tests 39dd3e6
  • Update snapshots 7382b51
  • Fix formatting 43cfdb7
  • Update snapshots 4d2abfd

https://github.com/jfmengels/node-elm-review/compare/v2.7.0-beta.1...v2.7.0-beta.2

node-elm-review -

Published by jfmengels almost 3 years ago

  • Sort suppressions by count then by filePath de2d0a0
  • Use conditional prepends rather than filterMap 5c23d99

https://github.com/jfmengels/node-elm-review/compare/v2.7.0-beta.0...v2.7.0-beta.1

node-elm-review - elm-review suppress

Published by jfmengels almost 3 years ago

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

https://github.com/jfmengels/node-elm-review/compare/v2.6.1...v2.7.0-beta.0

node-elm-review -

Published by jfmengels about 3 years ago

  • new-package: Add elm-format checks for preview files (#59) 66a4fb9
  • new-package: Bump deps and add elm-review-documentation v2 rules 974fd2d
  • Update snapshots 977e29b

https://github.com/jfmengels/node-elm-review/compare/v2.6.0...v2.6.1

node-elm-review - Add --watch-code, better underlining with unicode

Published by jfmengels about 3 years ago

  • 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 for new-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

https://github.com/jfmengels/node-elm-review/compare/v2.5.5...v2.6.0

node-elm-review -

Published by jfmengels about 3 years ago

node-elm-review -

Published by jfmengels about 3 years ago

  • Check whether a source directory is a file by checking it with the file system (#54, fixes #52) f8cbf61
  • Update snapshots 1871089
  • Update snapshots 9b870c4
  • Bump dependencies for new-package 927d8aa
  • Update snapshots 7d9db60

https://github.com/jfmengels/node-elm-review/compare/v2.5.3...v2.5.4

node-elm-review - Faster elm-format, security issue fix

Published by jfmengels over 3 years ago

  • Speed up calling elm-format by not using npx (#49) 5669aef

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.

  • Improve error message when entering an invalid rule name (#48) 9ce7dd2

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!

https://github.com/jfmengels/node-elm-review/compare/v2.5.2...v2.5.3

node-elm-review -

Published by jfmengels over 3 years ago

  • Fix: Support using LOCAL_ELM_REVIEW without an absolute path 43cf41b
  • Update snapshots bbb6496
  • Post-release snapshot update c0c74b1

https://github.com/jfmengels/node-elm-review/compare/v2.5.1...v2.5.2

node-elm-review -

Published by jfmengels over 3 years ago

Changes:

  • Add elm-review-simplify to new-package configs d7060f9
  • Add progress bar to fix logger 634bece

Peek 2021-05-10 22-50

Bug fixes:

  • Fix errors for elm.json not showing up in fix-all proposals 2d73eee

https://github.com/jfmengels/node-elm-review/compare/v2.5.0...v2.5.1

node-elm-review - Fix --no-color flag not being accepted

Published by jfmengels over 3 years ago

  • Fix --no-color flag not being accepted
  • Support configuration errors, coming in the next version of the elm-review Elm package

https://github.com/jfmengels/node-elm-review/compare/v2.4.4...v2.4.5

node-elm-review - v2.4.4 - Improve parsing of --rules

Published by jfmengels over 3 years ago

Fix misparsing rules when --rules is used several times and with commas 27258e1

https://github.com/jfmengels/node-elm-review/compare/v2.4.3...v2.4.4

node-elm-review - CLI flag errors

Published by jfmengels over 3 years ago

  • Much better errors when CLI flags are misused
  • Error when unknown CLI flags are given

Screenshot from 2021-03-05 22-31-28
Screenshot from 2021-03-05 22-32-01
Screenshot from 2021-03-05 22-54-51
Screenshot from 2021-03-05 22-55-38
Screenshot from 2021-03-06 11-05-22

node-elm-review - Fix crash when running inside projects with package.json with "type": "module"

Published by jfmengels over 3 years ago

  • Fixes a crash when running elm-review inside a project which has a package.json containing the "type": "module" property.
  • Bump dependencies for new-package
  • Fix a problem when running npm ci in a package created by new-package
  • Some improvements in the internal test suite
  • Use a newer version of elm-json which should work on M1 computers

https://github.com/jfmengels/node-elm-review/compare/v2.4.1...v2.4.2