diff --git a/package.json b/package.json index cfa46eb..b9c3dd7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "API for Platform Chaos", "main": "dist/index.js", "scripts": { - "lint": "npx tslint 'src/**/*.ts'", + "lint": "npx tslint --project .", "test": "npm run lint && mocha dist/test/", "compile": "npm run cleanup && npx tsc", "cleanup": "rimraf dist/" diff --git a/tsconfig.json b/tsconfig.json index e39fa04..2efb109 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,8 @@ "module": "commonjs", "outDir": "dist", "sourceMap": true, - "target": "es6" + "target": "es6", + "strictNullChecks": true }, "include": [ "src/**/*"