Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Loading