aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/tsconfig.json
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-01-15 10:48:40 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-22 20:21:02 +0100
commitb1e8eaffc8569fcd1005a4a6f5d2768649c06c0c (patch)
treeaee29ea54c3305514f13169aaa71411a5bbc1956 /server/sonar-docs/tsconfig.json
parent33946649b9aabb705d4d3aaa90b0b23bbb5f032c (diff)
downloadsonarqube-b1e8eaffc8569fcd1005a4a6f5d2768649c06c0c.tar.gz
sonarqube-b1e8eaffc8569fcd1005a4a6f5d2768649c06c0c.zip
Upgrade sonar-docs to gatsby v2 and Typescript
* Upgrade to gatsby v2 * Migrate to TS * Add jest tests of some components * Remove glamor
Diffstat (limited to 'server/sonar-docs/tsconfig.json')
-rw-r--r--server/sonar-docs/tsconfig.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/server/sonar-docs/tsconfig.json b/server/sonar-docs/tsconfig.json
new file mode 100644
index 00000000000..16908ed4c3a
--- /dev/null
+++ b/server/sonar-docs/tsconfig.json
@@ -0,0 +1,26 @@
+{
+ "compilerOptions": {
+ "allowJs": true,
+ "checkJs": false,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "strict": true,
+ "strictFunctionTypes": false,
+ "target": "esnext",
+ "jsx": "react",
+ "lib": ["dom", "es2017"],
+ "module": "commonjs",
+ "sourceMap": true,
+ "experimentalDecorators": true,
+ "emitDecoratorMetadata": true,
+ "resolveJsonModule": true,
+ "esModuleInterop": true,
+ "noEmit": true,
+ "skipLibCheck": true,
+ "baseUrl": ".",
+ "paths": {
+ "*": ["./src/@types/*"]
+ }
+ },
+ "include": ["./src/**/*"]
+}