diff --git a/contentprovider-sample/.vscode/extensions.json b/contentprovider-sample/.vscode/extensions.json new file mode 100644 index 00000000..ee71911b --- /dev/null +++ b/contentprovider-sample/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "eg2.tslint" + ] +} \ No newline at end of file diff --git a/contentprovider-sample/.vscode/settings.json b/contentprovider-sample/.vscode/settings.json new file mode 100644 index 00000000..e46111f1 --- /dev/null +++ b/contentprovider-sample/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.insertSpaces": false +} \ No newline at end of file diff --git a/contentprovider-sample/src/referencesDocument.ts b/contentprovider-sample/src/referencesDocument.ts index beb4c91f..2c10a4dd 100644 --- a/contentprovider-sample/src/referencesDocument.ts +++ b/contentprovider-sample/src/referencesDocument.ts @@ -96,7 +96,7 @@ export default class ReferencesDocument { this._lines.push('', uri.toString()); for (let i = 0; i < ranges.length; i++) { - const {start: {line}} = ranges[i]; + const { start: { line } } = ranges[i]; this._appendLeading(doc, line, ranges[i - 1]); this._appendMatch(doc, line, ranges[i], uri); this._appendTrailing(doc, line, ranges[i + 1]); diff --git a/contentprovider-sample/tslint.json b/contentprovider-sample/tslint.json new file mode 100644 index 00000000..0ab0ca6e --- /dev/null +++ b/contentprovider-sample/tslint.json @@ -0,0 +1,6 @@ +{ + "rules": { + "indent": [true, "tabs"], + "semicolon": [true, "always"] + } +} \ No newline at end of file