Skip to content

Commit

Permalink
Remove newline in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Oct 4, 2019
1 parent 387ad1e commit 7ca0cd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/rules/no-invalid-this.md
Expand Up @@ -205,8 +205,7 @@ This rule has an object option, with one option:

### capIsConstructor

By default, this rule always allows the use of `this` in functions which name starts with an uppercase and anonymous functions
that are assigned to a variable which name starts with an uppercase, assuming that those functions are used as constructor functions.
By default, this rule always allows the use of `this` in functions which name starts with an uppercase and anonymous functions that are assigned to a variable which name starts with an uppercase, assuming that those functions are used as constructor functions.

Set `"capIsConstructor"` to `false` if you want those functions to be treated as 'regular' functions.

Expand Down

0 comments on commit 7ca0cd5

Please sign in to comment.