mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-19 17:58:39 +00:00
Small cleanup
This commit is contained in:
@@ -38,7 +38,8 @@ export default new class implements eslint.Rule.RuleModule {
|
||||
|
||||
const fileDirname = dirname(context.getFilename());
|
||||
const parts = fileDirname.split(/\\|\//);
|
||||
const ruleArgs = context.options[0] as Record<string, string[]>; let config: Config | undefined;
|
||||
const ruleArgs = context.options[0] as Record<string, string[]>;
|
||||
let config: Config | undefined;
|
||||
for (let i = parts.length - 1; i >= 0; i--) {
|
||||
if (ruleArgs[parts[i]]) {
|
||||
config = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"typecheck": "tsgo -p tsconfig.json --noEmit"
|
||||
|
||||
Reference in New Issue
Block a user