Project Icon

eslint-plugin-package-json

Maintain Consistent and Valid package.json Files Using ESLint Rules

Product DescriptionThe ESLint plugin provides rules to enhance consistency and validity in package.json files. It works with the JSONC parser and supports varied project structures like monorepos. Key functionalities involve ordering properties, validating names and versions, and managing repository shorthand. The plugin is customizable, and when used with Prettier, it ensures orderly property formatting and coding standard adherence, supporting developers in organizing package metadata efficiently.
Project Details