Skip to content

Commit

Permalink
eslint conf
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdada committed Aug 9, 2024
1 parent b8092fa commit 615c8f2
Show file tree
Hide file tree
Showing 3 changed files with 670 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import js from '@eslint/js'

export default [
js.configs.recommended,
{
rules: {
'no-unused-vars': 'warn',
'no-undef': 'warn',
},
},
]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"eslint": "^9.8.0",
"husky": "^9.1.4"
}
}
Loading

0 comments on commit 615c8f2

Please sign in to comment.