Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eslint: Add missing
space-before-keywords
rule
All examples in README.md seem to agree on avoiding missing whitespaces before keywords such as: if (cond) { }else { // no space before 'else' } try { }catch (e) { // no space before 'catch' } This patchs adds the `space-before-keywords` rule as an error (as is `space-after-keywords` already).
- Loading branch information