SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Linter Open-Source Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ale
Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
-
static-analysis
⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.
-
biome
A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
-
super-linter
Combination of multiple linters to run as a GitHub Action or standalone (by super-linter)
-
reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
These projects use Caddy as my local development server, Dart Sass for converting my Sass files to CSS, elm, elm-format, elm-optimize-level-2, elm-review, elm-test (only in Calculator), ShellCheck to find bugs in my shell scripts, and Terser to mangle and compress JavaScript code.
Project mention: Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects | dev.to | 2024-05-05Sorry, I've gone too far. I'm not here to persuade you to use Standard JS. My intention is to provide information and guidance on configuring JavaScript Standard Style for your team, should you agree with me or have other reasons to choose it.
Ruff is an open-source Python linter created by Astral Sh that stands out for its impressive speed, adaptability, and wide-ranging features.
Let's be honest - setting up tools for a new project can be a frustrating process. Especially when you want to jump straight to coding part. This is often the case with ESLint and Prettier, two popular tools in the JavaScript ecosystem that can sometimes interfere with each other when it comes to code formatting. Fortunately, there's a simple solution to this process, and it's called eslint-plugin-prettier.
Project mention: A problem when adding Swiftlint as a dependency on my won package? | /r/swift | 2023-10-27
Project mention: The GIL can now be disabled in Python's main branch | news.ycombinator.com | 2024-03-11
I saw no mention of RBS+Steep, the latter providing a LSP. I use it a lot and very much like it, although it's still young and needs love, but it's making good, steady progress! I've been very pleasantly surprised by some of the crazy things Steep can catch, completely statically!
You appear to be working on projects with Sorbet (which I tried to like but found it fell short in practice, notably outside of the app use case i.e it's mostly useless for gems) so it may be a tall order to try on those. Maybe you can give RBS+Steep a shot on some small project?
RBS: https://github.com/ruby/rbs
RBS collection (for those gems that don't ship RBS signatures in `sig`, integrates with bundler): https://github.com/ruby/gem_rbs_collection
Steep: https://github.com/soutaro/steep
VS Code: https://github.com/soutaro/steep-vscode
Sublime Text: https://github.com/sublimelsp/LSP
Vim (I'm working on it): https://github.com/dense-analysis/ale/pull/4671
Project mention: Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes | dev.to | 2024-05-05lint-staged is the second important tools we need here, install it via NPM.
Readers should also peruse the 'Multiple languages' section, many of the big names, Coverity, Klocwork et al. are listed there.
see https://github.com/analysis-tools-dev/static-analysis#multip...
Project mention: Utilities for refactoring and upgrading Ruby code based on ASTs | news.ycombinator.com | 2024-05-06https://github.com/rubocop/rubocop/issues/8091#issuecomment-...
perhaps they are biased against the tool from participating in a campaign to police the name in the past.
Project mention: How to setup Black and pre-commit in python for auto text-formatting on commit | dev.to | 2024-03-29Today we are going to look at how to setup Black (a python code formatter) and pre-commit (a package for handling git hooks in python) to automatically format you code on commit.
Project mention: Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes | dev.to | 2024-05-05There are more linting tools that I won't go into deeply, but you can integrate them with lint-staged. For example, you can lint your CSS content with Stylelint, or even lint your README files with markdownlint, etc.
{ "$schema": "https://biomejs.dev/schemas/1.7.0/schema.json", "organizeImports": { "enabled": true }, "files": { "ignore": ["package.json", "package-lock.json"] }, "linter": { "enabled": true, "rules": { "recommended": true, "style": { "noUnusedTemplateLiteral": "off" } } }, "formatter": { "indentStyle": "space", "indentWidth": 4, "lineWidth": 320 }, "javascript": { "formatter": { "semicolons": "asNeeded" } } }
3. Hadolint: https://github.com/hadolint/hadolint Hadolint is a Dockerfile linter that helps you build best practice Docker images, reducing vulnerabilities in your container configurations.
Project mention: Hashnode Blog GitHub Action - fetch and display the latest blogs in a nice format | dev.to | 2024-02-03
Project mention: Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects | dev.to | 2024-05-05You may be torn between those famous code styles, struggling to choose one between Airbnb JavaScript Style, Google JavaScript Style Guide, JavaScript Standard Style, or XO, among others.
I build a general converter from SARIF to Reviewdog Diagnostic Format (RDFormat), then use Reviewdog to give suggested code changes as well as the context of the changes for PR reviewing.
3. tfsec: https://github.com/aquasecurity/tfsec tfsec uses a suite of security checks to scan your Terraform templates, helping to identify potential security issues before infrastructure is deployed.
isort: This library sorts your imports alphabetically, and automatically separates them into sections and by type. It provides a cleaner and more organised way to manage project imports.
In protection rules, I added build workflow in Require status checks to pass before merging. This is to ensure that before merging code in master branch, build should run successfully. I also added Jacoco Code Coverage to make sure that enough unit tests are available in project and Detekt to make sure that code in project is readable. I added them in build configuration. Even if one of them gives error, build will fail. Whenever, someone push code in pull request, build action will run and check if build is running successfully or not.
Linter related posts
-
Utilities for refactoring and upgrading Ruby code based on ASTs
-
Ruff: The Extensible Python Linter
-
We Have Code Quality At Home: Open Source Java Code Quality Tools
-
An infinite canvas for code exploration
-
Ask HN: How do you switch between multiple programming languages while coding?
-
Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes
-
Introducing Tapyr: Create and Deploy Enterprise-Ready PyShiny Dashboards with Ease
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 May 2024
Index
What are some of the best open-source Linter projects? This list will help you:
Project | Stars | |
---|---|---|
1 | ShellCheck | 35,056 |
2 | Standard | 28,879 |
3 | ruff | 26,725 |
4 | ESLint | 24,310 |
5 | SwiftLint | 18,322 |
6 | mypy | 17,569 |
7 | golangci-lint | 14,472 |
8 | ale | 13,288 |
9 | lint-staged | 12,900 |
10 | static-analysis | 12,881 |
11 | rubocop | 12,501 |
12 | pre-commit | 12,087 |
13 | stylelint | 10,831 |
14 | biome | 10,694 |
15 | hadolint | 9,728 |
16 | super-linter | 9,180 |
17 | oxc | 8,927 |
18 | XO | 7,551 |
19 | reviewdog | 7,385 |
20 | tfsec | 6,571 |
21 | isort | 6,321 |
22 | detekt | 6,046 |
23 | ktlint | 6,009 |
Sponsored