{"repo":"prettier/eslint-config-prettier","free":true,"listed":false,"github":"https://github.com/prettier/eslint-config-prettier","clone":"git clone https://github.com/prettier/eslint-config-prettier.git","description":"Turns off all rules that are unnecessary or might conflict with Prettier.","language":"JavaScript","stars":5885,"topics":["react","eslint-config","eslint","prettier"],"license":"MIT","category":"ui-components","readme_excerpt":"eslint-config-prettier Turns off all rules that are unnecessary or might conflict with [Prettier]. This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier. Note that this config only turns rules off, so it only makes sense using it together with some other config. [prettier]: https://github.com/prettier/prettier Installation 1. Install eslint-config-prettier: 2. Add eslint-config-prettier to your ESLint configuration – either to [eslintrc] or to [eslint.config.js (flat config)]. - eslintrc: Add \"prettier\" to the \"extends\" array in your .eslintrc. file. Make sure to put it last, so it gets the chance to override other configs. - eslint.config.js (flat config): Import eslint-config-prettier, and put it in the configuration array – after other configs that you want to override. 3. Finally, run the CLI helper tool to find problems in the \"rules\" sections of your config. 👉 Using [eslint-plugin-prettier]? Check out [eslint-plugin-prettier’s recommended config][eslint-plugin-prettier-recommended]. Plugins eslint-config-prettier not only turns off core rules, but also some from these plugins automatically: - [@babel/eslint-plugin] - [@stylistic/eslint-plugin] - [@typescript-eslint/eslint-plugin] - [eslint-plugin-babel] - [eslint-plugin-flowtype] - [eslint-plugin-react] - [eslint-plugin-standard] - [eslint-plugin-unicorn] - [eslint-plugin-vue] ℹ️ Note: You might find guides on the Internet saying you should also extend","default_branch":null,"files":null,"tree":[],"storefront":"/r/prettier","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/prettier/eslint-config-prettier/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}