actions-marketplace-validations/ESLint changed files
Run ESLint on all changed files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | [GITHUB TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) or a repo scoped [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) | yes | ${{ github.token }} |
| all_files | Run [ESlint](https://eslint.org) on all matching files. | no | false |
| config_path | [ESLint](https://eslint.org/) [configuration file](https://eslint.org/docs/user-guide/configuring/). Optionally omit this input for Mono repositories. | no | "" |
| ignore_patterns | [ESLint](https://eslint.org/docs/latest/use/configure/ignore) [configuration file](https://eslint.org/docs/latest/use/configure/ignore#ignoring-files) ignores key. Optionally ignoring files in the `ignores` key from being passed to ESLint, this input would be ignored when `all_files` is set to `true`. | no | "" |
| file_extensions | List of file extensions to watch for changes and run [ESlint](https://eslint.org/) against. | no | **/*.{ts,tsx,js,jsx} |
| extra_args | Extra arguments passed to [ESlint](https://eslint.org/docs/user-guide/command-line-interface) | no | "" |
| skip_annotations | Skip running reviewdog i.e don't add any annotations. | no | false |
| level | Report level for reviewdog (info,warning,error) | no | error |
| reporter | [Reporter](https://github.com/reviewdog/reviewdog#reporters) of reviewdog command (github-check, github-pr-review). github-pr-review can use Markdown and add a link to the rule page in reviewdog reports. | no | github-pr-review |
| filter_mode | [Filter mode](https://github.com/reviewdog/reviewdog#filter-mode) for the reviewdog command (added, diff_context, file, nofilter). | no | added |
| fail_on_error | Exit code for reviewdog when errors are found. | no | true |
| path | Relative path under GITHUB_WORKSPACE to the repository | no | . |
| skip_initial_fetch | Skip initially fetching additional history to improve performance for shallow repositories. NOTE: This could lead to errors with missing history. It's intended to be used when you've fetched all necessary history to perform the diff. | no | false |
| use_rest_api | Force the use of Github's REST API even when a local copy of the repository exists | no | false |
| escape_paths | Escaped changed file paths passed to ESLint. NOTE: This defaults to `true` to prevent command injection. | no | true |
| ignore_path | When using [ESlint](https://eslint.org/) `v8.x` use this option to pass the .eslintignore file to silence ignore files warning [ignore file](https://eslint.org/docs/latest/use/configure/ignore-deprecated#using-an-alternate-file) | no | "" |
Outputs
no outputs