awesome-eslint
eslint-plugin-import
awesome-eslint | eslint-plugin-import | |
---|---|---|
5 | 45 | |
4,124 | 5,314 | |
- | 0.8% | |
5.0 | 8.3 | |
21 days ago | 4 days ago | |
JavaScript | ||
Creative Commons Zero v1.0 Universal | 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.
awesome-eslint
-
Prettier $20k Bounty was Claimed
[2] https://github.com/dustinspecker/awesome-eslint#plugins
-
What are good ways to speed up the small little things when developing? Like typing this `${}` or the function definition of a react component? How can I use shortcuts in VS code, or are there any other tools? Pls also tell if you solved other small problems for yourself.
There's a big world of Awesome ESLint plugins.
-
What is the best way to maintain react js coding standard?
ESLint is sort of the go-to code quality/style enforcer, here's a repo that contains all the popular configurations from large open source projects as well as well known companies.
-
How to setup Prettier, ESLint, Husky and Lint-Staged with a NextJS and Typescript Project
3. Install additional configs and plugins in order to extend the functionality of our linter. These the are multiple configs and plugins that I use for every project. ( you can add or exclude anything that you don't want from this setup ). Here is a list of things you can add.
-
¿Qué es Linting y ESLint?
Awesome ESLint: Una lista de configuraciones, parsers, plugins y otras herramientas para mejorar tu propia configuración de ESLint.c
eslint-plugin-import
-
Speeding up the JavaScript ecosystem – Polyfills gone rogue
[2]: https://github.com/import-js/eslint-plugin-import/pull/2447#...
-
The Best ESLint Rules for React Projects
Finally, I'd also suggest requiring named exports via import:
-
PURISTA - Thanks to amazing open-source software
eslint-plugin-import
-
How to prevent other devs from using components from UI library directly?
You can 1. use a rule like this one to ensure that no one imports from antd and 2. limit what they can import from your library via https://nodejs.org/api/packages.html#main-entry-point-export
-
Need someone to explain why this happen regarding exporting
I'd check the eslint docs. They usually have a little write up about the rule.
-
React Component file naming convention?
Next, you add the ESLint rule or TypeScript configuration so it never happens again.
-
When to Create Standalone Components in Angular?
Are you using Eslint? It is possible to remove all the unused import on file level, but I don't remember if the setting is in the recommend config or the import/ordef plugin. If configured correctly, VS Code will prompt you with an option (CTRL+.) to "Delete all unused imports". It's only on file level though.
- People’s thoughts on ordering functions alphabetically in a react component?
-
3 popular Eslint rules that can make you write worse code.
Prefer default export (from airbnb style guide) I did drop default exports for a year now to use only named exports and they are actually (a slightly) better option. They provide a better DX, since you'll have autocomplete. The downside can be conflicts (which can be solved using an as to rename it). Don't refactor your entire codebase just to use it, but keep in mind for the next projects that named exports has better tradeoffs.
-
excluding folders/fildes when building
Yeah, the code under server should never get included unless you were to (transitively) import it from your entry point like App.tsx. Small suggestion, this is a good candidate for an ESLint rule if you use that.
What are some alternatives?
github-cheat-sheet - A list of cool features of Git and GitHub.
prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.
stylelint - A mighty CSS linter that helps you avoid errors and enforce conventions.
madge - Create graphs from your CommonJS, AMD or ES6 module dependencies
prettier-rpc - Single-file build of prettier with JSON-RPC communication
eslint-plugin-svelte3 - An ESLint plugin for Svelte v3 components.
jco - JavaScript tooling for working with WebAssembly Components
eslint-plugin-import-helpers - ESLint plugin to help enforce a configurable order for import statements
biome - A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
unimported - Find and fix dangling files and unused dependencies in your JavaScript projects.
vscode-react-javascript-snippets - Extension for React/Javascript snippets with search supporting ES7+ and babel features
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]