Skip to content

Commit

Permalink
feat: add lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Daydreamer-riri committed Sep 6, 2023
1 parent d5ab0ed commit ea0729b
Show file tree
Hide file tree
Showing 3 changed files with 227 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"prettier.enable": false,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"css",
"json"
// ...
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"bumpp": "^9.2.0",
"eslint": "^8.48.0",
"esno": "^0.17.0",
"lint-staged": "14.0.1",
"rimraf": "5.0.1",
"simple-git-hooks": "^2.9.0",
"typescript": "5.2.2",
Expand Down
Loading

0 comments on commit ea0729b

Please sign in to comment.