This script configures a ViteReact project with Prettier, ESLint, and TypeScript. It installs necessary dependencies, creates configuration files, and modifies the package.json file to include a format script.
- Installs Prettier and ESLint dependencies
- Creates
.prettierrcand.prettierignoreconfiguration files - Modifies
package.jsonto include a format script - Configures ESLint to use Prettier
- Clone the repository
- Run the script by executing
bash script.sh(assuming the script is namedscript.sh) - Follow the prompts to complete the configuration
- .prettierrc: Configures Prettier settings
- .prettierignore: Specifies files and directories to ignore for Prettier
- .eslintrc.cjs: Configures ESLint settings
- Marcelo Robin
- Jesús García
This project is licensed under the MIT License. See LICENSE.txt for more information.
Contributions are welcome. If you have a suggestion or improvement, please fork the repository and create a pull request.
For any questions or issues, please contact Synergy2Devs.
- Prettier
- ESLint
- Vite