// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include "Luau/LinterConfig.h" #include "Luau/Location.h" #include #include #include namespace Luau { struct AstName; class AstStat; class AstNameTable; struct TypeChecker; struct Module; using ScopePtr = std::shared_ptr; struct LintResult { std::vector errors; std::vector warnings; }; std::vector lint( AstStat* root, const AstNameTable& names, const ScopePtr& env, const Module* module, const std::vector& hotcomments, const LintOptions& options ); std::vector getDeprecatedGlobals(const AstNameTable& names); } // namespace Luau