malnati/Ops ESLint
Run ESLint Flat Config inside a tooling container.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to lint (relative to repository root). | no | . |
| eslint_args | ESLint targets/flags appended to the command. | no | . |
| fix | Enable --fix. | no | false |
| max_warnings | Fail when warning count is above this value (-1 disables). | no | -1 |
| report_dir | Directory (inside path) where the report file is written. | no | .eslint |
| report_file | Report filename generated by ESLint. | no | eslint-report.json |
| report_formatter | ESLint formatter used for the report file. | no | json |
| build_image | Build the local tooling image before running lint. | no | true |
| image_tag | Docker image tag used by the action. | no | malnati-ops-eslint:local |
| fail_on_error | Fail the action when ESLint exits non-zero. | no | true |
Outputs
| name | description |
|---|---|
| report_path | Path to the generated lint report file. |
| error_count | Total ESLint errors from JSON report. |
| warning_count | Total ESLint warnings from JSON report. |
| status | Lint status (passed|failed). |
| exit_code | Raw ESLint process exit code. |