We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03afac5 commit db3101cCopy full SHA for db3101c
1 file changed
tests/.eslintrc.yml
@@ -1,6 +1,17 @@
1
---
2
- env:
3
- jest: true
4
- rules:
5
- prefer-arrow-callback: 0
6
- no-mixed-requires: 0
+plugins:
+ - jest
+ - jest-dom
+ - testing-library
+extends:
7
+ - plugin:jest/recommended
8
+ - plugin:jest-dom/recommended
9
+ - plugin:testing-library/react
10
+env:
11
+ jest: true
12
+rules:
13
+ prefer-arrow-callback: 0
14
+ no-mixed-requires: 0
15
+ # This disallows using direct Node properties (eg: firstChild), but we have
16
+ # legitimate uses:
17
+ testing-library/no-node-access: 0
0 commit comments