Skip to content

Commit

Permalink
build: Add eslint-config-preact
Browse files Browse the repository at this point in the history
yarn add -D eslint-config-preact
  • Loading branch information
sclaret committed Jan 23, 2024
1 parent 7d961d5 commit bab90a9
Show file tree
Hide file tree
Showing 3 changed files with 1,359 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Expand Up @@ -3,7 +3,7 @@ module.exports = {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"extends": ["preact"],
"overrides": [
{
"env": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -14,6 +14,7 @@
"devDependencies": {
"@preact/preset-vite": "2.8.1",
"eslint": "8.56.0",
"eslint-config-preact": "1.3.0",
"prettier": "3.2.4",
"vite": "5.0.12"
},
Expand Down

0 comments on commit bab90a9

Please sign in to comment.