javascript icon indicating copy to clipboard operation
javascript copied to clipboard

JavaScript Style Guide

Results 155 javascript issues
Sort by recently updated
recently updated
newest added

Mutating state directly is considered bad practice in react.js, it make our code hard to maintain and also cause some hidden bug, we should turn this rule on.

As the title states. Fails when re-exporting the default from another module. ```ts export { default } from 'another-module'; ``` This feels like it _should_ pass, since this is not...

semver-breaking: guide change

Allow comments like: ```js /** * Bla bla bla **/ ```

This issue is realted to guide section [5.1 Use object destructuring when accessing and using multiple properties of an object](https://github.com/airbnb/javascript/blob/master/README.md#destructuring--object) Although the section rationale and examples are very clear and...

fixes error #2301, update from #2617

update readme for error #2301

fixes issue #2301 with jsx error.

Rebind (this) in class component to make it more simple.

Updates the globs for `test`, `tests`, and `spec` directories so that they will be picked up from anywhere in the project. This gets it to work identically to `__tests__`. Right...

Discussion related to this pr: https://github.com/airbnb/javascript/issues/2606