leo-buneev / eslint-plugin-sort-keys-fix

Fork of https://eslint.org/docs/rules/sort-keys that allows automatic fixing
95 stars 22 forks source link

Add missing undeclared dependencies #23

Closed bitboxx closed 2 years ago

bitboxx commented 3 years ago

I'm adding dependencies that are being require'd in the codebase, but not defined in package.json. This issue is detected by Yarn 2 (My config: Zero-Installs, yarn dlx @yarnpkg/pnpify --sdk vscode).

Temporary workaround, add in .yarnrc.yml:

packageExtensions:
  eslint-plugin-sort-keys-fix@*:
    dependencies:
      requireindex: "~1.2.0"
      espree: "^6.1.2"
      esutils: "^2.0.2"
      natural-compare: "^1.4.0"
lensbart commented 2 years ago

@leo-buneev Any chance this could get merged and published? The change doesn’t impact code functionality. Thanks!

leo-buneev commented 2 years ago

Thank you! Apologies for such a long delay.