Skip to content

Commit

Permalink
Update more extensions to use shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Oct 2, 2018
1 parent e4e040c commit 52d3961
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 72 deletions.
2 changes: 1 addition & 1 deletion extensions/debug-auto-launch/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function deactivate(): void {
}


function toggleAutoAttachSetting(context: vscode.ExtensionContext) {
function toggleAutoAttachSetting() {

const conf = vscode.workspace.getConfiguration(DEBUG_SETTINGS);
if (conf) {
Expand Down
8 changes: 1 addition & 7 deletions extensions/debug-auto-launch/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"outDir": "./out",
"lib": [
"es2015"
],
"strict": true,
"noUnusedLocals": true,
"downlevelIteration": true
},
"include": [
Expand Down
13 changes: 2 additions & 11 deletions extensions/grunt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"lib": [
"es2016"
],
"outDir": "./out",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true
"outDir": "./out"
},
"include": [
"src/**/*"
Expand Down
13 changes: 2 additions & 11 deletions extensions/gulp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"lib": [
"es2016"
],
"outDir": "./out",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true
"outDir": "./out"
},
"include": [
"src/**/*"
Expand Down
16 changes: 3 additions & 13 deletions extensions/merge-conflict/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es6",
"lib": [
"es2016"
],
"module": "commonjs",
"outDir": "./out",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"experimentalDecorators": true
"outDir": "./out"
},
"include": [
"src/**/*"
]
}
}
13 changes: 2 additions & 11 deletions extensions/php-language-features/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es5",
"lib": [
"es2015"
],
"module": "commonjs",
"outDir": "./out",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true
"outDir": "./out"
},
"include": [
"src/**/*"
Expand Down
2 changes: 1 addition & 1 deletion extensions/python/src/pythonMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'use strict';
import { ExtensionContext, languages, IndentAction } from 'vscode';

export function activate(context: ExtensionContext): any {
export function activate(_context: ExtensionContext): any {
languages.setLanguageConfiguration('python', {
onEnterRules: [
{
Expand Down
9 changes: 2 additions & 7 deletions extensions/python/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"target": "es5",
"lib": [
"es2015"
],
"module": "commonjs",
"outDir": "./out",
"strict": true
"outDir": "./out"
},
"include": [
"src/**/*"
Expand Down
12 changes: 2 additions & 10 deletions extensions/vscode-colorize-tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
{
"extends": "../shared.tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"target": "ES5",
"outDir": "out",
"lib": [
"es2015"
],
"sourceMap": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true
"outDir": "./out"
},
"include": [
"src/**/*"
Expand Down

0 comments on commit 52d3961

Please sign in to comment.