Top 23 JavaScript eslint-plugin Projects
-
You-Dont-Need-Lodash-Underscore
List of JavaScript methods which you can use natively + ESLint Plugin
In one of my team's Pull Requests I noticed date-fns being added as dependency for our components library for one usage: transform a timestamp to "MM/yy" string, as it represented a debit card's expiration date. Inspired by You don't (may not) need lodash/underscore, I thought to myself - can't we just implement a 2-digit month and 2-digit year formatting? It looks simple, right?
-
Project mention: Code Review chronicles: destructuring, linting and one valid reason for Typescript | dev.to | 2022-01-18
The developer told me we could not do that because the linter we are using. (XO)[https://github.com/xojs/xo] started complaining.
-
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!
-
-
-
Project mention: es-lint rule to force arrow functions as callbacks | reddit.com/r/typescript | 2022-07-09
-
Another approach that you can also take is a sort of "prettier as an ESLint plugin" option, such with eslint-plugin-prettier. The idea is that the developer only needs to run one tool (ESLint), but you add a plugin to ESLint that just calls prettier and converts the prettier error messages to ESLint error messages. I've worked at companies that have used this approach, and it makes setting up your editor/IDE very simple, because you've only got one tool to configure. That said, I personally don't like it because it forces you to use ESLint's "auto fix" functionality, which I find works well for formatting, but IME less well for some of the other lints.
-
There's also this if you want more control: https://github.com/lydell/eslint-plugin-simple-import-sort
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
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: How do you track unused styles in a component? | reddit.com/r/reactnative | 2022-05-29
-
Project mention: Streamlining your Tailwind CSS workflow with ESLint + Prettier | dev.to | 2022-07-13
eslint-plugin-tailwindcss for ESLint
-
-
putout
🐊 Pluggable and configurable code transformer with built-in ESLint, Babel plugins support for js, jsx typescript, flow, markdown, yaml and json
Due to its plugin-first architecture, the initial API is kept as lean as possible, preventing unnecessary bloat and allowing the developer the choice of extension. Some plugin rules are also smaller than those available in ESLint, e.g., the debugger rule. We can also use Putout with ESLint by allowing Putout to handle code transformations while ESLint handles any formatting broken after the code transformation. We can use the plugin eslint-plugin-putout to help with this integration.
-
-
-
eslint-plugin-ember
An ESLint plugin that provides set of rules for Ember applications based on commonly known good practices.
Project mention: [AskJS] How heavy do you lean into TypeScript? | reddit.com/r/javascript | 2021-12-12Here's the ticket I created. It's not adding types, it's doing something else. I was more talking about the general idea of automated changes to my code.
-
eslint-plugin-no-unsanitized
Custom ESLint rule to disallows unsafe innerHTML, outerHTML, insertAdjacentHTML and alike
-
If you don't want to write it yourself and you use eslint, you can check out eslint-plugin-i18n-json, it seems to do what you're looking for with i18n-json/identical-keys.
-
-
Project mention: Show HN: No Secrets Quickly find sensitive files in your GitHub repo | news.ycombinator.com | 2022-05-28
For people in the JS ecosystem theres this eslint rule: https://github.com/nickdeis/eslint-plugin-no-secrets
-
Run npm install to download the project’s dependencies. ESLint is among them, but you’re also getting LWC specific ESLint plugins. We’ll go into more details on these below!
-
eslint-plugin-snakecasejs
:pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names
-
eslint-plugin-react-hooks-addons
ESLint rule to check unused and potentially unnecessary dependencies in useEffect hook.
Project mention: ESLint rule to check unused dependencies in React Hooks | reddit.com/r/reactjs | 2021-12-13Here is the GitHub repo: https://github.com/szhsin/eslint-plugin-react-hooks-addons
-
eslint-plugin-big-number-rules
Enforce (or automatically fix) finance-safe calculations using BigNumber or similar libraries.
JavaScript eslint-plugin related posts
Index
What are some of the best open-source eslint-plugin projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | You-Dont-Need-Lodash-Underscore | 15,114 |
2 | XO | 6,683 |
3 | eslint-plugin-import | 4,205 |
4 | eslint-plugin-vue | 3,822 |
5 | eslint-plugin-unicorn | 2,644 |
6 | eslint-plugin-prettier | 2,503 |
7 | eslint-plugin-simple-import-sort | 1,056 |
8 | eslint-plugin-node | 880 |
9 | eslint-plugin-react-native | 651 |
10 | eslint-plugin-tailwindcss | 464 |
11 | eslint-config-auto | 347 |
12 | putout | 339 |
13 | eslint-plugin-svelte3 | 333 |
14 | eslint-plugin-boundaries | 271 |
15 | eslint-plugin-ember | 253 |
16 | eslint-plugin-no-unsanitized | 167 |
17 | eslint-plugin-i18n-json | 139 |
18 | eslint-plugin-proper-ternary | 92 |
19 | eslint-plugin-no-secrets | 90 |
20 | eslint-plugin-lwc | 70 |
21 | eslint-plugin-snakecasejs | 22 |
22 | eslint-plugin-react-hooks-addons | 3 |
23 | eslint-plugin-big-number-rules | 2 |
Are you hiring? Post a new remote job listing for free.