wotan
wotan copied to clipboard
new rule: prefer-exponentiation-operator
Checklist
- [x] Fixes: #307
- [x] Added or updated tests / baselines
- [x] Documentation update
Overview of change
Uses TypeScript's node factory functions to determine if a node requires parens. Unfortunately this is kind of buggy. I'll open issues for these cases upstream.