vscode: migrate to tripple equals

This commit is contained in:
Veetaha 2020-02-17 22:35:37 +02:00
parent f9acb4333f
commit d905abfb11
4 changed files with 10 additions and 9 deletions

View file

@ -12,6 +12,7 @@ module.exports = {
"@typescript-eslint"
],
"rules": {
"eqeqeq": ["error", "always", { "null": "ignore" }],
"camelcase": ["error"],
"@typescript-eslint/member-delimiter-style": [
"error",

View file

@ -5,18 +5,18 @@
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.5.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
"integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
"integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
"dev": true,
"requires": {
"@babel/highlight": "^7.0.0"
"@babel/highlight": "^7.8.3"
}
},
"@babel/highlight": {
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz",
"integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==",
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
"integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
"dev": true,
"requires": {
"chalk": "^2.0.0",

View file

@ -73,7 +73,7 @@ class HintsUpdater {
async setEnabled(enabled: boolean): Promise<void> {
console.log({ enabled, prev: this.enabled });
if (this.enabled == enabled) return;
if (this.enabled === enabled) return;
this.enabled = enabled;
if (this.enabled) {

View file

@ -42,7 +42,7 @@ export async function ensureServerBinary(source: null | BinarySource): Promise<n
console.log("Installed version:", installedVersion, "required:", requiredVersion);
if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion == requiredVersion) {
if (isBinaryAvailable(prebuiltBinaryPath) && installedVersion === requiredVersion) {
return prebuiltBinaryPath;
}