Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

cody-greene/eslint-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This bot is designed to run eslint on any files modified by a pull-request, and post the results in a review comment.

2 problems (1 errors, 1 warnings)
index.js
  warn 2:5 'fizz' is defined but never used. [no-unused-vars]
lib/server.js
  err 2:1 Parsing error: The keyword 'const' is reserved

Setup

  • fork this repository and commit your .eslintrc files to the config/ directory
    • presets may be added to package.json: .dependencies
    • nested files are supported so you can mirror your project structure: config/test/.eslintrc.json & config/.eslintrc.yml will both apply
  • create a Heroku app and set the ENV vars detailed in example.env
  • create a new webhook on your github repository with:
    • Payload URL: https://$YOUR_APP_NAME.herokuapp.com/run
    • Content Type: application/json
    • Secret: *****
    • Events: pull_request

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors