Files
probot.github.io/_apps/eslint-disable.md
Brandon Keepers f3e4781ac1 Sync data
2018-12-19 21:52:11 +00:00

1.5 KiB

title, description, slug, screenshots, authors, repository, host, stars, updated, installations, organizations
title description slug screenshots authors repository host stars updated installations organizations
ESLint Disable Watcher Comments on pull requests that try to disable eslint rules. eslint-disable-watcher
https://user-images.githubusercontent.com/318208/36699828-d1a92b82-1b45-11e8-9a4d-91da0852d7da.png
koddsson
koddsson/eslint-disable-probot https://eslint-disable-probot.herokuapp.com 17 2018-04-17 09:00:30 UTC 22
thibmaek
ember-intl
telus
buschtoens
levibostian
odykyi
Favna
Spudnik-Group
Berkmann18

Usage

Simply install the app and the bot will keep 👀 on PRs that have eslint-disable comments.

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:

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