diff --git a/crates/ty/docs/configuration.md b/crates/ty/docs/configuration.md index 150e2ea16c..35aa8c4853 100644 --- a/crates/ty/docs/configuration.md +++ b/crates/ty/docs/configuration.md @@ -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: diff --git a/crates/ty_project/src/metadata/options.rs b/crates/ty_project/src/metadata/options.rs index 44428e4d1b..0d465237ce 100644 --- a/crates/ty_project/src/metadata/options.rs +++ b/crates/ty_project/src/metadata/options.rs @@ -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: /// diff --git a/ty.schema.json b/ty.schema.json index 5d54f5b2bc..5734db20a3 100644 --- a/ty.schema.json +++ b/ty.schema.json @@ -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"