Airbnb's widely adopted style guide for writing JavaScript, explaining rules for variables, functions, classes, modules and React, with an accompanying ESLint config so teams can enforce consistent code automatically.
JavaScriptCreated
What is airbnb/javascript?
This is Airbnb's JavaScript style guide, a widely adopted set of rules for writing consistent, readable JavaScript. It covers types, references, objects, arrays, strings, functions, classes, modules, variables, comparisons and more, with an example for each rule. The guide assumes Babel and polyfills are in use, and it is available in several languages.
It is typically enforced with a linter, and the project provides a configuration so teams can apply the rules automatically rather than in code review. Related guides cover React, CSS-in-JavaScript, CSS and Sass, and Ruby.
It suits teams that want a shared style for a JavaScript codebase, and developers who want to learn the conventions many production projects follow.
React lets you build web and native user interfaces from reusable components that describe what the screen should look like for each state. It powers a huge share of modern web apps and frameworks such as Next.js.
Algorithms and data structures implemented in JavaScript, each with an explanation and links to further reading. It covers sorting, graphs, trees, dynamic programming and more, and is a popular resource for interview preparation.
Kyle Simpson's free book series that digs into how JavaScript actually works, including scope, closures, this, prototypes, types and async. The second edition, "You Don't Know JS Yet", is being written in this repository.
The popular HTML, CSS and JavaScript framework for building responsive, mobile-first websites quickly, with a grid system, ready-made components and utilities. Documentation and themes make it easy to start without a designer.