eslint-config-benoitz-prettier

raw JSON →
1.1.0 verified Sat Apr 25 auth: no javascript

A personal ESLint configuration preset that integrates with Prettier for consistent code formatting. Version 1.1.0, no regular release cadence (maintained sporadically alongside author's projects). Differentiates by being a minimal, opinionated config tailored to the author's preferences, with no extra plugins beyond what's needed for Prettier compatibility. Suitable for small projects or as a starting point, but lacks community support and may become outdated.

error Error: Cannot find module 'eslint-config-benoitz-prettier'
cause The module is not installed or the extends name is incorrect.
fix
Run 'npm install eslint-config-benoitz-prettier --save-dev' and ensure you use 'extends: ['benoitz-prettier']' without the 'eslint-config-' prefix.
deprecated This package is a personal config and may not be maintained regularly.
fix Consider using a community-maintained alternative like eslint-config-prettier.
gotcha The config uses 'benoitz-prettier' as the extends name, not the npm package name with 'eslint-config-' prefix.
fix Use 'extends: ['benoitz-prettier']' in your ESLint config; do not include the 'eslint-config-' prefix.
npm install eslint-config-benoitz-prettier
yarn add eslint-config-benoitz-prettier
pnpm add eslint-config-benoitz-prettier

Shows how to extend the preset in an ESLint config file using CommonJS require style.

// .eslintrc.js
module.exports = {
  extends: ['benoitz-prettier'],
  rules: {
    // your custom rules
  }
};