{"repo":"wearerequired/lint-action","free":true,"listed":false,"github":"https://github.com/wearerequired/lint-action","clone":"git clone https://github.com/wearerequired/lint-action.git","description":"✨ GitHub Action for detecting and auto-fixing lint errors","language":"JavaScript","stars":609,"topics":["github-actions","linting","formatting","ci","code-style","lint-action","hacktoberfest","linter"],"license":"MIT","category":"dev-tools","readme_excerpt":"✨ Lint Action - Shows linting errors on GitHub commits and PRs - Allows auto-fixing issues - Supports many linters and formatters Note: The behavior of actions like this one is currently limited in the context of forks. See Limitations. Screenshots - Checks on pull requests: - Commit annotations: Supported tools - C: - ClangFormat - C++: - ClangFormat - C#: - dotnet-format - CSS: - stylelint - Go: - gofmt - golint (deprecated, use staticcheck — golint has been frozen and deprecated by its authors) - staticcheck - JavaScript: - ESLint - Prettier - XO - Objective-C: - ClangFormat - Objective-C++: - ClangFormat - PHP: - PHP CodeSniffer - Python: - Autopep8 - Black - Flake8 - isort - Mypy - oitnb - Pylint - Ruff - Ruby: - ERB Lint (requires erb lint v0.7.0 or later) - RuboCop - Standard Ruby - Rust: - clippy - rustfmt - Swift: - swift-format (official) - SwiftFormat (by Nick Lockwood) - SwiftLint - TypeScript: - tsc - VB.NET: - dotnet-format Usage Create a new GitHub Actions workflow in your project, e.g. at .github/workflows/lint.yml . The content of the file should be in the following format: Examples All linters are disabled by default. To enable a linter, simply set the option with its name to true , e.g. eslint: true . The action doesn't install the linters for you; you are responsible for installing them in your CI environment. JavaScript example (ESLint and Prettier) Important: Make sure to exclude the .github directory in your ESLint and Prettier configs as the default GI","default_branch":null,"files":null,"tree":[],"storefront":"/r/wearerequired","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wearerequired/lint-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}