Skip to content

Commit

Permalink
๐Ÿ”ง Conf : ESLint ํ™˜๊ฒฝ ์„ค์ • ํŒŒ์ผ ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
nalsae committed Sep 28, 2023
1 parent eb61751 commit cb7280d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.prettierrc.js
.eslintrc.js
39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@next/next/recommended",
"next/core-web-vitals",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"usePrettierrc": true
}
],
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/display-name": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}

0 comments on commit cb7280d

Please sign in to comment.