Skip to content

Commit

Permalink
Docs: fix space-before-blocks correct code for "classes": "never" (#1…
Browse files Browse the repository at this point in the history
…1391)

Examples of **correct** code for this rule when configured `{ "functions": "never", "keywords": "always", "classes": "never" }`:

Replaced
```js
class Foo {
  constructor(){}
}
```
with
```js
class Foo{
  constructor(){}
}
```
  • Loading branch information
PoziWorld authored and ilyavolodin committed Feb 15, 2019
1 parent 14f58a2 commit a1f7c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/space-before-blocks.md
Expand Up @@ -143,7 +143,7 @@ describe(function(){
// ...
});

class Foo {
class Foo{
constructor(){}
}
```
Expand Down

0 comments on commit a1f7c44

Please sign in to comment.