-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
41 lines (38 loc) · 1.08 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 'ESLint Code Review'
description: 'Run ESLint on files changed in a pull request with inline error and warning annotations'
author: 'yousufkalim'
branding:
icon: 'check-square'
color: 'yellow'
runs:
using: 'node16'
main: 'dist/index.js'
inputs:
github-token:
description: The GitHub token used to create an authenticated client
required: false
default: ${{ github.token }}
eslint-args:
description: 'ESLint CLI flags'
required: false
default: ''
eslintrc:
description: "User's eslintrc file"
required: false
default: false
extensions:
description: 'Extensions to filter'
required: false
default: 'js'
annotations:
description: 'Enable or disable annotations'
required: false
default: true
auto-fix-before-test:
description: 'Auto format and fix lint issues that are fixable by --fix before actual testing'
required: false
default: true
bin-path:
description: 'Path to eslint installation directory. Defaults to `node_modules/eslint/bin`'
required: false
default: 'node_modules/eslint/bin'