GitXplorerGitXplorer
k

eslint-disable-probot

public
44 stars
7 forks
7 issues

Commits

List of commits on branch master.
Verified
5772b6fe89b3c9e284bac76a4beea9c98f773e84

Merge pull request #7 from montmanu/fix/comment-position

committed 7 years ago
Verified
0efe242c1413a8c9358741b32f6124ad08e8d756

change scope of `currentPosition`

mmontmanu committed 7 years ago
Unverified
df093c8544096a0f086bb6561cf1984f4f9192a8

update documentation

kkoddsson committed 7 years ago
Unverified
22f3b7948e4d8d4c9285e8e7e16484047f8bbd38

remove feature flag

kkoddsson committed 7 years ago
Unverified
05ff96d0e723dc54246be7b5aabd3d0ebc42c7c7

set the log level back to the default value

kkoddsson committed 7 years ago
Unverified
befe0a726b3aa7de49ac5a67102022445e4ed4e4

pull the loggin a bit together

kkoddsson committed 7 years ago

README

The README file for this repository.

eslint-disable-bot

A GitHub App built with probot that comments on pull requests that try to disable eslint rules.

screen shot 2018-02-26 at 22 38 10

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:
# 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.

Development setup

# Install dependencies
npm install

# Run the bot
npm start