Skip to content

Commit

Permalink
fix eslint failed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya committed Feb 13, 2024
1 parent b2b9127 commit 466d7b9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 13 deletions.
3 changes: 3 additions & 0 deletions backend/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
13 changes: 10 additions & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,24 @@
"otp-generator": "^4.0.1",
"razorpay": "^2.9.2"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"devDependencies": {
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-env": "^7.23.9",
"babel-jest": "^29.7.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5"
"eslint-plugin-react-refresh": "^0.4.5",
"jest": "^29.7.0",
"nodemon": "^3.0.1"
}
}
3 changes: 3 additions & 0 deletions frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
27 changes: 17 additions & 10 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,34 @@
"swiper": "^11.0.3",
"video-react": "^0.16.0"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-env": "^7.23.9",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"autoprefixer": "^10.4.16",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.4.5",
"vitest": "^0.34.6",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"babel-jest": "^29.7.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5"
"eslint-plugin-react-refresh": "^0.4.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.4.5",
"vitest": "^0.34.6"
}
}
}

0 comments on commit 466d7b9

Please sign in to comment.