Registry / testing / eslint-config-ppf

eslint-config-ppf

JSON →
library0.128.1jsnpmunverified

The shared ESLint configuration for the PPF (Pluggable Payments Frontend) project. Version 0.128.1. This package provides a consistent set of ESLint rules tailored for the PPF codebase, likely including React, TypeScript, and Prettier integrations. It is designed to enforce code quality and style across the project. The package is tightly coupled with the PPF ecosystem and may not be suitable for general use outside of it.

npm install eslint-config-ppf
INSTALL
IMPORT
SIG · ESLINT-CONFIG-PPF
E
eslint-config-ppf
testingjavascriptv0.128.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default
import config from 'eslint-config-ppf'
const config = require('eslint-config-ppf')
ESM only; requires ESLint with flat config support
config
import config from 'eslint-config-ppf'
import { config } from 'eslint-config-ppf'
Default export, not named
eslintrc
// .eslintrc.js module.exports = { extends: ['ppf'] }
const config = require('eslint-config-ppf')
Traditional eslintrc format; use string reference

Shows how to extend the PPF config in an eslintrc file with additional rules.

// .eslintrc.js module.exports = { extends: ['ppf'], rules: { 'react/jsx-filename-extension': ['error', { extensions: ['.jsx', '.tsx'] }] } }
Debug
Known issues
gotchaConfig is not published to npm; must be installed from GitHub or private registry.
fix
Use the GitHub package reference or configure npm to access the private registry.
affects: all
gotchaThis config is specific to PPF project conventions and may conflict with other ESLint configs (e.g., standard, airbnb).
fix
Only use in PPF projects or after verifying rule compatibility.
affects: all
gotchaMajor version >=0 so breaking changes can occur with minor updates.
fix
Lock the version in package.json (e.g., '0.128.1') and review changelog before upgrading.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'eslint-config-ppf'
Package not in your npm registry or not installed.
fix
Ensure package is installed: npm install eslint-config-ppf (if published) or add GitHub reference.
Configuration for rule 'react/jsx-filename-extension' is invalid
Conflicting rule definitions between PPF config and user config.
fix
Check rule definitions and override only if necessary; use 'off' or adjust severity.
'ppf' config is not defined in extends
Missing module or improper configuration file.
fix
Verify package is installed and eslintrc is correctly set up (e.g., 'extends: ['ppf']').
Upgrade
Version history
0.128.1latest on npm
Audit
Dependencies
eslintoptionalPeer dependency required to run ESLint
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-ppf — npm install eslint-config-ppf · libregistry