Skip to content

Commit 5fe53fb

Browse files
committed
integrate prettier with eslint
1 parent 1f4d231 commit 5fe53fb

File tree

2 files changed

+144
-1
lines changed

2 files changed

+144
-1
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"ignorePatterns": [
3737
"build/"
3838
],
39-
"plugins": ["prettier"],
39+
"plugins": [
40+
"prettier"
41+
],
4042
"rules": {
4143
"prettier/prettier": "error",
4244
"@typescript-eslint/no-explicit-any": "warn"
@@ -53,7 +55,9 @@
5355
"eslint": "^8.57.1",
5456
"eslint-config-preact": "^1.5.0",
5557
"eslint-config-prettier": "^9.1.0",
58+
"eslint-plugin-compat": "^6.0.2",
5659
"eslint-plugin-prettier": "^5.2.1",
60+
"eslint-plugin-react-hooks": "^5.1.0",
5761
"if-env": "^1.0.4",
5862
"jest": "^29.7.0",
5963
"jest-preset-preact": "^4.1.1",

0 commit comments

Comments
 (0)