Skip to content

Commit

Permalink
chore: update TypeScript configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Faust committed Oct 14, 2019
1 parent b13d52d commit db0ce17
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"@commitlint/config-conventional": "^8.2.0",
"@faustbrian/benchmarker": "^0.1.2",
"@oclif/dev-cli": "^1.22.2",
"@sindresorhus/tsconfig": "^0.4.0",
"@types/babel__core": "^7.1.3",
"@types/create-hash": "^1.2.0",
"@types/depcheck": "^0.8.0",
Expand Down
19 changes: 15 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
{
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"alwaysStrict": false,
"baseUrl": "./",
"declaration": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2019"],
"module": "commonjs",
"moduleResolution": "node",
"newLine": "lf",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": false,
"noImplicitReturns": false,
"noImplicitThis": false,
"noUnusedLocals": true,
"noUnusedParameters": false,
"pretty": true,
"paths": {
"@packages/*": ["packages/*"],
"@tests/*": ["__tests__/*"]
},
"resolveJsonModule": true,
"sourceMap": true,
"strict": false,
"skipLibCheck": true,
"strict": true,
"strictFunctionTypes": false,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"stripInternal": true,
"target": "es2019",
"typeRoots": ["reflect-metadata", "node_modules/@types"]
},
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2232,11 +2232,6 @@
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==

"@sindresorhus/tsconfig@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/tsconfig/-/tsconfig-0.4.0.tgz#de03022de75a26a48fe7596674f2cfaaa142371f"
integrity sha512-5b9KULv6SGKZ/Ka7EzLxcqcnD9WuZ1wm/RwfVw4UHr+HoMP7FRpvBKbQ0TIeBOCeSyE5zzPTjYmRgfZnJ3Ifxw==

"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.6.0.tgz#ec7670432ae9c8eb710400d112c201a362d83393"
Expand Down

0 comments on commit db0ce17

Please sign in to comment.