GitHub Trends
10.8K subscribers
15.7K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#javascript #arrow_functions #es2015 #es2016 #es2017 #es2018 #es6 #eslint #javascript #linting #naming_conventions #style_guide #style_linter #styleguide #tc39

This guide provides rules for writing clean and consistent JavaScript code. It advises using const and let instead of var for variable declarations, preferring arrow functions over traditional function expressions, and using template strings for string manipulation. It also recommends using object destructuring, array spreads, and default parameters in functions. The guide emphasizes the importance of proper spacing, indentation, and the use of semicolons. Additionally, it covers best practices for classes, modules, and control statements, and encourages thorough testing and performance optimization. Following these guidelines helps ensure that your code is readable, maintainable, and efficient.

https://github.com/airbnb/javascript
#javascript #eslint #eslint_config #eslint_plugin #eslint_rules #javascript #linting_rules #nodejs #unicorns #xo

eslint-plugin-unicorn is an ESLint plugin with more than 200 rules that help you write cleaner JavaScript and TypeScript code, and some rules also work for CSS, HTML, JSON, and Markdown when used with the right ESLint language plugin. It installs with ESLint and can be used through a recommended preset or by choosing rules yourself, which helps you catch problems early, keep code consistent, and save time with automatic fixes for many issues.

https://github.com/sindresorhus/eslint-plugin-unicorn
👍1