/home/techb158/balavpn.abdallabala.com/node_modules/eslint-module-utils
NameSizeModeActions
node_modules/-0777rm
.nycrc2410666editdlrm
CHANGELOG.md95490666editdlrm
contextCompat.d.ts12660666editdlrm
contextCompat.js19430666editdlrm
declaredScope.d.ts2450666editdlrm
declaredScope.js4410666editdlrm
hash.d.ts3430666editdlrm
hash.js15100666editdlrm
ignore.d.ts4280666editdlrm
ignore.js22510666editdlrm
LICENSE10780666editdlrm
module-require.d.ts800666editdlrm
module-require.js10410666editdlrm
ModuleCache.d.ts6030666editdlrm
ModuleCache.js16880666editdlrm
moduleVisitor.d.ts6620666editdlrm
moduleVisitor.js55650666editdlrm
package.json24300666editdlrm
parse.d.ts1900666editdlrm
parse.js82570666editdlrm
pkgDir.d.ts770666editdlrm
pkgDir.js2640666editdlrm
pkgUp.d.ts870666editdlrm
pkgUp.js21090666editdlrm
readPkgUp.d.ts1570666editdlrm
readPkgUp.js18080666editdlrm
resolve.d.ts12450666editdlrm
resolve.js85180666editdlrm
tsconfig.json2260666editdlrm
types.d.ts3100666editdlrm
unambiguous.d.ts1670666editdlrm
unambiguous.js9390666editdlrm
visit.d.ts2380666editdlrm
visit.js6720666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/eslint-module-utils/contextCompat.d.ts (1266B)
import { Scope, SourceCode, Rule } from 'eslint'; import * as ESTree from 'estree'; type LegacyContext = { getCwd: () => string; getFilename: () => string; getPhysicalFilename: () => string; getSourceCode: () => SourceCode; getScope: never; getAncestors: never; getDeclaredVariables: never; }; type NewContext = { cwd: string; filename: string; sourceCode: SourceCode; getPhysicalFilename?: () => string; getScope: () => Scope.Scope; getAncestors: () => ESTree.Node[]; getDeclaredVariables: (node: ESTree.Node) => Scope.Variable[]; }; export type Context = LegacyContext | NewContext | Rule.RuleContext; declare function getAncestors(context: Context, node: ESTree.Node): ESTree.Node[]; declare function getDeclaredVariables(context: Context, node: ESTree.Node): Scope.Variable[]; declare function getFilename(context: Context): string; declare function getPhysicalFilename(context: Context): string; declare function getScope(context: Context, node?: ESTree.Node): Scope.Scope; declare function getSourceCode(context: Context): SourceCode; declare function getCWD(context: Context): string | undefined; export { getAncestors, getCWD, getDeclaredVariables, getFilename, getPhysicalFilename, getScope, getSourceCode, };