purista
eslint-plugin-import
purista | eslint-plugin-import | |
---|---|---|
4 | 45 | |
59 | 5,316 | |
- | 0.9% | |
9.5 | 8.3 | |
20 days ago | 3 days ago | |
TypeScript | JavaScript | |
Apache License 2.0 | 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.
purista
-
PURISTA - Thanks to amazing open-source software
GitHub is uses as repository, issue & project tracker, and also for hosting the official website.
-
Do we need a new player in TypeScript event sourcing?
If you like, you can have a look at my stuff at https://purista.dev or ping me. Would be nice to have some conversation about this event sourcing topic.
-
The power of PURISTA TypeScript Framework v1.7
Visit the official PURISTA website purista.dev to learn more about PURISTA v1.7 and embark on a new era of application development. Unleash your creativity, enhance collaboration, and deliver exceptional software solutions with PURISTA TypeScript Framework v1.7.
- Version 1.7 is in progress
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?
megalo - Deno HTTP server framework focused on speed
prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.
fmodel-ts - Functional Domain Modeling with Typescript
madge - Create graphs from your CommonJS, AMD or ES6 module dependencies
typescript-ddd-example - 🔷🎯 TypeScript DDD Example: Complete project applying Hexagonal Architecture and Domain-Driven Design patterns
eslint-plugin-svelte3 - An ESLint plugin for Svelte v3 components.
Visual Studio Code - Visual Studio Code
eslint-plugin-import-helpers - ESLint plugin to help enforce a configurable order for import statements
eslint-plugin-node - Additional ESLint's rules for Node.js
unimported - Find and fix dangling files and unused dependencies in your JavaScript projects.
infisical - ♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure and prevent secret leaks.
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]