eslint-plugin-simple-import-sort
kphp
eslint-plugin-simple-import-sort | kphp | |
---|---|---|
7 | 8 | |
1,897 | 1,288 | |
- | 1.6% | |
6.7 | 8.4 | |
22 days ago | 4 days ago | |
JavaScript | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
kphp
-
Compress PHP applications into one binary
It has a lot of limitations but KPHP is a PHP compiler that could fit your needs.
-
Generics
There are also https://github.com/VKCOM/kphp, but it lag quite a bit behind php
-
PHP Perfomance mode - Yay or Nay?
JIT is still so full of bugs for anything mildly complex, most static analysers don’t run on it without some weird behaviour and crashes (segfaults, core dumps, etc) that are hard for the average PHP dev to debug. It was a nice idea to help expand PHP to non-web applications but something like what’s being described here where code is transpiled except to a compiled language (like https://github.com/VKCOM/kphp) would be the best bet imo.
- KPHP – A PHP Compiler
-
NoColor — validate the architecture of your PHP project
We invented a new concept of function colors and implemented it in our KPHP compiler.
-
Become the master of your eslint with no-restricted-syntax
Since 2013 we have a php 2 c++ compiler, kphp — it was a hip idea back then, and Facebook had something similar with hiphop
-
[Question] What is the technical stack used in Telgram like programming languages used to build it, technology used to host this app?
Server side they use kphp (Probably a modified version) https://github.com/VKCOM/kphp
-
Highly faster PHP with KPHP translator to C++ [BEST of all for Highload]
You can also refer to [*PHP vs KPHP vs C++*](https://vkcom.github.io/kphp/various-topics/walk-through-php-kphp-cpp.html).
*[GitHub page](https://github.com/vkcom/kphp)* | *[Web-site (documentation)](https://vkcom.github.io/kphp/)*
What are some alternatives?
eslint-plugin-vue - Official ESLint plugin for Vue.js
Telegram - Telegram for Android source
XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
TelegramSwift - Source code of Telegram for macos on Swift 5.0
ESLint - Find and fix problems in your JavaScript code.
PHP-Parser - PHP parser written in Go
eslint-plugin-big-number-rules - Enforce (or automatically fix) finance-safe calculations using BigNumber or similar libraries.
tg - `telegram-cli` for Telegram IM
eslint-plugin-perfectionist - 🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
nocolor - Validate the architecture of your PHP project based on the concept of function colors
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.