Skip to content

Commit

Permalink
upgraded yarn and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
HasarAli committed Feb 25, 2022
1 parent d356acb commit 1981dbe
Show file tree
Hide file tree
Showing 6 changed files with 3,071 additions and 3,400 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"plugin:@next/next/recommended",
"plugin:prettier/recommended"
],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
Expand All @@ -21,6 +21,7 @@
"jest": true
},
"rules": {
"react/function-component-definition": 0,
"react-hooks/rules-of-hooks": "error",
"no-debugger": 0,
"no-undef": 0,
Expand Down
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# dependencies
/node_modules
/.pnp
.pnp.js
.next

# testing
Expand All @@ -23,6 +21,12 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

.yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

*-debug.log
785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.1.1.cjs
yarnPath: .yarn/releases/yarn-3.2.0.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
]
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.17.0",
"babel-plugin-styled-components": "^1.13.1",
"concurrently": "^5.3.0",
"eslint": "^8.8.0",
Expand Down
Loading

0 comments on commit 1981dbe

Please sign in to comment.