summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index c51e07b373..f1525a6309 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -54,6 +54,11 @@ rules:
no-new-require: 2
no-path-concat: 2
no-restricted-modules: [2, sys, _linklist]
+ no-restricted-properties: [2, {
+ object: assert,
+ property: deepEqual,
+ message: Please use assert.deepStrictEqual().
+ }]
# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
@@ -98,7 +103,6 @@ rules:
align-multiline-assignment: 2
assert-fail-single-argument: 2
new-with-error: [2, Error, RangeError, TypeError, SyntaxError, ReferenceError]
- no-deepEqual: 2
no-definegetter-definesetter: 2
# Global scoped method and vars