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. Learn more →
Top 23 Lint 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.
-
Clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
-
reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
-
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.
-
knip
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
-
coala
coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.
-
add-and-commit
:octocat: Automatically commit changes made in your workflow run directly to your repo
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Apart from these we also need to enforce standards for all our commit messages(commit-lint).
Another common way to extend configs in linters is using the extends key in the configuration file. Let's take StyleLint as an example:
Project mention: More than you've ever wanted to know about errors in Rust | news.ycombinator.com | 2023-07-23I couldn't find it in the API guidelines either. From what I understand, the idea is that any trait bounds, which includes generic type parameter bounds and lifetime bound on a type (struct or enum) would be repeated back in the impl block
there is a nice discussion on this issue here: https://github.com/rust-lang/rust-clippy/issues/1689
Project mention: Interesting Bugs Caught by ESLint's no-constant-binary-expression | news.ycombinator.com | 2023-11-08> [1] https://github.com/jsx-eslint/eslint-plugin-react/blob/maste...
From what I remember, being able to pass children as a prop is considered a side-effect of an implementation detail, that breaks the expected abstraction. There really isn't any reason to use it, and I think there's a chance it may even confuse the virtual dom diffing?
Also this would prevent you from accidentally doing both at once:
Is it me?}>
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.
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.
Project mention: Find unused files, dependencies and exports in your JavaScript and TS projects | news.ycombinator.com | 2024-02-01
Project mention: Speeding up the JavaScript ecosystem – Polyfills gone rogue | news.ycombinator.com | 2023-09-21[2]: https://github.com/import-js/eslint-plugin-import/pull/2447#...
Project mention: Why does the documentation say to use naming conventions like SKEL, SK, PHYS for Skeleton, Skeletal Mesh, Physics Asset, but all the start content use other abbreviations like SK, SKM and PA instead? | /r/unrealengine | 2023-12-11Doesn’t matter what you use, as long as it’s consistant. Epic changed their recommendations for skeletal meshes and skeletons between UE 4 and 5, hence the inconsistency. Michael Allar’s UE style guide is a common, long standing one. Personally I use whatever Epic’s current standard is, or what my team is using. It’s also fine to not prefix stuff, but it helps for consistency and searchability. It’s honestly more important to name things well, with cascading specificity: assetprefix_assettype_assetsubtype00 e.g. SM_Rock_Desert01, SM_Foliage_Bush_Dry_Small01 etc.
Everytime I see Shellcheck coming up, I have to mention shellharden[0] written by a colleague of mine. It is basically shellcheck but it applies the suggested changes automatically.
0: https://github.com/anordal/shellharden
Some of Djot's features can be achieved by using markdownlint though: https://github.com/DavidAnson/markdownlint
Project mention: GitHub Sponsors: azu the Japanese TypeScript and JavaScript developer | dev.to | 2024-04-25Azu created 500+ npm packages, wrote and maintains a number of popular command line tools for JavaScript. textlint has 2,751 stars, Secretlint has 698 stars. honkit for building books has 2,896 stars.
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
Yep, actionlint is great! I've used it successfully both to lint my own workflows, and to lint third-party workflows for (basic) security issues.
Unfortunately, it can't lint actions themselves, only workflows that call actions[1]. This is a substantial deficiency, especially for users (like me) who write and maintain a decent number of actions.
[1]: https://github.com/rhysd/actionlint/issues/46
My preferred solution is rmlint [https://github.com/sahib/rmlint] mostly because it also looks at duplicate directories. It produces a bash script instead of deleting anything itself, so you can examine it before running the script it made.
I was configuring them as I was reading. I have done this before, but we had some months of use since then, and I have seen it working in real-time. I got a lot out of this second read and configuration round. I discovered that I over-configured Cppcheck; there is much more to get out of Cpplint, and I reviewed the JSON Schema versions.
Project mention: compile-time SQL validations and type generation in TypeScript & Node | /r/typescript | 2023-08-27Cool. How does this compare to SafeQL, PgTyped, and Postgres language server ?
.pre-commit-config.yaml – contains the cfn-lint and cfn_nag pre-commit hooks.
Lint related posts
- GitHub Sponsors: azu the Japanese TypeScript and JavaScript developer
- Show HN: Extensible OpenAPI linter written in go
- Veryl: A Modern Hardware Description Language
- Blogging in Djot Instead of Markdown
- Show HN: An opinionated build toolchain for TS projects
- Show HN: An opinionated TS package build toolchain with typed configuration
- Find unused files, dependencies and exports in your JavaScript and TS projects
-
A note from our sponsor - SurveyJS
surveyjs.io | 26 Apr 2024
Index
What are some of the best open-source Lint projects? This list will help you:
Project | Stars | |
---|---|---|
1 | commitlint | 15,959 |
2 | stylelint | 10,821 |
3 | Clippy | 10,755 |
4 | eslint-plugin-react | 8,818 |
5 | reviewdog | 7,350 |
6 | detekt | 6,030 |
7 | ktlint | 6,002 |
8 | knip | 5,562 |
9 | eslint-plugin-import | 5,299 |
10 | ue5-style-guide | 4,876 |
11 | shellharden | 4,537 |
12 | markdownlint | 4,446 |
13 | coala | 3,515 |
14 | textlint | 2,755 |
15 | yamllint | 2,706 |
16 | pint | 2,673 |
17 | actionlint | 2,356 |
18 | rmlint | 1,776 |
19 | cpplint | 1,462 |
20 | safeql | 1,221 |
21 | cfn_nag | 1,219 |
22 | add-and-commit | 1,044 |
23 | checkmake | 993 |
Sponsored