An ESLint shareable config that combines StandardJS linting rules (excluding stylistic rules) with Prettier formatting. Version 3.0.1 requires ESLint 6, eslint-plugin-promise 4.2.1+, and eslint-plugin-react 7.14.2+ as peer dependencies. Unlike eslint-config-standard, this config strips out style rules to avoid conflicts with Prettier. It is a lightweight alternative to full Standard or eslint-config-prettier setups, intended specifically for React projects. The package is rarely updated but stable for its target ESLint version range.
npm install eslint-config-pretty-standardVerified import paths — ran on the pinned version, not inferred.
Install peer dependencies and add the config to an ESLint config file. No need to add the eslint-config- prefix.
Ensure ESLint 6.x is installed. For ESLint 5, use eslint-config-pretty-standard@2.x.
Consider migrating to a maintained config like eslint-config-prettier or eslint-config-standard-with-typescript.
Let Prettier handle formatting; avoid adding ESLint style rules (e.g., semi, quotes) to your config.
Install eslint-plugin-react as a dev dependency or consider using a different config if not using React.
npm install --save-dev eslint-plugin-promise@^4.2.1
npm install --save-dev eslint-plugin-react@^7.14.2
Add 'settings': { 'react': { 'version': 'detect' } } to your ESLint config or set a specific version.