Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
/ eslint-action Public archive
forked from a-b-r-o-w-n/eslint-action

Github action that lints changed files.

License

Notifications You must be signed in to change notification settings

psyked/eslint-action

 
 

Repository files navigation

Eslint Annotate

Runs eslint on changed files and creates inline annotations with errors.

Usage

In .github/workflows/main.yml:

name: Example Workflow

on: [pull_request, push]

jobs:
  lint:
    steps:
      - uses: actions/checkout@v1
      - uses: a-b-r-o-w-n/eslint-action@v1
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          files: "src/**/*"
          ignore: "src/some-file-to-ignore.js"
          extensions: ".js,.ts"

About

Github action that lints changed files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 74.5%
  • JavaScript 25.5%