Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wjzlskxk committed Nov 15, 2024
1 parent 652172f commit 96877ce
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
"sourceType": "module"
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"plugins": ["unused-imports"],
"rules": {
"no-unused-vars": "off",
"no-console": "off"
"no-console": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{ "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
]
}
}
19 changes: 18 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@
]
},
"devDependencies": {
"@types/js-cookie": "^3.0.3"
"@types/js-cookie": "^3.0.3",
"eslint-plugin-unused-imports": "^4.1.4"
},
"lint-staged": {
"*.ts": [
"eslint --ignore-pattern 'node_modules/' --ext .ts ."
"eslint --fix --ignore-pattern 'node_modules/' --ext .ts ."
]
}
}
4 changes: 3 additions & 1 deletion src/components/Auth/Signin/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import * as S from "./style";
import AuthButton from "components/common/AuthButton";
import TextField from "components/common/TextField";
import { Dispatch, SetStateAction } from "react";
import React, { Dispatch, SetStateAction } from "react";
import { useSignin } from "hooks/auth/useSignin";
import { IoEyeSharp } from "react-icons/io5";
import PointScoreHeader from "components/Point/PointScore/PointScoreHeader";
import { PointDataToCsvData } from "utils/Transform/csvTransform";

interface SigninProps {
setIsSignin: Dispatch<SetStateAction<boolean>>;
Expand Down

0 comments on commit 96877ce

Please sign in to comment.