Skip to content

Commit

Permalink
chore: eslintrc 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yan9vvoojin committed May 1, 2023
1 parent f488dab commit 5e9243c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"extends": ["react-app", "eslint:recommended", "prettier"],
"rules": {
"no-var": "error", // var 금지
"no-multiple-empty-lines": "error", // 여러 줄 공백 금지
"no-console": ["error", { "allow": ["warn", "error", "info"] }], // console.log() 금지
"eqeqeq": "error", // 일치 연산자 사용 필수
"dot-notation": "error", // 가능하다면 dot notation 사용
"no-unused-vars": "error", // 사용하지 않는 변수 금지
"no-var": "error",
"no-multiple-empty-lines": "error",
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"eqeqeq": "error",
"dot-notation": "error",
"no-unused-vars": "warn",
"no-empty": ["error", { "allowEmptyCatch": true }]
},
"ignorePatterns": ["src/components/.keep", "src/pages/.keep"]
Expand Down

0 comments on commit 5e9243c

Please sign in to comment.