id | title |
---|---|
require-module |
require-module |
Enabling this rule will result in an error being generated if module
is missing from the package.json file.
{
"rules": {
"require-module": "error"
}
}
{
}
{
"module": "src/NpmPackageJsonLint.js"
}
- Introduced in version 2.11.0