diff --git a/package.json b/package.json index 08719ba5..699eb7e4 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "build": "rollup -c", "dev": "rollup -c -w", "test": "TZ=Europe/Ljubljana jest", - "lint": "eslint --max-warnings 0 --ext .ts,js src/", + "lint": "tsc && eslint --max-warnings 0 --ext .ts,js src/", "prettier": "prettier --write \"{src,example,stories}/**/*.{ts,js}\"", "storybook": "concurrently --kill-others \"rollup -c -w\" \"start-storybook -p 6006 --quiet\"", "build-storybook": "build-storybook", diff --git a/tsconfig.json b/tsconfig.json index 0bbd8578..f1636000 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "target": "es2016", "moduleResolution": "node", "esModuleInterop": true, - "skipLibCheck": true + "skipLibCheck": true, + "strict": true, }, "include": ["src/**/*"], }