Skip to content

Commit e18d301

Browse files
committed
Remove @since JSDoc comments
they are not relevant anymore when the functions are available in all supported ESLint versions
1 parent 9f411ed commit e18d301

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

typings/eslint/index.d.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export namespace Scope {
1818
scopes: Scope[]
1919
globalScope: Scope | null
2020
acquire(node: VAST.ESNode | VAST.Program, inner?: boolean): Scope | null
21-
/** @since ESLint v8.38.0 */
2221
getDeclaredVariables(node: VAST.ESNode): Variable[]
2322
}
2423
interface Scope {
@@ -232,9 +231,7 @@ export class SourceCode /*extends ESLintSourceCode*/ {
232231
getCommentsAfter(nodeOrToken: VNODE.HasLocation): VNODE.Comment[]
233232
getCommentsInside(node: VNODE.HasLocation): VNODE.Comment[]
234233

235-
/** @since ESLint v8.39.0 */
236234
markVariableAsUsed(name: string, node?: VNODE.HasLocation): void
237-
/** @since ESLint v8.37.0 */
238235
getScope(node: VNODE.HasLocation): Scope.Scope
239236
}
240237
export namespace SourceCode {
@@ -338,25 +335,21 @@ export namespace Rule {
338335
getDeclaredVariables?(node: VAST.ESNode): Scope.Variable[]
339336
/** @deprecated removed in ESLint v10 */
340337
getFilename(): string
341-
/** @since ESLint v8.40.0 */
342338
filename: string
343339
/** @deprecated removed in ESLint v10 */
344340
getPhysicalFilename(): string
345-
/** @since ESLint v8.40.0 */
346341
physicalFilename: string
347342
/** @deprecated removed in ESLint v9 */
348343
getScope?(): Scope.Scope
349344
/** @deprecated removed in ESLint v10 */
350345
getSourceCode(): SourceCode
351-
/** @since ESLint v8.40.0 */
352346
sourceCode: SourceCode
353347
/** @deprecated removed in ESLint v9 */
354348
markVariableAsUsed(name: string): boolean
355349
report(descriptor: ReportDescriptor): void
356350

357351
/** @deprecated removed in ESLint v10 */
358352
getCwd: () => string
359-
/** @since ESLint v8.40.0 */
360353
cwd: string
361354
}
362355

0 commit comments

Comments
 (0)