mirror of https://github.com/astral-sh/ruff
Use `https://ty.dev/rules` when linking to the rules table (#18072)
This commit is contained in:
parent
fe653de3dd
commit
cfbb914100
|
|
@ -22,7 +22,7 @@ respect-ignore-files = false
|
|||
|
||||
Configures the enabled rules and their severity.
|
||||
|
||||
See [the rules documentation](https://github.com/astral-sh/ty/blob/main/docs/rules.md) for a list of all available rules.
|
||||
See [the rules documentation](https://ty.dev/rules) for a list of all available rules.
|
||||
|
||||
Valid severities are:
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ pub struct Options {
|
|||
|
||||
/// Configures the enabled rules and their severity.
|
||||
///
|
||||
/// See [the rules documentation](https://github.com/astral-sh/ty/blob/main/docs/rules.md) for a list of all available rules.
|
||||
/// See [the rules documentation](https://ty.dev/rules) for a list of all available rules.
|
||||
///
|
||||
/// Valid severities are:
|
||||
///
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
]
|
||||
},
|
||||
"rules": {
|
||||
"description": "Configures the enabled rules and their severity.\n\nSee [the rules documentation](https://github.com/astral-sh/ty/blob/main/docs/rules.md) for a list of all available rules.\n\nValid severities are:\n\n* `ignore`: Disable the rule. * `warn`: Enable the rule and create a warning diagnostic. * `error`: Enable the rule and create an error diagnostic. ty will exit with a non-zero code if any error diagnostics are emitted.",
|
||||
"description": "Configures the enabled rules and their severity.\n\nSee [the rules documentation](https://ty.dev/rules) for a list of all available rules.\n\nValid severities are:\n\n* `ignore`: Disable the rule. * `warn`: Enable the rule and create a warning diagnostic. * `error`: Enable the rule and create an error diagnostic. ty will exit with a non-zero code if any error diagnostics are emitted.",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/Rules"
|
||||
|
|
|
|||
Loading…
Reference in New Issue