forked from sibiraj-s/action-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (30 loc) · 822 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
32
33
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: '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: ''
extensions:
description: 'Extensions to filter'
required: false
default: 'js'
annotations:
description: 'Enable or disable annotations'
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'