Tools like ESLint and Prettier document your code styles. But they go a step further and enforce those styles while you're coding. You no longer need to worry about stray console.logs or inconsistent semi-colons. Instead of the style guide being one extra thing you have to hold in your head, it becomes something you don't even have to think about. You just focus on what really matters.
React specific linting rules for ESLintProject mention: Use TypeScript Interfaces Instead of ESLint PropTypes Validation | dev.to | 2021-10-23
Here's the ESLint issue for reference: Props validation with TS StatelessComponent (SFC) type fails
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.
The application worker driven frontend framework (by neomjs)Project mention: Neo v2.3.16 released (animated lists) | news.ycombinator.com | 2021-10-27
Is this what you're looking for? https://github.com/estools/estraverse
Additional ESLint's rules for Node.jsProject mention: Import and export declarations are not supported yet (in TS) | dev.to | 2021-03-14
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
snuggsi ツ - Easy Custom Elements in ~1kBProject mention: Snuggsi — Easy Custom Elements in ~1kiloByte | reddit.com/r/webdev | 2021-04-30
JS - https://github.com/lydell/js-tokens
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(⭐).
Are you hiring? Post a new remote job listing for free.