Skip to content

Commit

Permalink
chore: various website improvements (#4157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Nov 17, 2021
1 parent 708b6af commit f99a9a5
Show file tree
Hide file tree
Showing 41 changed files with 236 additions and 84 deletions.
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/brace-style.md
Expand Up @@ -19,7 +19,11 @@ It adds support for `enum`, `interface`, `namespace` and `module` declarations.

See [`eslint/brace-style` options](https://eslint.org/docs/rules/brace-style#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/brace-style.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/brace-style.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/comma-dangle.md
Expand Up @@ -31,7 +31,11 @@ This rule has a string option and an object option.

- [See the other options allowed](https://github.com/eslint/eslint/blob/master/docs/rules/comma-dangle.md#options)

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/comma-dangle.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/comma-dangle.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/comma-spacing.md
Expand Up @@ -19,7 +19,11 @@ It adds support for trailing comma in a types parameters list.

See [`eslint/comma-spacing` options](https://eslint.org/docs/rules/comma-spacing#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/comma-spacing.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/comma-spacing.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/default-param-last.md
Expand Up @@ -53,7 +53,11 @@ class Foo {

See [`eslint/default-param-last` options](https://eslint.org/docs/rules/default-param-last#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/default-param-last.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/default-param-last.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/dot-notation.md
Expand Up @@ -80,7 +80,11 @@ x['hello'] = 123;

If the TypeScript compiler option `noPropertyAccessFromIndexSignature` is set to `true`, then the above code is always allowed, even if `allowIndexSignaturePropertyAccess` is `false`.

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/dot-notation.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/dot-notation.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/func-call-spacing.md
Expand Up @@ -19,7 +19,11 @@ It adds support for generic type parameters on function calls.

See [`eslint/func-call-spacing` options](https://eslint.org/docs/rules/func-call-spacing#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/func-call-spacing.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/func-call-spacing.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/indent.md
Expand Up @@ -21,7 +21,11 @@ It adds support for TypeScript nodes.

See [`eslint/indent` options](https://eslint.org/docs/rules/indent#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/indent.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/indent.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/init-declarations.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript's `declare` variables.

See [`eslint/init-declarations` options](https://eslint.org/docs/rules/init-declarations#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/init-declarations.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/init-declarations.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/keyword-spacing.md
Expand Up @@ -19,7 +19,11 @@ This version adds support for generic type parameters on function calls.

See [`eslint/keyword-spacing` options](https://eslint.org/docs/rules/keyword-spacing#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/keyword-spacing.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/keyword-spacing.md)

</sup>

## Attributes

Expand Down
Expand Up @@ -70,7 +70,11 @@ class foo {
}
```

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/lines-between-class-members.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/lines-between-class-members.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-array-constructor.md
Expand Up @@ -40,7 +40,11 @@ new Array(someOtherArray.length);

See [`eslint/no-array-constructor` options](https://eslint.org/docs/rules/no-array-constructor#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-array-constructor.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-array-constructor.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-dupe-class-members.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript's method overload definitions.

See [`eslint/no-dupe-class-members` options](https://eslint.org/docs/rules/no-dupe-class-members#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-dupe-class-members.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-dupe-class-members.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-duplicate-imports.md
Expand Up @@ -19,7 +19,11 @@ This version adds support for type-only import and export.

See [`eslint/no-duplicate-imports` options](https://eslint.org/docs/rules/no-duplicate-imports#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-duplicate-imports.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-duplicate-imports.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-empty-function.md
Expand Up @@ -87,7 +87,11 @@ class Foo {

---

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-empty-function.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-empty-function.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-extra-parens.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript type assertions.

See [`eslint/no-extra-parens` options](https://eslint.org/docs/rules/no-extra-parens#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-extra-parens.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-extra-parens.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-extra-semi.md
Expand Up @@ -19,7 +19,11 @@ It adds support for class properties.

See [`eslint/no-extra-semi` options](https://eslint.org/docs/rules/no-extra-semi#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-extra-semi.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-extra-semi.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-implied-eval.md
Expand Up @@ -102,7 +102,11 @@ setTimeout(Foo.fn, 100);

If you want to allow `new Function()` or `setTimeout()`, `setInterval()`, `setImmediate()` and `execScript()` with string arguments, then you can safely disable this rule.

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-implied-eval.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-implied-eval.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-invalid-this.md
Expand Up @@ -23,7 +23,11 @@ See [`eslint/no-invalid-this` options](https://eslint.org/docs/rules/no-invalid-

When you are indifferent as to how your variables are initialized.

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-invalid-this.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-invalid-this.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-loop-func.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript types.

See [`eslint/no-loop-func` options](https://eslint.org/docs/rules/no-loop-func#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-loop-func.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-loop-func.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-loss-of-precision.md
Expand Up @@ -16,7 +16,11 @@ Note that this rule requires ESLint v7.
}
```

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-loss-of-precision.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-loss-of-precision.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-magic-numbers.md
Expand Up @@ -116,7 +116,11 @@ class Foo {
}
```

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-magic-numbers.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-magic-numbers.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-redeclare.md
Expand Up @@ -77,7 +77,11 @@ type something = string;
const something = 2;
```

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-redeclare.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-redeclare.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-shadow.md
Expand Up @@ -84,7 +84,11 @@ const test = 1;
type Func = (test: string) => typeof test;
```

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-shadow.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-shadow.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-throw-literal.md
Expand Up @@ -91,7 +91,11 @@ throw new CustomError();

---

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-throw-literal.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-throw-literal.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-unused-expressions.md
Expand Up @@ -19,7 +19,11 @@ It adds support for optional call expressions `x?.()`, and directive in module d

See [`eslint/no-unused-expressions` options](https://eslint.org/docs/rules/no-unused-expressions#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-unused-expressions.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-unused-expressions.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-unused-vars.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript features, such as types.

See [`eslint/no-unused-vars` options](https://eslint.org/docs/rules/no-unused-vars#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-unused-vars.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-unused-vars.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-use-before-define.md
Expand Up @@ -101,7 +101,11 @@ enum Enum {}

See [`eslint/no-use-before-define` options](https://eslint.org/docs/rules/no-use-before-define#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-use-before-define.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-use-before-define.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/no-useless-constructor.md
Expand Up @@ -23,7 +23,11 @@ It adds support for:

See [`eslint/no-useless-constructor` options](https://eslint.org/docs/rules/no-useless-constructor#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-useless-constructor.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/no-useless-constructor.md)

</sup>

## Attributes

Expand Down
6 changes: 5 additions & 1 deletion packages/eslint-plugin/docs/rules/object-curly-spacing.md
Expand Up @@ -19,7 +19,11 @@ It adds support for TypeScript's object types.

See [`eslint/object-curly-spacing` options](https://eslint.org/docs/rules/object-curly-spacing#options).

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/object-curly-spacing.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/object-curly-spacing.md)

</sup>

## Attributes

Expand Down
Expand Up @@ -47,7 +47,11 @@ In addition to options provided by ESLint, `interface` and `type` can be used as

**Note:** ESLint `cjs-export` and `cjs-import` statement types are renamed to `exports` and `require` respectively.

<sup>Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/padding-line-between-statements.md)</sup>
<sup>

Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/master/docs/rules/padding-line-between-statements.md)

</sup>

## Attributes

Expand Down

0 comments on commit f99a9a5

Please sign in to comment.