Skip to content

Releases: GrayedFox/eslint-plugin-ternary

eslint-plugin-ternary-2.0.0

01 Sep 15:07
Compare
Choose a tag to compare

Version 2.0.0 fixes the depth option not being respected (it was never implemented).

This is a breaking change for projects that have set a custom depth option which previously was doing nothing.

It also updates the readme with more info and links and adds some more tests.

eslint-plugin-ternary-1.0.4

07 May 13:35
Compare
Choose a tag to compare

This updates dev dependencies and makes the core package dependency free (no require statements anywhere).

eslint-plugin-ternary-1.0.3

20 Oct 17:47
Compare
Choose a tag to compare

v1.0.3

  • Fix bug with empty string being used instead of condition when reporting duplicate OR conditions
  • Add demo to readme
  • Extend operator-linebreak config to enforce a consistent style of ternary line breaks

eslint-plugin-ternary-1.0.2

20 Oct 16:05
Compare
Choose a tag to compare

Minor bug fixes and improvements - should catch some edge cases for no-unreachable.