{"id":26954,"library":"eslint-config-ppf","title":"PPF ESLint Config","description":"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.","status":"active","version":"0.128.1","language":"javascript","source_language":"en","source_url":"https://github.com/OpenGov/pluggable-payments","tags":["javascript"],"install":[{"cmd":"npm install eslint-config-ppf","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-ppf","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-ppf","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to run ESLint","package":"eslint","optional":true}],"imports":[{"note":"ESM only; requires ESLint with flat config support","wrong":"const config = require('eslint-config-ppf')","symbol":"default","correct":"import config from 'eslint-config-ppf'"},{"note":"Default export, not named","wrong":"import { config } from 'eslint-config-ppf'","symbol":"config","correct":"import config from 'eslint-config-ppf'"},{"note":"Traditional eslintrc format; use string reference","wrong":"const config = require('eslint-config-ppf')","symbol":"eslintrc","correct":"// .eslintrc.js\nmodule.exports = {\n  extends: ['ppf']\n}"}],"quickstart":{"code":"// .eslintrc.js\nmodule.exports = {\n  extends: ['ppf'],\n  rules: {\n    'react/jsx-filename-extension': ['error', { extensions: ['.jsx', '.tsx'] }]\n  }\n}","lang":"javascript","description":"Shows how to extend the PPF config in an eslintrc file with additional rules."},"warnings":[{"fix":"Use the GitHub package reference or configure npm to access the private registry.","message":"Config is not published to npm; must be installed from GitHub or private registry.","severity":"gotcha","affected_versions":"all"},{"fix":"Only use in PPF projects or after verifying rule compatibility.","message":"This config is specific to PPF project conventions and may conflict with other ESLint configs (e.g., standard, airbnb).","severity":"gotcha","affected_versions":"all"},{"fix":"Lock the version in package.json (e.g., '0.128.1') and review changelog before upgrading.","message":"Major version >=0 so breaking changes can occur with minor updates.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Ensure package is installed: npm install eslint-config-ppf (if published) or add GitHub reference.","cause":"Package not in your npm registry or not installed.","error":"Cannot find module 'eslint-config-ppf'"},{"fix":"Check rule definitions and override only if necessary; use 'off' or adjust severity.","cause":"Conflicting rule definitions between PPF config and user config.","error":"Configuration for rule 'react/jsx-filename-extension' is invalid"},{"fix":"Verify package is installed and eslintrc is correctly set up (e.g., 'extends: ['ppf']').","cause":"Missing module or improper configuration file.","error":"'ppf' config is not defined in extends"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}