UNPKG
@herbertgao/surgio
Version:
latest (3.11.0-herbertgao1)
3.11.0-herbertgao1
3.11.0-herbertgao
Generating rules for Surge, Clash, Quantumult like a PRO
surgio.js.org
geekdada/surgio
@herbertgao/surgio
/
build
/
utils
/
linter.d.ts
5 lines
(4 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
import
{
ESLint
}
from
'eslint'
;
export
declare
const
createCli
:
(
cliConfig
?:
ESLint
.
Options
) =>
ESLint
;
export
declare
const
checkAndFix
:
(
cwd
:
string
) =>
Promise
<
boolean
>;
export
declare
const
check
:
(
cwd
:
string
) =>
Promise
<
boolean
>;