Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 379 Bytes

pkg-schema.md

File metadata and controls

12 lines (7 loc) · 379 Bytes

Enforces a valid package.json

Enforces a valid package.json by validating it against a schema.

Options

The schema is being cached for seven days by default. If you want to change the duration, you can provide the number of milliseconds that the schema should be cached.

"pkg-schema": ["error", {"maxAge": 86400000}]