ganta / eslint-action

GitHub Action to run ESLint and comment errors to Pull Request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint Action

ESLint Formatter Docker

GitHub Action to run ESLint and comment errors to Pull Request.

Usage

First, you'll need to set up ESLint in your project. (cf. Getting Started with ESLint)

Then set up the workflow as follows:

name: ESLint

on: pull_request

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: ganta/eslint-action@v1

License

The scripts and documentation in this project are released under the MIT License.

About

GitHub Action to run ESLint and comment errors to Pull Request

License:MIT License


Languages

Language:JavaScript 94.5%Language:Shell 2.9%Language:Dockerfile 2.6%