plugin-kit icon indicating copy to clipboard operation
plugin-kit copied to clipboard

Fresh install ESLintIgnoreWarning

Open codercatdev opened this issue 1 year ago • 2 comments

Describe the bug

ESLintIgnoreWarning: The ".eslintignore" file is no longer supported. Switch to using the "ignores" property in "eslint.config.js": https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files
(Use `node --trace-warnings ...` to show where the warning was created)

To Reproduce

Steps to reproduce the behavior:

  1. Initialize
  2. Verify pnpx @sanity/plugin-kit@latest verify-package

Expected behavior

No warnings. No .eslintignore file should be generated.

Screenshots image

Which versions of Sanity are you using?

@sanity/cli (global) 3.14.4 (latest: 3.44.0) @sanity/incompatible-plugin 1.0.4 (up to date) @sanity/pkg-utils 6.8.18 (up to date) @sanity/plugin-kit 4.0.16 (up to date) sanity 3.44.0 (up to date)

What operating system are you using?

Mac

Which versions of Node.js / npm are you running?

pnpm 9.0.5

Additional context

Add any other context about the problem here.

Security issue?

Any security issues should be submitted directly to [email protected]. In order to determine whether you are dealing with a security issue, ask yourself these two questions:

  • Can I access something that's not mine, or something I shouldn't have access to?
  • Can I disable something for other people? If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at [[email protected]](mailto:[email protected].

codercatdev avatar Jun 02 '24 16:06 codercatdev

What ESLint version are you using?

stipsan avatar Jun 04 '24 11:06 stipsan

the one in the default package.json "eslint": "^8.57.0",

I think...hummm

codercatdev avatar Jun 14 '24 16:06 codercatdev