From 7ca0cd5c89b925d225944b76649981f99e277de3 Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Thu, 3 Oct 2019 01:57:59 +0200 Subject: [PATCH] Remove newline in docs --- docs/rules/no-invalid-this.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/rules/no-invalid-this.md b/docs/rules/no-invalid-this.md index af83d2f51b0..7614b59a87b 100644 --- a/docs/rules/no-invalid-this.md +++ b/docs/rules/no-invalid-this.md @@ -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.