eslint-plugin-roku
Version:
The ESLint custom plugin with rules and parser for .brs files
13 lines (12 loc) • 708 B
TypeScript
import { Rule, Scope } from "eslint";
export declare const globals: string[];
export declare function isInForEach(node: any, key: any): boolean;
export declare function isInForLoop(node: any, key: any): boolean;
export declare function findAllDeclaredVariables(scope: Scope.Scope): string[];
export declare function addDeclaredVariable(name: string, context: Rule.RuleContext): void;
export declare function addParamsToScope(node: any, context: any): void;
export declare function getFileGlobals(context: Rule.RuleContext): string[];
export declare function getGlobalsFromComment(comment: {
value: string;
}): string[];
export declare function getProgramGlobalComments(context: Rule.RuleContext): any[];