Registry / testing / eslint-config-prettier-standard

eslint-config-prettier-standard

JSON →
library4.0.1jsnpmunverified

An ESLint shareable config for projects using Prettier and JavaScript Standard Style as ESLint rules. Version 4.0.1 is the latest stable release. It combines eslint-config-standard and eslint-config-prettier, along with eslint-plugin-prettier and prettier-config-standard. The config ensures that ESLint rules do not conflict with Prettier formatting. Compared to alternatives like eslint-config-prettier alone, this package provides a zero-config setup that aligns with Standard Style. It supports both ESLint-config-based and JavaScript-based Prettier configuration.

npm install eslint-config-prettier-standard
INSTALL
IMPORT
SIG · ESLINT-CONFIG-PRET
E
eslint-config-prettier-standard
testingjavascriptv4.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prettier-standard
extends: ['prettier-standard']
extends: 'eslint-config-prettier-standard'
Use the shorthand 'prettier-standard' as the config name
prettier-standard/eslint-file-base
extends: ['prettier-standard/eslint-file-base', 'foo', 'prettier-standard/end']
extends: ['prettier-standard/eslint-file-base'] (missing /end)
Use for custom ordering, must include /end at the end
prettier-standard/end
extends: ['prettier-standard/eslint-file-base', 'prettier-standard/end']
extends: ['prettier-standard/end'] alone
Should not be used alone; always pair with eslint-file-base

Basic ESLint configuration using eslint-config-prettier-standard as the last extends entry.

// .eslintrc.json { "extends": [ "prettier-standard" ] }
Debug
Known issues
breakingVersion 4.0.0 removed references to deprecated eslint-plugin-standard; ensure you are not using it.
fix
Remove eslint-plugin-standard from your dependencies; it's no longer needed.
affects: >=4.0.0
deprecatedVersion 3.0.2 changed eslint-config-standard peer dependency range to <16.0.0 to avoid deprecation warnings.
fix
Use eslint-config-standard version 12 to <16.0.0.
affects: >=3.0.2 <4.0.0
gotchaAlways put prettier-standard last in the extends array to avoid conflicts with Prettier.
fix
Order extends as: ['other-configs', 'prettier-standard']
affects: >=1.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'prettier' declared in 'BaseConfig'
Missing eslint-plugin-prettier dependency
fix
npm install --save-dev eslint-plugin-prettier
Cannot find module 'eslint-config-standard'
Missing eslint-config-standard peer dep
fix
npm install --save-dev eslint-config-standard
Configuration for rule 'prettier/prettier' is invalid
Prettier plugin not installed or misconfigured
fix
Ensure eslint-plugin-prettier and prettier-config-standard are installed and extends includes 'prettier-standard'
Upgrade
Version history
4.0.1latest on npm
Audit
Dependencies
eslint-config-prettierrequiredDisables ESLint rules that conflict with Prettier
eslint-config-standardrequiredProvides JavaScript Standard Style rules
eslint-plugin-prettierrequiredRuns Prettier as an ESLint rule
prettier-config-standardrequiredPrettier configuration compatible with Standard Style
Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
eslint-config-prettier-standard — npm install eslint-config-prettier-standard · libregistry