environment-agency-austria / eslint-eaa-contrib

ESLint rules for EAA projects
MIT License
0 stars 0 forks source link

Correct dependency declaration #6

Closed maschino closed 5 years ago

maschino commented 5 years ago

I want to:

Explanation or benefit

Currently all of our dependencies are defined as peerDependencies. I think that we can easily switch the following packages to real dependencies:

Maybe even use ~ instead of ^ as a version prefix to only allow patch releases for automatic upgrading. New minor versions could introduce new rules that we don't want.

I'm not sure about eslint itself tho - I think that it should be left as a peerDependency.

Examples of popular eslint configs and their dependencies: