Closed zymbth closed 1 hour ago
Thanks for reporting!
Failing test added in last commit for reference 🫡
By the way, using both --apply
and --ignore
flags should not be used at the same time 👀 https://github.com/rrd108/vue-mess-detector/issues/363
Again, thanks for reporting
This is fixed in last commit https://github.com/rrd108/vue-mess-detector/commit/04eac5405a8f2041d68d0553f2cb7d8e6f6dbb3e
You can try it out via before its released thanks to pkg.pr.new
via npm i https://pkg.pr.new/rrd108/vue-mess-detector@04eac54
Describe the bug Nullish coalescing operator (??) will trigger the detection of rule "rrd ~ nested Ternary"
To Reproduce Steps to reproduce the behavior:
const testFunc = (arr: string[]) => arr ?? []
Expected behavior Nullish coalescing operator (??) should avoid triggering the
nestedTernary
detection.Used version number of vue-mess-detector:
0.57.0
Used version number of node & yarn:
node@18.20.4
,pnpm@9.8.0
Additional context vue-mess-detector.json: