feat(eslint): Rule "no-restricted-properties"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
@ -340,6 +340,14 @@
|
||||
"no-proto": [
|
||||
"error"
|
||||
],
|
||||
"no-restricted-properties": [
|
||||
"error",
|
||||
{
|
||||
"message": "Use the exponentiation operator (**) instead of Math.pow()",
|
||||
"object": "Math",
|
||||
"property": "pow"
|
||||
}
|
||||
],
|
||||
"no-return-await": [
|
||||
"error"
|
||||
],
|
||||
|
Reference in New Issue
Block a user