actions-marketplace-validations/Action Lint

GitHub Action for detecting and fixing linting errors

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 26, 2020
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/panda0603_lint-action@96fafdf5a95139ecf44ede90b32fd92d79f59a7f # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenThe GITHUB_TOKEN secretyes
auto_fixWhether linters should try to fix code style issues automaticallynofalse
git_nameUsername for auto-fix commitsnoLint Action
git_emailEmail address for auto-fix commitsnolint-action@samuelmeuli.com
commit_messageTemplate for auto-fix commit messages. The "${linter}" variable can be used to insert the name of the linter which has created the auto-fixnoFix code style issues with ${linter}
check_nameTemplate 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}
stylelintEnable or disable stylelint checksnofalse
stylelint_argsAdditional arguments to pass to the linterno""
stylelint_dirDirectory where the stylelint command should be runno
stylelint_extensionsExtensions of files to check with stylelintnocss,sass,scss
stylelint_command_prefixShell command to prepend to the linter commandno""
gofmtEnable or disable gofmt checksnofalse
gofmt_argsAdditional arguments to pass to the linterno""
gofmt_dirDirectory where the gofmt command should be runno
gofmt_extensionsExtensions of files to check with gofmtnogo
gofmt_command_prefixShell command to prepend to the linter commandno""
golintEnable or disable golint checksnofalse
golint_argsAdditional arguments to pass to the linterno""
golint_dirDirectory where the golint command should be runno
golint_extensionsExtensions of files to check with golintnogo
golint_command_prefixShell command to prepend to the linter commandno""
eslintEnable or disable ESLint checksnofalse
eslint_argsAdditional arguments to pass to the linterno""
eslint_dirDirectory where the ESLint command should be runno
eslint_extensionsExtensions of files to check with ESLintnojs
eslint_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
prettierEnable or disable Prettier checksnofalse
prettier_argsAdditional arguments to pass to the linterno""
prettier_dirDirectory where the Prettier command should be runno
prettier_extensionsExtensions of files to check with Prettiernocss,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml
prettier_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
xoEnable or disable XO checksnofalse
xo_argsAdditional arguments to pass to the linterno""
xo_dirDirectory where the XO command should be runno
xo_extensionsExtensions of files to check with XOnojs
xo_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
php_codesnifferEnable or disable PHP_CodeSniffer checksnofalse
php_codesniffer_argsAdditional arguments to pass to the linterno""
php_codesniffer_dirDirectory where the PHP_CodeSniffer command should be runno
php_codesniffer_extensionsExtensions of files to check with PHP_CodeSniffernophp
php_codesniffer_command_prefixShell command to prepend to the linter commandno""
blackEnable or disable Black checksnofalse
black_argsAdditional arguments to pass to the linterno""
black_dirDirectory where the Black command should be runno
black_extensionsExtensions of files to check with Blacknopy
black_command_prefixShell command to prepend to the linter commandno""
flake8Enable or disable Flake8 checksnofalse
flake8_argsAdditional arguments to pass to the linterno""
flake8_dirDirectory where the Flake8 command should be runno
flake8_extensionsExtensions of files to check with Flake8nopy
flake8_command_prefixShell command to prepend to the linter commandno""
mypyEnable or disable Mypy checksnofalse
mypy_argsAdditional arguments to pass to the linterno""
mypy_dirDirectory where the Mypy command should be runno
mypy_extensionsExtensions of files to check with Mypynopy
mypy_command_prefixShell command to prepend to the linter commandno""
rubocopEnable or disable RuboCop checksnofalse
rubocop_argsAdditional arguments to pass to the linterno""
rubocop_dirDirectory where the RuboCop command should be runno
rubocop_extensionsExtensions of files to check with RuboCopnorb
rubocop_command_prefixShell command to prepend to the linter commandno""
swiftformatEnable or disable SwiftFormat checksnofalse
swiftformat_argsAdditional arguments to pass to the linterno""
swiftformat_dirDirectory where the SwiftFormat command should be runno
swiftformat_extensionsExtensions of files to check with SwiftFormatnoswift
swiftformat_command_prefixShell command to prepend to the linter commandno""
swift_format_lockwoodEnable or disable SwiftFormat checksnofalse
swift_format_lockwood_argsAdditional arguments to pass to the linterno""
swift_format_lockwood_dirDirectory where the SwiftFormat command should be runno
swift_format_lockwood_extensionsExtensions of files to check with SwiftFormatnoswift
swift_format_lockwood_command_prefixShell command to prepend to the linter commandno""
swift_format_officialEnable or disable swift-format checksnofalse
swift_format_official_argsAdditional arguments to pass to the linterno""
swift_format_official_dirDirectory where the swift-format command should be runno
swift_format_official_extensionsExtrensions of files to check with swift-formatnoswift
swift_format_official_command_prefixShell command to prepend to the linter commandno""
swiftlintEnable or disable SwiftLint checksnofalse
swiftlint_argsAdditional arguments to pass to the linterno""
swiftlint_dirDirectory where the SwiftLint command should be runno
swiftlint_extensionsExtensions of files to check with SwiftLintnoswift
swiftlint_command_prefixShell command to prepend to the linter commandno""

no outputs