This is portfolio website created using ReactJS and MUI.
Lint staged is setup in this project so that all the lint checks i.e. lint, prettier and stylelint only on staged files.
Husky is setup as pre-commit hook to run the lint-staged and all tests so that no one can acciendently commit faulty code.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Run lint on all ts, tsx, js and jsx files using Airbnb linting rules.
Tries to fix linting errors where all possible.
Run the code formatting checks on ts, tsx, js and jsx files.
Tried to fix formatting errors where all possible.
Run the style lint on styled components on ts, tsx, js and jsx files.
Tried to fix all possible style linting errors.
Run all the tests using jest and react testing library.
Run all the tests using jest and react testing library and generate & display coverage.
Run all the lint checks on all the staged files
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.