eslint-plugin-editorconfig icon indicating copy to clipboard operation
eslint-plugin-editorconfig copied to clipboard

Move `eslint` package to `peerDependencies`

Open ljharb opened this issue 1 year ago • 2 comments

It'd be great if you added eslint to peerDependencies, so that npm can programmatically ensure i have a compatible eslint.

ljharb avatar Aug 26 '24 22:08 ljharb

That sounds reasonable. When I made this plugin, I added eslint to dependencies because it calls its API, but peerDependencies should be the better option.

phanect avatar Aug 26 '24 23:08 phanect

You can add it to both, too.

ljharb avatar Aug 27 '24 01:08 ljharb