This is an opinionated starter tha we use for internal projects. Here is the blog post explaining this setup
The stack is as follows:
- Laravel Breeze
- Inertia with React
- Eslint
- Prettier
- Husky
- Pest
- Eslint Config ( for React )
- Prettier Config
- Husky ( Git hooks )
- Lint Staged and Pretty Quick - Formats the code before commit.
- Laravel Pint
- Laravel Ide Helper
- Github Workflows for running the formatting again in case anything slipped.
You can easily swap the rules on eslint to work with Vue
- Eslint and Prettier are configured to work automatically with the files on
resources/js
- When you make a commit it will run
npm run format
to make sure every file is formatted correctly and as specified in.prettierrc
andeslintrc.js
- When you open a Pull Request that targets
main
it will automatically run two checks. - First check is the
npm run format
to make sure nothing slipped locally and every file is formatted correctly. - Second check is to run the tests with Pest.
- Fork this repo and open a new branch
- Make a commit and PR
For our internal projects we also have Cypress running on every PR but we might include that later.
This starter was brought to you by the team at Lucky Media