Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 JavaScript Linter Projects
-
Project mention: Unleash the Power of Java: A JavaScript Developer's Guide to Best Practices in Java Development | dev.to | 2023-02-05
In comparison, JavaScript doesn't have a strict coding standard, although it does have widely accepted code style guides like the Airbnb JavaScript Style Guide and the JavaScript Standard Style. These guides provide recommendations for code formatting and naming conventions, but they are not as strictly enforced as the Java coding standard.
-
Have you ever used a transpiler, a linter or a code formatter, such as: Babel, ESLint or Prettier? If the answer is yes, then you've already used metaprogramming! 👏
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Something else to consider is applying linting and formatting before every git commit. A package like Lint-staged only lints and formats on staged items, ensuring all pushed code follows the standards in the repo. This allows developers to have their own formatting preferences when developing, while the code homogenizes on push. Linting pre-commit also avoids strict rules like no-console or no-unused-vars restricting a developer when writing code, when it should only apply in production. Imagine not being able to console log anything during development!
-
stylelint
A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
Stylelint helps prevent errors and ensures style conventions.
-
Project mention: From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience | news.ycombinator.com | 2023-01-12
-
As a philosophy student: Zotero for reference management, the Better BibTeX plugin to auto-generate a .bib file, and two language servers for diagnostics: LTeX for grammar- and spellchecking, and alex for style and sensitivity checking.
-
Hmm right, haven't found too many controversial things in https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json, besides no-semi fixed by semi-standard and comma-dangle "never" (sucks for git history, they should allow it for multiline cases https://eslint.org/docs/rules/comma-dangle#always-multiline)
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Project mention: Show HN: AI-powered code correction that teaches you along the way | reddit.com/r/hypeurls | 2023-01-15
-
solhint
Solhint is an open source project created by https://protofire.io. Its goal is to provide a linting utility for Solidity code.
There are two other similar tools: slither and solhint.
-
And it is happening right now. Github is opening the GitHub Advisory Database to community submissions. Awesome community NodeSecure builds cool things like scanner and js-x-ray. There are also lockfile-lint, LavaMoat, Jfrog-npm-tools (and I am sure there is more).
-
Project mention: GitHub - cjoudrey/graphql-schema-linter: Validate GraphQL schema definitions against a set of rules | reddit.com/r/graphql | 2022-08-12
-
-
What I mean by versionless, is that this Action allows consumers to specify the version of the awesome-lint package they desire.
-
-
-
-
nano-staged
Tiny tool to run commands for modified, staged, and committed files in a GIT repository.
-
ESLint allows you to check for errors and enforce a programming style for JavaScript. Using plugins, it can be integrated with other languages and formats. Using the eslint-plugin-markdown plugin, we were able to check for errors and inconsistencies in code blocks within the documentation.
-
-
Project mention: FoldersLint - Directory structure linter for Front-End projects | reddit.com/r/javascript | 2022-07-19
-
vscode-gremlins
Gremlins tracker for Visual Studio Code: reveals invisible whitespace and other annoying characters
Visuo studio has a plugin for detecting those invisible characters. https://github.com/nhoizey/vscode-gremlins You should look for one for your IDE.
-
-
npm-groovy-lint
Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line
Project mention: New releases of npm-groovy-lint and VsCode Groovy Lint | reddit.com/r/groovy | 2022-08-15I made major changes to npm-groovy-lint (v10.1.0 can now take files as arguments) and VsCode Groovy Lint (fixed a lot of bugs in v2.0.0 ^^)
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
JavaScript Linter related posts
- 20 Best Libraries and Tools for React Developers
- Show HN: AI-powered code correction that teaches you along the way
- I built an AI-powered debugger that fixes your errors and explains them to you
- Adrenaline - An AI-powered debugger
- Adrenaline: An AI-Powered Debugger
- I built an online debugger that uses AI to fix and explain your errors
- A debugging assistant powered by OpenAI Codex
-
A note from our sponsor - Sonar
www.sonarsource.com | 5 Feb 2023
Index
What are some of the best open-source Linter projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | Standard | 27,881 |
2 | ESLint | 22,128 |
3 | lint-staged | 11,414 |
4 | stylelint | 10,119 |
5 | XO | 7,032 |
6 | alex | 4,490 |
7 | eslint-config-standard | 2,409 |
8 | adrenaline | 1,397 |
9 | solhint | 847 |
10 | lockfile-lint | 711 |
11 | graphql-schema-linter | 643 |
12 | postcss-bem-linter | 546 |
13 | awesome-lint | 515 |
14 | lint-action | 439 |
15 | ts-standard | 349 |
16 | TypL | 349 |
17 | nano-staged | 337 |
18 | eslint-plugin-markdown | 308 |
19 | ember-template-lint | 254 |
20 | folderslint | 160 |
21 | vscode-gremlins | 155 |
22 | eslint-plugin-i18n-json | 154 |
23 | npm-groovy-lint | 135 |