From 378f58bf45ea56b930cba9b48f7fbac71e4a2131 Mon Sep 17 00:00:00 2001 From: Jakub Freisler Date: Fri, 20 Dec 2024 01:54:00 +0100 Subject: [PATCH] chore: spaces to tabs --- docs/rules/prefer-class-fields.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/rules/prefer-class-fields.md b/docs/rules/prefer-class-fields.md index f8afafb525..660898df43 100644 --- a/docs/rules/prefer-class-fields.md +++ b/docs/rules/prefer-class-fields.md @@ -15,16 +15,16 @@ This rule enforces the use of class field declarations for static values, instea ```js class Foo { - constructor() { - this.foo = 'foo'; - } + constructor() { + this.foo = 'foo'; + } } class MyError extends Error { - constructor(message: string) { - super(message); - this.name = "MyError"; - } + constructor(message: string) { + super(message); + this.name = "MyError"; + } } ``` @@ -32,10 +32,10 @@ class MyError extends Error { ```js class Foo { - foo = 'foo'; + foo = 'foo'; } class MyError extends Error { - name = "MyError" + name = "MyError" } ```