GitHub Trends
10.1K subscribers
15.3K 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
#dockerfile #best_practices #es6 #eslint #express #expressjs #javascript #jest #microservices #mocha #node_js #nodejs #nodejs_development #npm #rest #style_guide #styleguide #testing #types

Here is the key information and benefits of the Node.js best practices guide in simple English**
- The guide provides over 100 best practices for Node.js development, covering project architecture, error handling, code patterns, testing, production readiness, security, and Docker practices.
- It is updated regularly and includes contributions from many experts in the field.
- The guide is available in multiple languages.

**Benefits** Following these best practices helps you write cleaner, more maintainable code.
- **Error Handling** Protect your application from common security threats with guidelines on secret management, input validation, and secure headers.
- **Performance** Ensure your code is ready for production with tips on monitoring, logging, and process uptime.
- **Testing** Learn how to optimize your Docker images and containers for Node.js applications.

By following these best practices, you can build robust, secure, and high-performance Node.js applications.

https://github.com/goldbergyoni/nodebestpractices
#typescript #eslint #eslint_plugin #eslintplugin #plugin #tslint #typescript

The `typescript-eslint` tool helps you use ESLint and Prettier with TypeScript. This means you can check and format your TypeScript code more easily, making it cleaner and easier to maintain. You can find detailed instructions on how to use it on the official website, and you can even contribute to the project by coding or donating money. This tool is free and open-source, so anyone can use it without worrying about legal issues.

https://github.com/typescript-eslint/typescript-eslint
#javascript #ecmascript #eslint #javascript #linter #static_code_analysis

ESLint is a tool that helps you find and fix problems in your JavaScript code. Here’s how it benefits you ESLint checks your code for patterns that could cause errors or make your code harder to read.
- **Customizable** You can install ESLint using a simple command (`npm init @eslint/config@latest`) and run it on any file or directory.
- **Supports Latest Standards** ESLint has a strong community, regular updates, and a clear versioning policy to ensure stability and security.

Using ESLint helps you write cleaner, more reliable code, saving you time and effort in the long run.

https://github.com/eslint/eslint