Skip to content

Commit

Permalink
Migration Cleanup (#295)
Browse files Browse the repository at this point in the history
* fix eslint warning- mostly changing img to Image

* refactor components folder files code for formatting

* refactor all code for formatting

* refactor file structure in src

* clean up public folder

* linting and prettier fixes

---------

Co-authored-by: Saloni Vaishnav <[email protected]>
  • Loading branch information
inolasv and Saloni Vaishnav authored May 31, 2024
1 parent 5695673 commit 88b51e0
Show file tree
Hide file tree
Showing 787 changed files with 3,463 additions and 99,884 deletions.
Empty file added .eslintignore
Empty file.
34 changes: 32 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
{
"extends": "next/core-web-vitals"
}
// "extends":
"extends": [
"next/core-web-vitals",
"prettier",
"airbnb",
"airbnb/hooks",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended"
],
"rules": {
"no-console": "error",
"react/require-default-props": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never"
}
],
"import/no-unresolved": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"import/prefer-default-export": "off",
"react/no-array-index-key": "off",
"object-curly-newline": "off"
}
}
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Binary file removed assets/img/logos/sponsors/activeCampaign.png
Binary file not shown.
Binary file removed assets/img/logos/sponsors/citadel.png
Binary file not shown.
Binary file removed assets/img/logos/sponsors/drw.png
Binary file not shown.
Binary file removed assets/img/logos/sponsors/hrt.png
Binary file not shown.
Binary file removed assets/img/logos/sponsors/omc.png
Binary file not shown.
Binary file removed assets/img/logos/sponsors/twoSigma.png
Binary file not shown.
Binary file removed assets/img/members/corporate.png
Binary file not shown.
13 changes: 13 additions & 0 deletions package-lock.json

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

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@
"react-dom": "^18"
},
"devDependencies": {
"eslint": "^8",
"eslint": "^8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-next": "13.5.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"prettier": "^3.2.5"
},
"description": "IllinoisWCS.github.io\r =====================",
Expand Down
7 changes: 0 additions & 7 deletions public/assets/css/calendar.css

This file was deleted.

132 changes: 0 additions & 132 deletions public/assets/css/card.css

This file was deleted.

29 changes: 0 additions & 29 deletions public/assets/css/chictech.css

This file was deleted.

Loading

0 comments on commit 88b51e0

Please sign in to comment.