Skip to content

Commit

Permalink
Ignore most ESLint packages from Dependabot
Browse files Browse the repository at this point in the history
Since the version of these packages are dictated by
@kevinoid/eslint-config peerDependencies, only warn when that package is
out of date.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Jun 13, 2020
1 parent 2312403 commit 38fae2c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Dependabot Configuration <https://dependabot.com/docs/config-file/>
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
ignored_updates:
# eslint packages must be updated together due to peerDependencies.
# Ignore all but @kevinoid/eslint-config, which declares peerDependencies.
#
# FIXME: Want to ignore updates outside of peerDependencies (usually major).
# If using package-lock.json, want minor/patch.
# Can't currently configure update_type for ignored_updates.
# https://github.com/dependabot/feedback/issues/340#issuecomment-586450312
- match:
dependency_name: "eslint*"

0 comments on commit 38fae2c

Please sign in to comment.