Have you not heard of Standard JS? :D So much cleaner then airbnb
Fortunately, a great way to encourage your consumers to follow your best practices is through the use of ESLint, a static analysis tool to find problems in your code.
OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
React specific linting rules for ESLintProject mention: Is there a way to use a variable type with a React component? | reddit.com/r/typescript | 2022-01-15
This is true (though I'd argue that this case really isn't that narrow, I have an entire code base with not a single function component in sight), but that's also why React Dev Tools allows you to define a displayName field that it can display (and there's even a lint rule to make sure every component has a usable name, which is part of eslint-plugin-react's recommended preset)
ECMAScript code generatorProject mention: Abstract Syntax Trees: They're Actually Used Everywhere -- But What Are They? | dev.to | 2021-11-17
The JS Open Source Community is filled with people grifting things like this. Quite notably, there's a linter called JS Standard Style, which actually has nothing to do with JS Standards.
It's marketed as if it was a standard, the fact that it isn't is tucked away in the readme, and also -- the entire project is just a wrapper around someones .eslintrc file, yet barely any credit is given to the ESLint devs who do all the work.
Go ahead and read the readme here, https://github.com/standard/standard. Could you genuinely tell this wasn't really a JS Standard at a glance? Could you tell this was just a config file for someone elses work? None of the donations go upstream to eslint by the way.
Hell, the actual config file is hidden inside a sub repo:
which has the audacity to claim
> This module is for advanced users. You probably want to use standard instead :)
It's a config file for someone elses program! Why does this library go through so much effort to hide that it's just someones config file? Why on earth is it called JS Standard Style?
The whole community is filled with slimy nonsense like this.
ECMAScript JS AST traversal functionsProject mention: Abstract Syntax Trees: They're Actually Used Everywhere -- But What Are They? | dev.to | 2021-11-17
Traverse that AST and replace or inject code: Extraverse
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Additional ESLint's rules for Node.jsProject mention: Import and export declarations are not supported yet (in TS) | dev.to | 2021-03-14
ECMAScript AST query library.Project mention: Do all roads lead to Vim? | reddit.com/r/vim | 2021-12-26
https://github.com/suchipi/grep-ast https://github.com/estools/esquery https://estools.github.io/esquery/ https://astexplorer.net/ https://www.youtube.com/watch?v=d0pOgY8__JM
snuggsi ツ - Easy Custom Elements in ~1kBProject mention: Snuggsi — Easy Custom Elements in ~1kiloByte | reddit.com/r/webdev | 2021-04-30
Don't be disappointed. It may get added soon. But until that happens, we can use this polyfill to use the at(index) method in our code. That's all for now. Before we go, here is the GitHub repository to find the source code of the demo we have seen above. If you find it helpful, please don't forget to give a star(⭐).
Take a look at the implementation: https://github.com/es-shims/Array.prototype.groupBy/blob/main/implementation.js
The current browser support for the error clause feature is limited (Dec 2021 usage: ~70%), and it is not available in Node.js yet. You can use the error cause polyfill to start using the feature today, even in JS environments where it is not supported.
TypeScript. Advanced Project Setup
4 projects | dev.to | 18 Jan 2022
Is using the backtick (`) in console.log() considered bad form?
1 project | reddit.com/r/learnprogramming | 17 Jan 2022
Is there a way to use a variable type with a React component?
1 project | reddit.com/r/typescript | 15 Jan 2022
Why did function syntax become “more complicated”?
Add space in self closing tags before in self closing tags
1 project | reddit.com/r/codehunter | 10 Jan 2022
My Top 10 Visual Studio Code Extensions
1 project | dev.to | 5 Jan 2022
Eliminate Unnecessary Builds With Git Hooks in Bash, Java, and Scala
1 project | dev.to | 2 Jan 2022
Are you hiring? Post a new remote job listing for free.