@@ -303,67 +303,31 @@ export interface RuleContext<
303303 */
304304 cwd : string ;
305305
306- /**
307- * Returns the current working directory for the session.
308- * @deprecated Use `cwd` instead.
309- */
310- getCwd ( ) : string ;
311-
312306 /**
313307 * The filename of the file being linted.
314308 */
315309 filename : string ;
316310
317- /**
318- * Returns the filename of the file being linted.
319- * @deprecated Use `filename` instead.
320- */
321- getFilename ( ) : string ;
322-
323311 /**
324312 * The physical filename of the file being linted.
325313 */
326314 physicalFilename : string ;
327315
328- /**
329- * Returns the physical filename of the file being linted.
330- * @deprecated Use `physicalFilename` instead.
331- */
332- getPhysicalFilename ( ) : string ;
333-
334316 /**
335317 * The source code object that the rule is running on.
336318 */
337319 sourceCode : Options [ "Code" ] ;
338320
339- /**
340- * Returns the source code object that the rule is running on.
341- * @deprecated Use `sourceCode` instead.
342- */
343- getSourceCode ( ) : Options [ "Code" ] ;
344-
345321 /**
346322 * Shared settings for the configuration.
347323 */
348324 settings : SettingsConfig ;
349325
350- /**
351- * Parser-specific options for the configuration.
352- * @deprecated Use `languageOptions.parserOptions` instead.
353- */
354- parserOptions : Record < string , unknown > ;
355-
356326 /**
357327 * The language options for the configuration.
358328 */
359329 languageOptions : Options [ "LangOptions" ] ;
360330
361- /**
362- * The CommonJS path to the parser used while parsing this file.
363- * @deprecated No longer used.
364- */
365- parserPath : string | undefined ;
366-
367331 /**
368332 * The rule ID.
369333 */
0 commit comments