v1.0.4
Release notes and the changes made by @talatkuyuk
- refactored the
.npmrc
file - updated the dependencies and fixed the type issues
- refactored the
tsconfig.json
- updated the
README.md
- fixed the toMatchInlineSnapshot jest method in tests since jest does not support prettier@3 yet
- added
doubleEqualityCheck
option
It is a string option in order not to confuse with logical double equality (example: a == b)
.
If there is one double equality expression in a text node, there is no problem. But if there is two double equality expressions in a text node, the plugin assumes they are marker but actually not.
The default value of this option is undefined, which means no check.
In order the plugin to handle this kind of expressions correctly, for example If a == b and c == d then the theorem is right
, assuming you set the option doubleEqualityCheck: "=:="
, the expression should be If a =:= b and c =:= d then the theorem is right
. Then, the plugin is going to convert the =:=
into ==
as should be.