-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add require-module
to npmPackageJsonLintConfig
in package.json
#14399
Conversation
13 packages affected: [1] ./packages/babel-plugin-import-jsx-pragma/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/babel-preset-default/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/block-serialization-spec-parser/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/browserslist-config/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/docgen/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/e2e-tests/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/eslint-plugin/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/is-shallow-equal/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/jest-preset-default/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/library-export-default-webpack-plugin/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/npm-package-json-lint-config/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/postcss-themes/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] ./packages/scripts/package.json
[1] ✖ require-module - node: module - module is required
[1] 1 error
[1] 0 warnings
[1]
[1] Totals
[1] 13 errors
[1] 0 warnings |
Is there any way for a package to mark that it is not using |
There is not, currently, I've added a comment to tclindner/npm-package-json-lint#93 (comment) which is seeking to add exceptions for another rule, and as noted in my comment there, there are quite possibly other rules that on occasion exceptions would be handy. |
Would it be fair to consider this as blocked by tclindner/npm-package-json-lint#93 ? Otherwise, how can we move forward here? |
tclindner/npm-package-json-lint#93 appears to have been addressed. Should this be updated now? |
Hi There! I've triaging PRs today and it seems this one is stale. I'm going to close now but please consider reopening if you have some time to refresh it. Thanks. |
Description
Follow up to #14388 to add
require-module
to thenpmPackageJsonLintConfig
inpackage.json
How has this been tested?
Screenshots
Types of changes
Checklist: