Skip to content

Commit

Permalink
Revert "Upgrade react scripts (v3) (hackforla#1349)" (hackforla#1350)
Browse files Browse the repository at this point in the history
This reverts commit f694e8c.
  • Loading branch information
MattPereira authored Mar 20, 2023
1 parent f694e8c commit 079ee19
Show file tree
Hide file tree
Showing 16 changed files with 6,530 additions and 5,462 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

11 changes: 4 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"parserOptions": { "requireConfigFile": "false",
"babelOptions": {
"babelrc": false,
},
},
"root": true,
}
"parser": "@babel/eslint-parser",
"parserOptions": { "requireConfigFile": "false" },
"babelOptions": { "configFile": "./.babelrc" }
}
11 changes: 3 additions & 8 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,15 @@
"jsx": true
},
"ecmaVersion": 2017,
"sourceType": "module",
"babelOptions": { "configFile": "../.babelrc" }
"sourceType": "module"
},
"plugins": [
"react",
"only-warn"
],
"plugins": ["react"],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
]
},
"root":true
}
}
8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react-datepicker": "^3.1.3",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "^5.0.1",
"react-scripts": "^3.4.1",
"validator": "^13.7.0"
},
"scripts": {
Expand All @@ -35,6 +35,9 @@
"eject": "react-scripts eject",
"heroku-postbuild": "npm run build"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
Expand All @@ -50,14 +53,11 @@
"author": "sarL3y",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.2",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed client/src/assets/hflalogo.png
Binary file not shown.
Binary file removed client/src/assets/projectleaderdashboard/check.png
Binary file not shown.
Binary file removed client/src/assets/projectleaderdashboard/github.png
Binary file not shown.
Binary file not shown.
Binary file removed client/src/assets/projectleaderdashboard/slack.png
Binary file not shown.
4 changes: 2 additions & 2 deletions client/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body {
"Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-image: url("assets/bg-image-skyline.jpg");
background-image: url("/bg-image-skyline.jpg");
background-repeat: no-repeat;
background-position: bottom;
background-position-y: 80%;
Expand Down Expand Up @@ -156,7 +156,7 @@ label {
}

body {
background-image: url("assets/bg-image-pier.jpg");
background-image: url("/bg-image-pier.jpg");
background-repeat: no-repeat;
background-position: top;
background-size: 1200px 1200px;
Expand Down
10,764 changes: 6,515 additions & 4,249 deletions client/yarn.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"dotenv-cli": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"cypress": "^5.0.0",
"start-server-and-test": "^1.11.3"
}
Expand Down
1,189 changes: 2 additions & 1,187 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 079ee19

Please sign in to comment.