Skip to content

Conflicts with @types/eslint due to eslint-formatter-pretty dependency #221

@foxriver76

Description

@foxriver76

Due to the usage of eslint-formatter-pretty in version 4 I get some conflicts with newer versions of eslint plugins. Here with npm ci

npm error code EUSAGE
npm error
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error
npm error Invalid: lock file's @types/eslint@7.29.0 does not satisfy @types/eslint@9.6.1
npm error Missing: @types/eslint@7.29.0 from lock file

In the end I would say, that eslint-formatter-pretty should not specify any types package as a prod dependency.

foxriver76@MBPvonMoritz2 ioBroker.js-controller % npm ls @types/eslint
npm error code ELSPROBLEMS
npm error invalid: @types/eslint@7.29.0 /Users/foxriver76/workspaces/ioBroker.js-controller/node_modules/@types/eslint
iobroker.js-controller-mono@ /Users/foxriver76/workspaces/ioBroker.js-controller
├─┬ @iobroker/eslint-config@0.1.2
│ └─┬ eslint-plugin-prettier@5.2.1
│   └── @types/eslint@7.29.0 invalid: ">=8.0.0" from node_modules/eslint-plugin-prettier
└─┬ tsd@0.31.2
  └─┬ eslint-formatter-pretty@4.1.0
    └── @types/eslint@7.29.0 deduped invalid: ">=8.0.0" from node_modules/eslint-plugin-prettier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions