Skip to content

Commit

Permalink
Extend tsconfig from a base config
Browse files Browse the repository at this point in the history
Simplify individual configs
  • Loading branch information
isaacl committed Jun 25, 2019
1 parent d0ce94c commit 1ee4c7a
Show file tree
Hide file tree
Showing 21 changed files with 61 additions and 222 deletions.
12 changes: 2 additions & 10 deletions ui/analyse/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": false,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitAny": false,
"noImplicitReturns": false,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitReturns": false
}
}
15 changes: 2 additions & 13 deletions ui/ceval/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "test/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./dist",
"rootDir": ".",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
13 changes: 2 additions & 11 deletions ui/challenge/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": false,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noEmitOnError": false
}
}
15 changes: 2 additions & 13 deletions ui/chat/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": false,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noEmitOnError": false
}
}
15 changes: 2 additions & 13 deletions ui/chess/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
13 changes: 2 additions & 11 deletions ui/cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": false,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noEmitOnError": false
}
}
16 changes: 2 additions & 14 deletions ui/common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
12 changes: 1 addition & 11 deletions ui/dasher/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
}
}
15 changes: 2 additions & 13 deletions ui/game/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/**/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
14 changes: 3 additions & 11 deletions ui/lobby/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitAny": false,
"allowJs": true
}
}
12 changes: 1 addition & 11 deletions ui/notify/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": false,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
}
}
15 changes: 2 additions & 13 deletions ui/nvui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
13 changes: 3 additions & 10 deletions ui/puzzle/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitReturns": false,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitAny": false,
"noImplicitReturns": false
}
}
15 changes: 3 additions & 12 deletions ui/round/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitAny": false,
"allowJs": true
}
}
5 changes: 3 additions & 2 deletions ui/site/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true
"allowJs": true,
"noImplicitAny": false
}
}
12 changes: 1 addition & 11 deletions ui/speech/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": false,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
}
}
13 changes: 3 additions & 10 deletions ui/tournament/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitReturns": false,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitAny": false,
"noImplicitReturns": false
}
}
12 changes: 3 additions & 9 deletions ui/tournamentCalendar/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noImplicitAny": false,
"noUnusedLocals": false,
"noEmitOnError": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": false,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noUnusedParameters": false
}
}
14 changes: 3 additions & 11 deletions ui/tournamentSchedule/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts", "src/*.js"],
"exclude": [],
"compilerOptions": {
"allowJs": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"noImplicitAny": false,
"allowJs": true
}
}
15 changes: 2 additions & 13 deletions ui/tree/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
{
"extends": "../tsconfig.base.json",
"include": ["src/*.ts"],
"exclude": [],
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"target": "ES5",
"lib": ["DOM", "ES5", "es2015.core", "es2015.Promise", "es2015.Iterable"]
"declaration": true
}
}
Loading

0 comments on commit 1ee4c7a

Please sign in to comment.