An ESLint plugin containing internal linting rules used by the Prettier project itself. Version 2.0.1 is the current stable release, part of the Prettier monorepo and published to npm primarily for Prettier contributors. The plugin enforces coding conventions within Prettier's codebase, such as no unnecessary backticks or no nested ternaries. It is not intended for general public use but can be referenced for custom rule development.
npm install eslint-plugin-prettier-internal-rulesVerified import paths — ran on the pinned version, not inferred.
Shows how to load the plugin and enable the 'no-unnecessary-backticks' rule in a flat ESLint config.
Use only if contributing to Prettier or as a reference.
Use import syntax or update Node.js to support ESM.
Use ESLint flat config (eslint.config.js).
Pin exact version if using externally.
npm install eslint-plugin-prettier-internal-rules --save-dev
Use import instead of require.
Migrate to flat config (eslint.config.js).
No dependency data recorded yet.