actions-marketplace-validations/ESLint Plus
Runs ESLint against changed files with customization, issue commenting, and more
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub repository token for publishing inline lint annotations. Should be secrets.GITHUB_TOKEN. | yes | ${{ github.token }} |
| reportWarnings | By setting this to "false", only errors will be annotated | no | — |
| reportWarningsAsErrors | Report eslint warnings as errors? Defaults to false | no | — |
| reportIgnoredFiles | Report any file paths which were ignored? Defaults to false | no | — |
| reportSuggestions | Report suggestions with the rules? Defaults to true | no | — |
| issueSummary | Should the bot provide a summary of the results as a comment? Defaults to true | no | — |
| issueSummaryType | Changes the PR comment to be "full" (as shown on actions page) or "compact", defaults to compact | no | — |
| issueSummaryMethod | When issueSummary is enabled, allows having the bot edit or refresh the comment on each new push | no | — |
| issueSummaryOnlyOnEvent | Should an issue comment only occur when there are warnings or errors? | no | — |
| extensions | Optionally provide a comma-separated list of extensions (checks js, jsx, ts, tsx by default) | no | — |
| includeGlob | Optionally provide a glob to include. Will include all if not provided | no | — |
| ignoreGlob | Optionally provide ignore pattern to use. Will also use eslintignore unless specified | no | — |
| configFile | A config file to use, defaults to the default config file at process.cwd() | no | — |
| rulePaths | Optional comma-separated list of rule paths to use | no | — |
| errorOnUnmatchedPattern | Throw error if unmatched pattern is seen? Defaults to false | no | — |
| useEslintrc | Use eslintrc? Defaults to true | no | — |
| useEslintIgnore | Set to false to not use eslintignore. Defaults to true | no | — |
| fix | Run with --fix? Defaults to false | no | — |
| npmInstall | Force run npm ci (or yarn) for you. If you do not use this option, be sure to install the project dependencies before running this action. By default it will run if a node_modules directory is not found or this is set to true | no | false |
Outputs
no outputs