prefer-exponentiation-operator
Configuration
rslint.config.ts
Rule Details
This rule disallows calls to Math.pow and suggests using the ** operator
instead.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
When Not To Use It
Do not enable this rule if your runtime target does not support the
exponentiation operator (**).