Skip to content

Commit

Permalink
Merge pull request #82 from kakao-tech-campus-2nd-step3/minji
Browse files Browse the repository at this point in the history
chore: eslint
  • Loading branch information
minji2219 authored Nov 15, 2024
2 parents 70cdd4e + 401a4f7 commit ed4752e
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
// {
// "env": {
// "browser": true,
// "es2021": true
// },
// "extends": ["plugin:react/recommended", "airbnb", "prettier"],
// "parser": "@typescript-eslint/parser",
// "rules": {
// "no-use-before-define": "off",
// "arrow-body-style": ["error", "as-needed"],
// "requireReturnForObjectLiteral": 0,
// "react/react-in-jsx-scope": "off",
// "react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
// "import/extensions": [
// "error",
// "ignorePackages",
// {
// "js": "never",
// "jsx": "never",
// "ts": "never",
// "tsx": "never"
// }
// ],
// "react/function-component-definition": [
// 2,
// {
// "namedComponents": [
// "function-declaration",
// "arrow-function",
// "function-expression"
// ]
// }
// ]
// },
// "settings": {
// "import/resolver": {
// "node": {
// "extensions": [".js", ".jsx", ".ts", ".tsx"]
// },
// "typescript": {}
// }
// }
// }
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"parser": "@typescript-eslint/parser",
"rules": {
"no-use-before-define": "off",
"arrow-body-style": ["error", "as-needed"],
"requireReturnForObjectLiteral": 0,
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"react/function-component-definition": [
2,
{
"namedComponents": [
"function-declaration",
"arrow-function",
"function-expression"
]
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
},
"typescript": {}
}
}
}

0 comments on commit ed4752e

Please sign in to comment.