This repository serves as a template to kickstart new front-end web application projects, configured with standardization tools to ensure code consistency and quality.
- ESLint: JavaScript/TypeScript linter.
- Prettier: Code formatter.
- Husky: Git hook execution tool.
- Lint-staged: Runs linters on staged files in Git.
- Conventional Commits: Commit message conventions.
- Commit Lint: Commit message linter.
- EditorConfig: Editor settings standardization.
- Clone this repository to start a new project:
git clone https://github.com/joaohenriquefernandes/api-template.git <your_project_name>
cd <your_project_name>
- Install project dependencies:
npm install
- Start developing your web application!
- EditorConfig: Configure editor rules in the
.editorconfig
file. - ESLint: ESLint rules can be configured in the
.eslintrc.js
file. - Prettier: Prettier settings can be defined in the
.prettierrc
file. - Husky & lint-staged: Configure scripts in the
package.json
file. - Conventional Commits: Utilize the specified conventions in commit messages.
- Commit Lint: Configure commit rules in the
.commitlintrc
file.
Contributions are welcome! Feel free to open issues and send pull requests for improvements.
This project is licensed under the MIT License.