Skip to content

Commit 0bd8359

Browse files
authored
Merge pull request #281 from aeisenberg/aeisenberg/eslint
chore: Introduce eslint
2 parents 8e73c64 + 443abea commit 0bd8359

File tree

16 files changed

+980
-193
lines changed

16 files changed

+980
-193
lines changed

.vscode/settings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,15 @@
2222
"common/temp": true,
2323
"**/.vscode-test": true
2424
},
25-
"typescript.tsdk": "./common/temp/node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
25+
"typescript.tsdk": "./common/temp/node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
26+
"eslint.validate": [
27+
"javascript",
28+
"javascriptreact",
29+
"typescript",
30+
"typescriptreact"
31+
],
32+
"eslint.options": {
33+
// This is necessary so that eslint can properly resolve its plugins
34+
"resolvePluginsRelativeTo": "./extensions/ql-vscode"
35+
}
2636
}

.vscode/tasks.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"file": 1,
2929
"location": 2,
3030
"message": 3
31-
},
31+
}
3232
},
3333
"$ts-webpack"
3434
]
@@ -100,6 +100,15 @@
100100
"clear": true
101101
},
102102
"problemMatcher": []
103+
},
104+
{
105+
"type": "npm",
106+
"script": "watch",
107+
"path": "extensions/ql-vscode/",
108+
"problemMatcher": [
109+
"$gulp-tsc"
110+
],
111+
"group": "build"
103112
}
104113
]
105114
}

0 commit comments

Comments
 (0)