Registry / testing / npm-package-json-lint-config-bob

npm-package-json-lint-config-bob

JSON →
library1.2.1jsnpmunverified

Shared npm-package-json-lint configuration for packages built with @bconnorwhite/bob. Current stable version is 1.2.1, released with no active development since 2020. It provides a set of linting rules tailored for TypeScript projects using the BOB toolkit. The package is maintained as part of BOB's ecosystem and requires npm-package-json-lint version 5.1.0 or higher as a peer dependency. It differentiates by being a simple configuration preset that enforces BOB conventions.

npm install npm-package-json-lint-config-bob
INSTALL
IMPORT
SIG · NPM-PACKAGE-JSON-L
N
npm-package-json-lint-config-bob
testingjavascriptv1.2.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.

config
extends: 'npm-package-json-lint-config-bob' in .npmpackagejsonlintrc.json
import config from 'npm-package-json-lint-config-bob'
This package is used as an npm-package-json-lint config, not a JS import. Reference it in the 'extends' field of your .npmpackagejsonlintrc.json file.

Configure npm-package-json-lint to use the BOB preset by extending this config in a JSON file.

// .npmpackagejsonlintrc.json { "extends": "npm-package-json-lint-config-bob" } // Then run: // npx npm-package-json-lint .
Debug
Known issues
breakingRequires npm-package-json-lint version ^5.1.0
fix
Ensure npm-package-json-lint is at version 5.1.0 or higher.
affects: >=1.0.0
gotchaThis package is not directly importable; it's a configuration preset for npm-package-json-lint.
fix
Do not use require/import; instead reference it in the 'extends' field of your config file.
affects: >=1.0.0
deprecatedPackage has not been updated since 2020; may not support newer npm-package-json-lint versions beyond 5.x.
fix
Consider using alternative configs or extending manually for latest npm-package-json-lint.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'npm-package-json-lint-config-bob'
The package is not installed or npm-package-json-lint cannot resolve the config name.
fix
Install the package: npm install npm-package-json-lint-config-bob --save-dev
Invalid config: "extends" must be a string, array, or configuration object
Mistyped the config file or used an unsupported format.
fix
Ensure .npmpackagejsonlintrc.json contains a valid JSON object with 'extends' set to the string 'npm-package-json-lint-config-bob'.
Upgrade
Version history
1.2.1latest on npm
Audit
Dependencies
npm-package-json-lintrequiredpeer dependency required to run linting
Agent activity
2 hits · last 30 days
node
2
Resources
npm-package-json-lint-config-bob — npm install npm-package-json-lint-config-bob · libregistry