sanity-io / plugin-kit

Enhanced Sanity.io plugin development experience.
MIT License
70 stars 7 forks source link

Fresh install ESLintIgnoreWarning #234

Open codercatdev opened 1 month ago

codercatdev commented 1 month ago

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 security@sanity.io. In order to determine whether you are dealing with a security issue, ask yourself these two questions:

stipsan commented 1 month ago

What ESLint version are you using?

codercatdev commented 3 weeks ago

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

I think...hummm