eslint-prettier-config-optima-apps
v1.0.3
Published
Predefined ESLint & Prettier config for React & TypeScript
Maintainers
Readme
- Delete all your ESLint and Prettier configurations.
- Run the following command to install the package: npm i eslint-prettier-config-optima-apps
- Create a file named eslint.config.js and add the following code:
- module.exports = { extends: ['eslint-prettier-config-optima-apps'], };
- Add the following lines to the scripts section of your package.json file:
- "scripts": { "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --write ." },
- In your code editor, set eslint.config.js as the ESLint configuration file.
- Happy coding! 🚀
