Skip to content

Commit

Permalink
glgl
Browse files Browse the repository at this point in the history
  • Loading branch information
wjzlskxk committed Nov 15, 2024
1 parent 233fe4c commit 652172f
Show file tree
Hide file tree
Showing 4 changed files with 1,861 additions and 502 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"no-unused-vars": "off",
"no-console": "off"
}
}
12 changes: 12 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if npx lint-staged; then
echo "๊ฒ€์‚ฌ ํ†ต๊ณผ"
else
echo "์—๋Ÿฌ ๋ฐœ์ƒ!"
echo "๊ฒ€์‚ฌ์— ์‹คํŒจํ•œ ํŒŒ์ผ ๋ฐ ์ฝ”๋“œ ๋ผ์ธ:"
# ์‹คํŒจํ•œ ํŒŒ์ผ๊ณผ ๋ผ์ธ ์ถœ๋ ฅ
npx eslint --quiet --format=compact --ext .ts .
fi

Loading

0 comments on commit 652172f

Please sign in to comment.