Skip to content

Commit 217c892

Browse files
authored
Merge pull request #10 from winterofcode/deployFix2
fix4
2 parents 188be43 + 0e9517d commit 217c892

File tree

4 files changed

+47
-54
lines changed

4 files changed

+47
-54
lines changed

.eslintrc.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": ["eslint:recommended", "plugin:react/recommended"],
8+
"parserOptions": {
9+
"ecmaFeatures": {
10+
"jsx": true
11+
},
12+
"ecmaVersion": 2021,
13+
"sourceType": "module"
14+
},
15+
"plugins": ["react", "react-hooks"],
16+
"rules": {
17+
// Add or modify rules as needed
18+
"react/prop-types": "off", // Disable prop-types validation (optional)
19+
"react/react-in-jsx-scope": "off", // React is in scope for JSX (optional)
20+
"react-hooks/rules-of-hooks": "error",
21+
"react-hooks/exhaustive-deps": "warn"
22+
// Other rules...
23+
},
24+
"settings": {
25+
"react": {
26+
"version": "detect" // Automatically detect the React version
27+
}
28+
}
29+
}

output.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"@vitejs/plugin-react": "^4.0.3",
2929
"babel-cli": "^6.26.0",
3030
"babel-loader": "^9.1.3",
31-
"eslint": "^8.45.0",
32-
"eslint-plugin-react": "^7.32.2",
31+
"eslint": "^8.54.0",
32+
"eslint-plugin-react": "^7.33.2",
3333
"eslint-plugin-react-hooks": "^4.6.0",
3434
"eslint-plugin-react-refresh": "^0.4.3",
3535
"sass": "^1.69.5",

0 commit comments

Comments
 (0)