We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
package-json/exports-subpaths-style
1 parent f5716d4 commit d72676fCopy full SHA for d72676f
tests/eslint/eslint.config.js
@@ -2104,6 +2104,8 @@ const json = {
2104
};
2105
2106
const packageJSON = {
2107
+ // enforce consistent format for the exports field (implicit or explicit subpaths)
2108
+ 'package-json/exports-subpaths-style': [ERROR, { prefer: 'explicit' }],
2109
// reports on unnecessary empty arrays and objects
2110
'package-json/no-empty-fields': ERROR,
2111
// prevents adding unnecessary / redundant files
0 commit comments