Shareable configuration for npm-package-json-lint (v10) enforcing TC's project conventions on package.json files. Current stable version: 10.0.2. Release cadence: follows major versions of underlying linter. Key differentiators: opinionated rules optimized for TC projects, strict requirements on license, version, and repository fields. Requires Node >=22 and npm-package-json-lint as a peer dependency.
npm install npm-package-json-lint-config-tcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Extend the shareable config in .npmpackagejsonlintrc.json and run the linter.
Upgrade Node.js to v22 or later.
Ensure npm-package-json-lint@^10.0.0 is installed.
Upgrade Node.js to v18 or later for v8-v9, v20+ for v10.
Upgrade Node.js to v16 or later (v18+ recommended).
Use ESM imports if possible, or stick to 'extends' in config file.
Use JSON format for the config file.
Run: npm install --save-dev npm-package-json-lint npm-package-json-lint-config-tc
Check rule names in npm-package-json-lint docs and ensure your .npmpackagejsonlintrc.json has correct structure.
Ensure .npmpackagejsonlintrc.json is valid JSON and contains: { "extends": "npm-package-json-lint-config-tc" }Install compatible version: npm install npm-package-json-lint@^10.0.0