Skip to content

Commit f01f7eb

Browse files
committed
fix some (future) linting issues
1 parent 79052bb commit f01f7eb

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

extensions/npm/extension.webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = withDefaults({
1919
output: {
2020
filename: 'main.js',
2121
path: path.join(__dirname, 'dist'),
22-
libraryTarget: "commonjs",
22+
libraryTarget: 'commonjs',
2323
},
2424
resolve: {
2525
mainFields: ['module', 'main'],

extensions/search-result/syntaxes/generateTMLanguage.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// @ts-check
2+
// todo@jackson
3+
/* eslint code-no-unexternalized-strings: 0 */
24

35
const mappings = [
46
['bat', 'source.batchfile'],

extensions/shared.webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = function withDefaults(/**@type WebpackConfig*/extConfig) {
4949
loader: 'ts-loader',
5050
options: {
5151
compilerOptions: {
52-
"sourceMap": true,
52+
'sourceMap': true,
5353
}
5454
}
5555
}]
@@ -63,7 +63,7 @@ module.exports = function withDefaults(/**@type WebpackConfig*/extConfig) {
6363
// packaging depends on that and this must always be like it
6464
filename: '[name].js',
6565
path: path.join(extConfig.context, 'dist'),
66-
libraryTarget: "commonjs",
66+
libraryTarget: 'commonjs',
6767
},
6868
// yes, really source maps
6969
devtool: 'source-map',

extensions/typescript-language-features/src/test/functionCallSnippet.test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
// todo@matt
7+
/* eslint code-no-unexternalized-strings: 0 */
8+
69
import * as assert from 'assert';
710
import 'mocha';
811
import * as vscode from 'vscode';

src/vs/base/common/performance.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if (typeof global === 'object') {
100100
if (typeof define === 'function') {
101101
// amd
102102
define([], function () { return _factory(sharedObj); });
103-
} else if (typeof module === "object" && typeof module.exports === "object") {
103+
} else if (typeof module === 'object' && typeof module.exports === 'object') {
104104
// commonjs
105105
module.exports = _factory(sharedObj);
106106
} else {

0 commit comments

Comments
 (0)