Skip to content
a GitHub App that lints and fixes code in Pull Requests
JavaScript
Branch: master
Clone or download
hiimbex Merge pull request #10 from probot/updates
Standard Lint and clean up a few things
Latest commit a47edf8 Feb 19, 2018

README.md

Linter

a GitHub App built with probot that lints and fixes code in Pull Requests.

screen shot 2017-07-25 at 10 08 38 pm

screen shot 2017-07-25 at 10 10 53 pm

Usage

  1. Install the bot on the intended repositories. The plugin requires the following Permissions and Events:
  • Repository Contents: Read & Write
    • check the box for Push events
  1. Optionally, you can add a .github/linter.yml file that contains the following optionally editable fields:
# Configuration for linter - https://github.com/probot/linter

# a list of files the linter will NOT be applied to
exclude:
  - index.js
  - config.js

# Options to be passed into the javascript standard linter
# More documentation on what is acceptable here can be found in the standard docs here: https://github.com/standard/standard#standardlinttexttext-opts-callback
globals: []  # custom global variables to declare
plugins: []  # custom eslint plugins
envs: []     # custom eslint environment

Setup

# Install dependencies
npm install

# Run the bot
npm start

See docs/deploy.md if you would like to run your own instance of this plugin.

You can’t perform that action at this time.