Skip to content

Commit

Permalink
Update docs and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed May 13, 2024
1 parent 88ff4ea commit d036bd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs lts
nodejs 20.11.0
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Refer to [setup instructions in README](../README.md#πŸ—οΈ-setup).
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [default-param-last](https://typescript-eslint.io/rules/default-param-last)<br>Enforce default parameters to be last | | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [max-params](https://typescript-eslint.io/rules/max-params)<br>Enforce a maximum number of parameters in function definitions | <details><summary>max: 4</summary><pre>{<br> "max": 4<br>}</pre></details> | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [method-signature-style](https://typescript-eslint.io/rules/method-signature-style)<br>Enforce using a particular method signature syntax | | πŸ”§ | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [no-magic-numbers](https://typescript-eslint.io/rules/no-magic-numbers)<br>Disallow magic numbers | <details><summary>ignore: -1, 0, 1, 2, 7, 10,...</summary><pre>{<br> "ignore": [<br> -1,<br> 0,<br> 1,<br> 2,<br> 7,<br> 10,<br> 24,<br> 60,<br> 100,<br> 1000,<br> 3600<br> ],<br> "ignoreClassFieldInitialValues": true,<br> "ignoreDefaultValues": true,<br> "ignoreEnums": true,<br> "ignoreNumericLiteralTypes": true,<br> "ignoreReadonlyClassProperties": true,<br> "ignoreTypeIndexes": true,<br> "enforceConst": true,<br> "detectObjects": true,<br> "ignoreArrayIndexes": false<br>}</pre></details> | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [no-magic-numbers](https://typescript-eslint.io/rules/no-magic-numbers)<br>Disallow magic numbers | <details><summary>ignore: -1, 0, 1, 2, 7, 10,...</summary><pre>{<br> "ignore": [<br> -1,<br> 0,<br> 1,<br> 2,<br> 7,<br> 10,<br> 24,<br> 60,<br> 100,<br> 1000,<br> 3600<br> ],<br> "ignoreClassFieldInitialValues": true,<br> "ignoreDefaultValues": true,<br> "ignoreEnums": true,<br> "ignoreNumericLiteralTypes": true,<br> "ignoreReadonlyClassProperties": true,<br> "ignoreTypeIndexes": true,<br> "enforceConst": true,<br> "detectObjects": true,<br> "ignoreArrayIndexes": false<br>}</pre></details> | | πŸ§ͺ🚫 |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [no-shadow](https://typescript-eslint.io/rules/no-shadow)<br>Disallow variable declarations from shadowing variables declared in the outer scope | | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [no-unused-expressions](https://typescript-eslint.io/rules/no-unused-expressions)<br>Disallow unused expressions | | | |
| [![functional](./icons/icons8/lambda.png)](https://github.com/eslint-functional/eslint-plugin-functional#readme) | [no-let](https://github.com/eslint-functional/eslint-plugin-functional/blob/v6.0.0/docs/rules/no-let.md)<br>Disallow mutable variables. | | | πŸ§ͺ🚫 |
Expand Down
2 changes: 1 addition & 1 deletion docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Config for strict **TypeScript** projects.
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [prefer-ts-expect-error](https://typescript-eslint.io/rules/prefer-ts-expect-error)<br>Enforce using `@ts-expect-error` over `@ts-ignore` | | πŸ”§ | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [require-await](https://typescript-eslint.io/rules/require-await)<br>Disallow async functions which have no `await` expression | | | πŸ§ͺ⚠️ |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [restrict-plus-operands](https://typescript-eslint.io/rules/restrict-plus-operands)<br>Require both operands of addition to be the same type and be `bigint`, `number`, or `string` | <details><summary>allowAny: false, allowBoole...</summary><pre>{<br> "allowAny": false,<br> "allowBoolean": false,<br> "allowNullish": false,<br> "allowNumberAndString": false,<br> "allowRegExp": false<br>}</pre></details> | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)<br>Enforce template literal expressions to be of `string` type | <details><summary>allowAny: false, allowBoole...</summary><pre>{<br> "allowAny": false,<br> "allowBoolean": false,<br> "allowNullish": false,<br> "allowNumber": false,<br> "allowRegExp": false,<br> "allowNever": false<br>}</pre></details> | | πŸ§ͺ🚫 |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)<br>Enforce template literal expressions to be of `string` type | <details><summary>allowBoolean: true, allowNu...</summary><pre>{<br> "allowBoolean": true,<br> "allowNumber": true<br>}</pre></details> | | πŸ§ͺ🚫 |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [unified-signatures](https://typescript-eslint.io/rules/unified-signatures)<br>Disallow two overloads that could be unified into one with a union or an optional/rest parameter | | | |
| [![@typescript-eslint](./icons/material/typescript.png)](https://typescript-eslint.io/) | [use-unknown-in-catch-callback-variable](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable)<br>Enforce typing arguments in `.catch()` callbacks as `unknown` | | πŸ”§, πŸ’‘ | |
| [![deprecation](./icons/icons8/expired.png)](https://github.com/gund/eslint-plugin-deprecation#readme) | [deprecation](https://github.com/gund/eslint-plugin-deprecation)<br>Do not use deprecated APIs. | | | |
Expand Down

0 comments on commit d036bd1

Please sign in to comment.