-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathaction.yml
45 lines (42 loc) · 1.12 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
42
43
44
45
name: 'Action ESLint'
description: 'GitHub Action that runs ESLint on files changed in a Pull Request'
author: 'sibiraj-s'
branding:
icon: 'check-square'
color: 'green'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
token:
description: The GitHub token used to create an authenticated client
required: false
default: ${{ github.token }}
eslint-args:
description: ESLint CLI flags
required: false
extensions:
description: Extensions to filter
required: false
default: js
annotations:
description: Enable or disable annotations
required: false
default: true
working-directory:
description: Path to project containing npm/yarn installation
required: false
ignore-path:
description: Path to ignore file.
required: false
ignore-patterns:
description: Patterns to ignore. Similar to eslint ignorePatterns
required: false
all-files:
description: Run eslint on all files.
required: false
default: false
use-npx:
description: Enable or disable using npx instead of node node_modules/.bin/eslint
required: false
default: false