Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 637 Bytes

require-typings.md

File metadata and controls

46 lines (31 loc) · 637 Bytes
id title
require-typings
require-typings

Enabling this rule will result in an error being generated if typings is missing from the package.json file.

Example .npmpackagejsonlintrc configuration

{
  "rules": {
    "require-typings": "error"
  }
}

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
  "typings": "./lib/main.d.ts"
}

Related

require-types

Notes

See https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html for more details.

History

  • Introduced in version 3.7.0