Skip to content

ESLint Disable Watcher

GitHub App

ESLint Disable Watcher

GitHub App

How it works

When a PR is opened or updated, the ESLint Disable Watcher will scan through the diffs of JavaScript files and comment if the PR is adding any strings containing eslint-disable.

Configuration

You don't need any configuration for this to work in your project but you can customize a few things to fit your needs. You can create a .github/eslint-disable-bot.yml file:

# Change this to set the number of comments the watcher should comment on a given PR.
commentLimit: 10
# The message the bot will post on any lines containing a eslint disable comment.
commentMessage: Please don't disable eslint rules :pray:
# A optional regular expression that will match against the branch name and not comment on it if it matches.
skipBranchMatching: null

If you need more configuration, please let me know in a new issue.

Developer

ESLint Disable Watcher is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

Report abuse