-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
31 lines (31 loc) · 873 Bytes
/
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
name: "Eslint Annotate"
description: "Lints changed files and annotates pull request diffs with errors."
inputs:
repo-token:
description: "Token used to interact with the Github API."
required: true
extensions:
description: "File extensions to lint. Ex: .js,.jsx,.ts,.tsx"
default: ".js,.jsx,.ts,.tsx"
required: false
files:
description: "Glob pattern of files to be linted."
default: "**/*"
required: false
ignore:
description: "Glob pattern to ignore from linting."
default: "**/node_modules/**"
required: false
working-directory:
description: "Directory where eslint should execute."
required: false
quiet:
description: "Silence annotations for ESLint warnings."
default: "false"
required: false
runs:
using: "node12"
main: "lib/index.js"
branding:
icon: "check-circle"
color: "yellow"