-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
41 lines (41 loc) · 1.19 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 Suggestion'
description: 'Pull Request Suggestions from ESLint'
inputs:
request-changes:
description: "Request changes if ESLint doesn't pass."
required: false
default: true
fail-check:
description: "Fail the workflow and its corresponding check if ESLint doesn't pass."
required: false
default: false
github-token:
description: 'GitHub token.'
required: false
default: ${{ github.token }}
directory:
description: "Directory to run ESLint if it's not the project's root directory."
required: false
default: './'
targets:
description: 'Files, directories, and/or globs to run ESLint.'
required: false
default: '.'
eslint-lib-path:
description: 'Path to the ESLint JavaScript library file.'
required: false
default: './node_modules/eslint/lib/api.js'
eslint-bin-path:
description: 'Path to the ESLint binary file.'
required: false
default: './node_modules/.bin/eslint'
deprecationMessage: 'Use eslint-lib-path instead.'
config-path:
description: 'Path to the ESLint config file.'
required: false
runs:
using: 'node20'
main: 'bundle/index.js'
branding:
icon: 'plus-square'
color: 'blue'