Skip to content

Commit

Permalink
update linting & workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GiridharRNair committed Nov 11, 2024
1 parent 79e1647 commit c99094b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
"api": "source ~/.bashrc && npm run create-db && cd api && air",
"vite": "vite",
"dev": "concurrently \"npm run vite\" \"npm run api\"",
"build:dev": "vite build --mode development",
"build": "vite build",
"lint": "eslint . --fix --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"lint:check": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write . --tab-width 4 --print-width 160",
"format:check": "prettier --check . --tab-width 4 --print-width 160",
"preview": "vite preview"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/components/GradesGraph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ function GradesGraph({ grades, subject, course_number }) {

GradesGraph.propTypes = {
grades: PropTypes.object.isRequired,
subject: PropTypes.string,
course_number: PropTypes.string,
};

export default GradesGraph;

0 comments on commit c99094b

Please sign in to comment.