forked from stahlscott/eslint-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 1.01 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
name: "ESLint Annotate"
description: "Lints changed files and annotates pull request diffs with errors and warnings."
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
fail-on-warnings:
description: "Fail the lint check if warnings are present. Overrides `quiet`."
default: "false"
required: false
runs:
using: "node16"
main: "lib/index.js"
branding:
icon: "check-circle"
color: "yellow"