Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 3bd4283

Browse files
committed
Update eslint rules
1 parent 354dd12 commit 3bd4283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rules/eslint/no-invalid-this.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ export interface NoInvalidThisOption {
1313
export type NoInvalidThisOptions = [NoInvalidThisOption?];
1414

1515
/**
16-
* Disallow `this` keywords outside of classes or class-like objects.
16+
* Disallow use of `this` in contexts where the value of `this` is `undefined`.
1717
*
1818
* @see [no-invalid-this](https://eslint.org/docs/rules/no-invalid-this)
1919
*/
2020
export type NoInvalidThisRuleConfig = RuleConfig<NoInvalidThisOptions>;
2121

2222
/**
23-
* Disallow `this` keywords outside of classes or class-like objects.
23+
* Disallow use of `this` in contexts where the value of `this` is `undefined`.
2424
*
2525
* @see [no-invalid-this](https://eslint.org/docs/rules/no-invalid-this)
2626
*/
2727
export interface NoInvalidThisRule {
2828
/**
29-
* Disallow `this` keywords outside of classes or class-like objects.
29+
* Disallow use of `this` in contexts where the value of `this` is `undefined`.
3030
*
3131
* @see [no-invalid-this](https://eslint.org/docs/rules/no-invalid-this)
3232
*/

0 commit comments

Comments
 (0)