actions-marketplace-validations/Action Lint
GitHub Action for detecting and fixing linting errors
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 26, 2020
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/panda0603_lint-action@96fafdf5a95139ecf44ede90b32fd92d79f59a7f # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GITHUB_TOKEN secret | yes | — |
| auto_fix | Whether linters should try to fix code style issues automatically | no | false |
| git_name | Username for auto-fix commits | no | Lint Action |
| git_email | Email address for auto-fix commits | no | lint-action@samuelmeuli.com |
| commit_message | Template for auto-fix commit messages. The "${linter}" variable can be used to insert the name of the linter which has created the auto-fix | no | Fix code style issues with ${linter} |
| check_name | Template for the name of the check run. The "${linter}" and "${dir}" variables can be used to insert the name and directory of the linter. | no | ${linter} |
| stylelint | Enable or disable stylelint checks | no | false |
| stylelint_args | Additional arguments to pass to the linter | no | "" |
| stylelint_dir | Directory where the stylelint command should be run | no | — |
| stylelint_extensions | Extensions of files to check with stylelint | no | css,sass,scss |
| stylelint_command_prefix | Shell command to prepend to the linter command | no | "" |
| gofmt | Enable or disable gofmt checks | no | false |
| gofmt_args | Additional arguments to pass to the linter | no | "" |
| gofmt_dir | Directory where the gofmt command should be run | no | — |
| gofmt_extensions | Extensions of files to check with gofmt | no | go |
| gofmt_command_prefix | Shell command to prepend to the linter command | no | "" |
| golint | Enable or disable golint checks | no | false |
| golint_args | Additional arguments to pass to the linter | no | "" |
| golint_dir | Directory where the golint command should be run | no | — |
| golint_extensions | Extensions of files to check with golint | no | go |
| golint_command_prefix | Shell command to prepend to the linter command | no | "" |
| eslint | Enable or disable ESLint checks | no | false |
| eslint_args | Additional arguments to pass to the linter | no | "" |
| eslint_dir | Directory where the ESLint command should be run | no | — |
| eslint_extensions | Extensions of files to check with ESLint | no | js |
| eslint_command_prefix | Shell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn. | no | "" |
| prettier | Enable or disable Prettier checks | no | false |
| prettier_args | Additional arguments to pass to the linter | no | "" |
| prettier_dir | Directory where the Prettier command should be run | no | — |
| prettier_extensions | Extensions of files to check with Prettier | no | css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml |
| prettier_command_prefix | Shell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn. | no | "" |
| xo | Enable or disable XO checks | no | false |
| xo_args | Additional arguments to pass to the linter | no | "" |
| xo_dir | Directory where the XO command should be run | no | — |
| xo_extensions | Extensions of files to check with XO | no | js |
| xo_command_prefix | Shell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn. | no | "" |
| php_codesniffer | Enable or disable PHP_CodeSniffer checks | no | false |
| php_codesniffer_args | Additional arguments to pass to the linter | no | "" |
| php_codesniffer_dir | Directory where the PHP_CodeSniffer command should be run | no | — |
| php_codesniffer_extensions | Extensions of files to check with PHP_CodeSniffer | no | php |
| php_codesniffer_command_prefix | Shell command to prepend to the linter command | no | "" |
| black | Enable or disable Black checks | no | false |
| black_args | Additional arguments to pass to the linter | no | "" |
| black_dir | Directory where the Black command should be run | no | — |
| black_extensions | Extensions of files to check with Black | no | py |
| black_command_prefix | Shell command to prepend to the linter command | no | "" |
| flake8 | Enable or disable Flake8 checks | no | false |
| flake8_args | Additional arguments to pass to the linter | no | "" |
| flake8_dir | Directory where the Flake8 command should be run | no | — |
| flake8_extensions | Extensions of files to check with Flake8 | no | py |
| flake8_command_prefix | Shell command to prepend to the linter command | no | "" |
| mypy | Enable or disable Mypy checks | no | false |
| mypy_args | Additional arguments to pass to the linter | no | "" |
| mypy_dir | Directory where the Mypy command should be run | no | — |
| mypy_extensions | Extensions of files to check with Mypy | no | py |
| mypy_command_prefix | Shell command to prepend to the linter command | no | "" |
| rubocop | Enable or disable RuboCop checks | no | false |
| rubocop_args | Additional arguments to pass to the linter | no | "" |
| rubocop_dir | Directory where the RuboCop command should be run | no | — |
| rubocop_extensions | Extensions of files to check with RuboCop | no | rb |
| rubocop_command_prefix | Shell command to prepend to the linter command | no | "" |
| swiftformat | Enable or disable SwiftFormat checks | no | false |
| swiftformat_args | Additional arguments to pass to the linter | no | "" |
| swiftformat_dir | Directory where the SwiftFormat command should be run | no | — |
| swiftformat_extensions | Extensions of files to check with SwiftFormat | no | swift |
| swiftformat_command_prefix | Shell command to prepend to the linter command | no | "" |
| swift_format_lockwood | Enable or disable SwiftFormat checks | no | false |
| swift_format_lockwood_args | Additional arguments to pass to the linter | no | "" |
| swift_format_lockwood_dir | Directory where the SwiftFormat command should be run | no | — |
| swift_format_lockwood_extensions | Extensions of files to check with SwiftFormat | no | swift |
| swift_format_lockwood_command_prefix | Shell command to prepend to the linter command | no | "" |
| swift_format_official | Enable or disable swift-format checks | no | false |
| swift_format_official_args | Additional arguments to pass to the linter | no | "" |
| swift_format_official_dir | Directory where the swift-format command should be run | no | — |
| swift_format_official_extensions | Extrensions of files to check with swift-format | no | swift |
| swift_format_official_command_prefix | Shell command to prepend to the linter command | no | "" |
| swiftlint | Enable or disable SwiftLint checks | no | false |
| swiftlint_args | Additional arguments to pass to the linter | no | "" |
| swiftlint_dir | Directory where the SwiftLint command should be run | no | — |
| swiftlint_extensions | Extensions of files to check with SwiftLint | no | swift |
| swiftlint_command_prefix | Shell command to prepend to the linter command | no | "" |
Outputs
no outputs