Skip to content

Commit

Permalink
chore: centralise eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ripecosta committed Aug 12, 2024
1 parent d3edde1 commit 7098756
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
14 changes: 13 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,17 @@
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }],
"react/jsx-props-no-spreading": 0
}
},
"overrides": [
{
"files": ["test/*"],
"extends": ["plugin:testing-library/react", "plugin:jest-dom/recommended"],
"globals": {
"globalThis": false
},
"rules": {
"testing-library/no-node-access": ["error", { "allowContainerFirstChild": true }]
}
}
]
}
9 changes: 0 additions & 9 deletions test/.eslintrc.json

This file was deleted.

0 comments on commit 7098756

Please sign in to comment.