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! Learn more →
Top 23 JavaScript Eslint Projects
-
😎 We use this language, but if you are asking how to write in the most correct way, a great repo and Style Guide -> airbnb/javascript -> clean-code-javascript
-
😎 A great list that will increase your Node.js knowledge with practice -> nodebestpractices
-
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!
-
Standard JS Style Guide : JavaScript style guide, with linter & automatic code fixer
-
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! 👏
-
😎 You jumped to React before JS, but you are missing pure JS. Here's a boost to help you complete yourself -> js-stack-from-scratch
-
-
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!
-
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.
-
Thanks for weighing in, that's good to know. After wondering if this could be auto-refactored, I came across https://github.com/jsx-eslint/eslint-plugin-react/blob/maste..., will definitely have to give that (with `--fix`) a try in the new year and see if I can get the team on board! – desire for typescript being a compelling factor.
Personally I do like the non-destructured `props.abc` throughout component code, really helps clarify at a glance where something is coming from, whether it's locally or externally defined, etc. Code style is an endless exercise in compromises/opinions though, even _with_ tools like eslint and prettier.
-
Project mention: From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience | news.ycombinator.com | 2023-01-12
-
Project mention: [AskJS] Opinions on how to export default const | reddit.com/r/javascript | 2023-01-22
I think there's an argument to made that dev tooling could be improved to make default imports more useable. You're absolutely right that named exports fail faster in plain JS without using something like eslint, but there is an eslint rule thing that I discovered to mitigate the naming problem: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-named-as-default.md
-
Linting is an important step in maintaining code quality, The React Library Builder uses ESLint and eslint-config-prettier for linting. You can modify linting rules by overriding them in the .eslintrc file.
-
-
prettier-eslint
Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles:
Same, I can't stand some of prettier's opinions/style conversions and they refuse to add more options to their config file, so people literally have to make an entirely separate plugin just to deal with the issue of its config not being able to match your eslint config.
-
When using react, I've been using the recommended rules from eslint-plugin-jsx-a11y. Am I naive for relying a lot on that to get a11y right? Of course I try to write semantic html too and do research for each topic, but it's a bit overwhelming and I feel like the eslint rules help me a lot.
-
There’s an ESLint rule for that (albeit in a plugin)
-
-
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)
-
vue-web-extension
🛠️ A Vue CLI 3+ preset (previously a Vue CLI 2 boilerplate) for quickly starting a web extension with Vue, Babel, ESLint and more!
-
There's also this if you want more control: https://github.com/lydell/eslint-plugin-simple-import-sort
-
Project mention: 14 Linting Rules To Help You Write Asynchronous Code in JavaScript | dev.to | 2022-03-25
The following rules are additional ESLint rules for Node.js provided by the eslint-plugin-node plugin. To use them, you need to install and add the plugin to the plugins array in your .eslintrc configuration file.
-
-
Project mention: A Guide to Order: Setting up Prettier and Eslint with Husky, Lint-staged and Commitizen | dev.to | 2022-02-17
However, there’s a known problem when using both Eslint and Prettier. A good approach is to run prettier first and then Eslint. There, however, exists a simpler solution. Enter prettier-standard.
-
-
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.
JavaScript Eslint related posts
- Show HN: Canonical – 1k ESLint rules to automate code conventions
- Effective Refactoring with Codemods
- A Beginner’s Guide to ESLint
- [AskJS] Opinions on how to export default const
- x=10 vs let x=10
- 10 VS Code Extensions I Couldn’t Live Without
- React Library Builder using Rollup.js and Storybook
-
A note from our sponsor - Appwrite
appwrite.io | 4 Feb 2023
Index
What are some of the best open-source Eslint projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | javascript | 131,322 |
2 | nodebestpractices | 86,002 |
3 | Standard | 27,881 |
4 | ESLint | 22,128 |
5 | js-stack-from-scratch | 19,712 |
6 | front-end-guide | 14,784 |
7 | lint-staged | 11,414 |
8 | eslint-plugin-react | 8,273 |
9 | XO | 7,032 |
10 | eslint-plugin-import | 4,573 |
11 | eslint-config-prettier | 4,341 |
12 | eslint-plugin-vue | 3,969 |
13 | prettier-eslint | 3,697 |
14 | eslint-plugin-jsx-a11y | 3,044 |
15 | eslint-plugin-unicorn | 2,976 |
16 | eslint-config-wesbos | 2,583 |
17 | eslint-config-standard | 2,409 |
18 | vue-web-extension | 1,507 |
19 | eslint-plugin-simple-import-sort | 1,291 |
20 | eslint-plugin-node | 910 |
21 | eslint_d.js | 896 |
22 | prettier-standard | 860 |
23 | MEVN-CLI | 796 |