You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When yo:eslint:plugin is used to generate a new plugin, the Usage section of the generated README.md file should provide instructions to configure a current configuration file, for example eslint.config.mjs, compatible with ESLint v9.
mkdir generator-eslint-test
cd generator-eslint-test
Execute yo eslint:plugin and accept defaults:
$ yo eslint:plugin
? What is your name? Tester
? What is the plugin ID? template-test
? Type a short description of this plugin: Template test
? Does this plugin contain custom ESLint rules? Yes
? Does this plugin contain one or more processors? No
create package.json
create eslint.config.mjs
create lib/index.js
create README.md
Changes to package.json were detected.
Error detecting the package manager. Falling back to npm.
Running npm install for you to install the required dependencies.
npm warn ERESOLVE overriding peer dependency
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
added 230 packages, and audited 231 packages in 4s
55 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
The text was updated successfully, but these errors were encountered:
Current behavior
When
yo:eslint:plugin
is used to generate a new plugin, theUsage
section of the generatedREADME.md
file saysand provides instructions to configure a deprecated legacy configuration file
.eslintrc
.Expected behavior
When
yo:eslint:plugin
is used to generate a new plugin, theUsage
section of the generatedREADME.md
file should provide instructions to configure a current configuration file, for exampleeslint.config.mjs
, compatible with ESLintv9
.Versions
24.04.1
LTSv20.18.0
LTS10.8.2
yo
5.0.0
generator-eslint
5.1.0
Steps to repoduce
mkdir generator-eslint-test cd generator-eslint-test
Execute
yo eslint:plugin
and accept defaults:The text was updated successfully, but these errors were encountered: