[eslint config] [base] [breaking] prefer ** over Math.pow

This commit is contained in:
Jordan Harband
2016-11-06 09:54:42 -08:00
parent 436cf3ee63
commit 1399b3cbfa

View File

@@ -186,6 +186,10 @@ module.exports = {
}, {
property: '__defineSetter__',
message: 'Please use Object.defineProperty instead.',
}, {
object: 'Math',
property: 'pow',
message: 'Use the exponentiation operator (**) instead.',
}],
// disallow use of assignment in return statement