Skip to content

Commit

Permalink
[Fix] eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
MinWooPark-dotcom committed Jan 29, 2021
1 parent 1dadabc commit 7125c4e
Show file tree
Hide file tree
Showing 40 changed files with 430 additions and 1,621 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parser: "babel-eslint",
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["react"],
rules: {
"no-unused-vars": "off",
"no-console": "off",
"react/prop-types": "off",
},
};
52 changes: 22 additions & 30 deletions package-lock.json

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

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"axios": "^0.21.1",
"babel-eslint": "^10.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-icons": "^4.1.0",
Expand Down Expand Up @@ -44,5 +45,9 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint": "^7.18.0",
"eslint-plugin-react": "^7.22.0"
}
}
Loading

0 comments on commit 7125c4e

Please sign in to comment.