eslint-plugin-simple-import-sort
eslint-plugin-perfectionist
eslint-plugin-simple-import-sort | eslint-plugin-perfectionist | |
---|---|---|
7 | 17 | |
1,897 | 1,601 | |
- | - | |
6.7 | 9.0 | |
22 days ago | 7 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eslint-plugin-simple-import-sort
-
PURISTA - Thanks to amazing open-source software
eslint-plugin-simple-import-sort by Simon Lydell @SimonLydell
-
eslint-plugin-simple-import-sort VS eslint-plugin-perfectionist - a user suggested alternative
2 projects | 22 Jun 2023
-
Group & sort imports with EsLint
There's also this if you want more control: https://github.com/lydell/eslint-plugin-simple-import-sort
-
How I found a bug in 2000 files
I was adding a new eslint plugin that will sort imports in js/ts files. After adding eslint-plugin-simple-import-sort, I run eslint --fix and found about 2000 files changed. As there was only reorder of imports I thought that there should not be any issues.
-
Sorting your imports with ESLint
For this article, we will be using eslint-plugin-simple-import-sort. This is an ESLint plugin that enables not only sorting with some nice defaults but also grouping based on defined patterns.
-
Sorting imports on save in React projects with ESLint.
TLDR eslint-plugin-simple-import-sort
-
Become the master of your eslint with no-restricted-syntax
See the docs on custom grouping for details.
eslint-plugin-perfectionist
- ESLint plugin for sorting objects, imports, types now supports Astro/Vue/Svelte
- Perfectionist – ESLint Code Formatting Plugin
- Perfectionist. Take Your Code to the Beauty Salon
-
eslint-plugin-simple-import-sort VS eslint-plugin-perfectionist - a user suggested alternative
2 projects | 22 Jun 2023
Not only for imports, customization, different types of sorting.
- ESLint plugin for sorting objects, imports, types, enums, JSX props, etc. can be used in the editor
- What’s your sorting conventions for imports in React?
- ESLint plugin for making your code cleaner
-
ESLint plugin for sorting objects, imports, types, enums, JSX props, etc.
This ESLint plugin sorts imports, objects, TypeScript interfaces and types, JSX props and other stuff.
- ESLint plugin for sorting objects, imports, types, enums, JSX props, etc. (Make the code neat)
What are some alternatives?
eslint-plugin-vue - Official ESLint plugin for Vue.js
javascript-style-guide - This project is a code style guide of all basic back- and front end project used at Anolilab.
XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
eslint-plugin-move-files - Move and rename files while keeping imports up to date
ESLint - Find and fix problems in your JavaScript code.
eslint-plugin-chakra-ui - ESLint plugin for Chakra UI
eslint-plugin-big-number-rules - Enforce (or automatically fix) finance-safe calculations using BigNumber or similar libraries.
prettier - Prettier is an opinionated code formatter.
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
eslint-plugin-node - Additional ESLint's rules for Node.js
eslint-plugin-clean-regex - An ESLint plugin for writing better regular expressions.