Skip to content

Commit

Permalink
chore(headless-react): remove unused test dependencies (#4630)
Browse files Browse the repository at this point in the history
https://coveord.atlassian.net/browse/KIT-3711

Just something I came across while reviewing PRs. We are using vitest
now.
  • Loading branch information
alexprudhomme authored Nov 5, 2024
1 parent 8b2b75d commit cc17db0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 45 deletions.
36 changes: 0 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions packages/headless-react/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ const gtsPath = resolve(gtsPkgJsonPath, '..');
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react', 'testing-library', 'jest-dom'],
extends: [
gtsPath,
'plugin:testing-library/react',
'plugin:jest-dom/recommended',
],
plugins: ['@typescript-eslint', 'react', 'testing-library'],
extends: [gtsPath, 'plugin:testing-library/react'],
rules: {
'react/jsx-uses-vars': 'error',
'react/jsx-uses-react': 'error',
Expand Down
3 changes: 0 additions & 3 deletions packages/headless-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@
"devDependencies": {
"@coveo/release": "1.0.0",
"@testing-library/react": "14.3.1",
"@types/jest": "29.5.12",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.17.0",
"eslint-plugin-jest-dom": "5.4.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-testing-library": "6.2.2",
"gts": "5.3.1",
"jest-environment-jsdom": "29.7.0",
"publint": "0.2.9",
"rimraf": "5.0.9",
"typescript": "5.4.5",
Expand Down

0 comments on commit cc17db0

Please sign in to comment.