Files
306c467c3b Update Jest examples and docs (#31633)
Co-authored-by: Tim Neutkens <[email protected]>
Co-authored-by: Lee Robinson <[email protected]>
Co-authored-by: stefanprobst <[email protected]>
Co-authored-by: Rich Haines <[email protected]>
2021-11-30 15:10:40 -06:00

16 lines
340 B
JSON

{
"root": true,
"extends": ["next/core-web-vitals"],
"plugins": ["testing-library"],
"overrides": [
// Only uses Testing Library lint rules in test files
{
"files": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"extends": ["plugin:testing-library/react"]
}
]
}