aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.cjs
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.cjs')
-rw-r--r--.eslintrc.cjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 1301de4..5bb3c21 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -9,6 +9,8 @@ module.exports = {
9 'airbnb/hooks', 9 'airbnb/hooks',
10 'plugin:@typescript-eslint/recommended', 10 'plugin:@typescript-eslint/recommended',
11 'plugin:@typescript-eslint/recommended-requiring-type-checking', 11 'plugin:@typescript-eslint/recommended-requiring-type-checking',
12 'plugin:jest/recommended',
13 'plugin:jest/style',
12 'plugin:prettier/recommended', 14 'plugin:prettier/recommended',
13 ], 15 ],
14 env: { 16 env: {
@@ -67,6 +69,8 @@ module.exports = {
67 '@typescript-eslint/no-non-null-assertion': 'off', 69 '@typescript-eslint/no-non-null-assertion': 'off',
68 // Jest mocks use unbound method references. 70 // Jest mocks use unbound method references.
69 '@typescript-eslint/unbound-method': 'off', 71 '@typescript-eslint/unbound-method': 'off',
72 // We can't turn this on yet, because it doesn't understand `mocked` from `jest-mock`.
73 // 'jest/unbound-method': 'error',
70 }, 74 },
71 }, 75 },
72 { 76 {