Urara-Blog/node_modules/.pnpm-store/v3/files/59/96bf901c423e769446064ba5c3723c9d86de5417a3864c475489958ba5d51ecb76a235e8e35896c6c29f798e850c6de4ea2039da318d6c532cdde6113390d9
2022-08-14 01:14:53 +08:00

53 lines
839 B
Text

> 🛑 This file is source code, not the primary documentation location! 🛑
>
> See **https://typescript-eslint.io/rules/your-rule-name** for documentation.
## Rule Details
To fill out: tell us more about this rule.
<!--tabs-->
### ❌ Incorrect
```ts
// To fill out: incorrect code
```
### ✅ Correct
```ts
// To fill out: correct code
```
## Options
This rule is not configurable.
```jsonc
// .eslintrc.json
{
"rules": {
"@typescript-eslint/your-rule-name": "error"
}
}
```
If not configurable: This rule is not configurable.
If configurable...
```ts
type Options = {
someOption?: boolean;
};
const defaultOptions: Options = {
someOption: false,
};
```
## When Not To Use It
To fill out: why wouldn't you want to use this rule?
For example if this rule requires a feature released in a certain TS version.