@mnci/cli 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4546,7 +4546,7 @@ function checkEslintEntryPointReachesTheRules(workspaceRoot) {
|
|
|
4546
4546
|
check: `${ESLINT_USER_FILENAME} imports the mnci rules`,
|
|
4547
4547
|
ok: source.includes(ESLINT_MNCI_FILENAME),
|
|
4548
4548
|
detail: source === "" ? `${ESLINT_USER_FILENAME} is missing, so nothing loads the rules` : `${ESLINT_USER_FILENAME} never mentions ${ESLINT_MNCI_FILENAME}`,
|
|
4549
|
-
remedy: `make its first import \`import mnci from './${ESLINT_MNCI_FILENAME}'\` and spread \`...mnci\` into the exported array, keeping your own blocks after it \u2014 mnci does not rewrite this file, so it cannot do this for you`
|
|
4549
|
+
remedy: `make its first import \`import mnci from './${ESLINT_MNCI_FILENAME}'\` and spread \`...mnci()\` into the exported array, keeping your own blocks after it \u2014 mnci does not rewrite this file, so it cannot do this for you`
|
|
4550
4550
|
}
|
|
4551
4551
|
];
|
|
4552
4552
|
}
|