eslint-plugin-unicorn
More than 100 powerful ESLint rules (by sindresorhus)
picoc
A very small C interpreter (by jpoirier)
eslint-plugin-unicorn | picoc | |
---|---|---|
41 | 10 | |
4,422 | 393 | |
1.3% | 5.6% | |
9.0 | 0.0 | |
16 days ago | almost 3 years ago | |
JavaScript | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-unicorn
Posts with mentions or reviews of eslint-plugin-unicorn.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-12.
-
Just use this Next.js Eslint Configuration
XO. This feels like the Black of Typescript linting. XO has styles for everything and is very opinionated. This can be nice, because it takes a lot of code style decisions off of your plate. But beware it can be cumbersome to implement in the middle of a project because it will require extensive reformatting. In lieu of XO, I found Unicorn opinionated enough and more immediately useful.
-
Incrementally fixing lots of ESlint errors in a clean way with ESlint Nibble
Recently, we chose to add the Unicorn plugin, which contain dozens of ESlint rules. It can feel overwhelming at first because it triggers hundreds of errors. Fortunately, we discovered eslint-nibble: a command line tool that helps adding rules one by one with a graphical interface.
-
Anyone using the data types Map and Set IRL?
I recently scanned out codebase with https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-has.md and found many instances of potential "accidentally quadratic" uses of array.includes instead. gas a nice autofix to convert to set. there are some fun and sometimes useful lint rules out there...
-
this has broken my code 3 times
There’s an ESLint rule for that (albeit in a plugin)
-
Array.reduce() feels like a cheat code/superpower if you know how to use it.
Many popular eslint configs have even introduce rules to warn on its usage for these very reasons.
-
Why are functions declared inside a component instead of directly in the file.
eslint-plugin-unicorn
- es-lint rule to force arrow functions as callbacks
- 100+ ESLint rules
-
TIL about the Nullish Coalescing Operator in Javascript (??)
I find eslint-plugin-unicorn package pretty useful for updating old code. With IE11 dead and NodeJS v12 LTS sunsetting soon, it's a brave new world.
picoc
Posts with mentions or reviews of picoc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
- Can I load board operations from text file as part of boot.
-
dont want online ones
and picoc, but it also features interactive shell
- Python interpreter
-
Make repo
I would like to try this C REPL: https://github.com/jpoirier/picoc
-
why can't you compile an interpreted language?
You can. People have written an interpreter for C, and you could write a compiler for Python.
-
Where to learn csh?
Yeah, I would not choose to learn the C-shell simply because it shares a letter with the compiled language. You might be better served learning Pike or PicoC.
- How to create your own language that compile to JavaScript
-
What is the difference between VM based languages and those without VM?
But don't get caught up in the VM definition, the whole act of compiling to VM bytecode and then to native is just another step in the chain. For example here is a C interpreter that lets you do the same thing, without intermediate bytecode.
-
Replacing let with const – Even when it feels impossible
Can we please cut the bullshit. By that logic no language is compiled. Because behold, a C interpreter: https://github.com/jpoirier/picoc
-
[Education] How important is knowing how to code in the field of statistics ?
Languages can have a compiler, an interpreter, or both. Just because a language is commonly thought of as 'compiled' doesn't mean you can't write an interpreter for it, or vice versa. There's even C interpreters for crying out loud https://github.com/jpoirier/picoc .
What are some alternatives?
When comparing eslint-plugin-unicorn and picoc you can also consider the following projects:
eslint-config-xo - ESLint shareable config for XO
eslint-plugin-github - An opinionated collection of ESLint rules used by GitHub.
eslint-plugin-boundaries - Eslint plugin checking architecture boundaries between elements
babel-handbook - :blue_book: A guided handbook on how to use Babel and how to create plugins for Babel.
proposal-observable - Observables for ECMAScript
clauf - A C interpreter developed live on YouTube