diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 5611f314d..8cf585379 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -303,45 +303,21 @@ export interface RuleContext< */ cwd: string; - /** - * Returns the current working directory for the session. - * @deprecated Use `cwd` instead. - */ - getCwd(): string; - /** * The filename of the file being linted. */ filename: string; - /** - * Returns the filename of the file being linted. - * @deprecated Use `filename` instead. - */ - getFilename(): string; - /** * The physical filename of the file being linted. */ physicalFilename: string; - /** - * Returns the physical filename of the file being linted. - * @deprecated Use `physicalFilename` instead. - */ - getPhysicalFilename(): string; - /** * The source code object that the rule is running on. */ sourceCode: Options["Code"]; - /** - * Returns the source code object that the rule is running on. - * @deprecated Use `sourceCode` instead. - */ - getSourceCode(): Options["Code"]; - /** * Shared settings for the configuration. */