Skip to content

Commit

Permalink
fix4
Browse files Browse the repository at this point in the history
  • Loading branch information
subho004 committed Nov 20, 2023
1 parent 7f4dd3e commit 0e9517d
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 54 deletions.
29 changes: 29 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": ["react", "react-hooks"],
"rules": {
// Add or modify rules as needed
"react/prop-types": "off", // Disable prop-types validation (optional)
"react/react-in-jsx-scope": "off", // React is in scope for JSX (optional)
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
// Other rules...
},
"settings": {
"react": {
"version": "detect" // Automatically detect the React version
}
}
}
36 changes: 0 additions & 36 deletions output.js

This file was deleted.

32 changes: 16 additions & 16 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@vitejs/plugin-react": "^4.0.3",
"babel-cli": "^6.26.0",
"babel-loader": "^9.1.3",
"eslint": "^8.45.0",
"eslint-plugin-react": "^7.32.2",
"eslint": "^8.54.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"sass": "^1.69.5",
Expand Down

0 comments on commit 0e9517d

Please sign in to comment.