Update .eslintrc.json and add prettier support

Add pre-commit hook to lint staged files
Add some eslint plugins

Gitlab: #2

Change-Id: Iea7800b66992dcb4b87501544647aedafe07a509
diff --git a/tsconfig.json b/tsconfig.json
index 34d02fe..61b85b4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -12,20 +12,18 @@
     "moduleResolution": "Node",
     /* Specify an output folder for all emitted files. */
     "outDir": "./dist/",
+    /* Enable importing .json files. */
+    "resolveJsonModule": true,
     /* Skip type checking all .d.ts files. */
     "skipLibCheck": true,
     /* Create source map files for emitted JavaScript files. */
     "sourceMap": true,
-    /* When type checking, take into account 'null' and 'undefined'. */
-    "strictNullChecks": true,
+    /* Enable all strict type-checking options. */
+    "strict": true,
     /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
-    "target": "ES2017",
+    "target": "ES2017"
   },
-  "include": [
-    "model",
-    "routes",
-    "app.ts",
-  ],
+  "include": ["model", "routes", "app.ts"],
   "ts-node": {
     "esm": "true"
   }