{"repo":"danielalves96/eslint-prettier-next-15","free":true,"listed":false,"github":"https://github.com/danielalves96/eslint-prettier-next-15","clone":"git clone https://github.com/danielalves96/eslint-prettier-next-15.git","description":"This script automates the setup of ESLint and Prettier for Next.js 15 projects, ensuring high code quality and consistency. It detects the package manager, removes existing configurations, installs necessary dependencies, and configures the project automatically.","language":"JavaScript","stars":43,"topics":["eslint","nextjs","nextjs13","nextjs14","nextjs15","prettier","prettier-eslint"],"license":null,"category":"workflow-automation","readme_excerpt":"🚀 ESLint + Prettier Setup for Next.js 15 This script automates the setup of ESLint and Prettier for Next.js 15 projects, ensuring high code quality and consistency. It detects the package manager, removes existing configurations, installs necessary dependencies, and configures the project automatically. 📌 Features - 🏗 Automatic Package Manager Detection ( npm , yarn , pnpm , or bun ) - 🧹 Removes Old ESLint & Prettier Configurations - 📦 Installs Latest ESLint & Prettier Dependencies - 🛠 Adds ESLint & Prettier Configuration Files - 🔄 Updates package.json Scripts 📥 Installation You can run this setup in a Next.js 15 project using the following command: or if using yarn : or with pnpm : or with bun : 📦 Dependencies Installed The following dependencies will be installed: - @eslint/eslintrc@3.2.0 - @eslint/js@9.18.0 - @ianvs/prettier-plugin-sort-imports@4.4.0 - @typescript-eslint/eslint-plugin@8.19.1 - @typescript-eslint/parser@8.19.1 - eslint@9.18.0 - eslint-config-next@15.1.4 - eslint-config-prettier@9.1.0 - eslint-plugin-prettier@5.2.1 - prettier@3.4.2 - prettier-plugin-sort-json@4.1.1 📖 Usage After running the script, you can use the following commands in your project: Linting Commands - 🛠 Check for linting errors - 🔧 Fix linting issues Formatting Commands - ✨ Format files - 🔍 Check formatting (without modifying files) 🛠 Configuration Files After setup, the following configuration files will be created in your project: .prettierrc.json .prettierignore eslint.confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielalves96","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielalves96/eslint-prettier-next-15/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."}