Loading...
Loading...
Compare original and translation side by side
foofooundefinedundefinedundefinedundefined$VAR$$$ARGS$_$$$VAR$$$ARGS$_$$identifierfunction_definition$VAR();smartsmartcstastrelaxedsignatureidentifierfunction_definition$VAR();smartsmartcstastrelaxedsignatureid: no-console-log
language: TypeScript
rule:
pattern: console.log($$$ARGS)
inside:
kind: function_declaration
stopBy: end
fix: '' # Remove the logid: no-console-log
language: TypeScript
rule:
pattern: console.log($$$ARGS)
inside:
kind: function_declaration
stopBy: end
fix: '' # 移除日志语句sgconfig.ymlast-grep new projectsgconfig.ymlvalidinvalidsgconfig.ymlast-grep new projectsgconfig.ymlvalidinvalidutils:
is-literal:
any: [{kind: string}, {kind: number}]
rule:
matches: is-literalutils:
is-literal:
any: [{kind: string}, {kind: number}]
rule:
matches: is-literalidseverityfilesignoresidseverityfilesignoresscanrunnewtestlspscanrunnewtestlsp