diff --git a/package.json b/package.json index 7369c6338..300b75117 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "scripts": { "build": "tsc", "clear": "rm -rf src/*", - "generate": "node generator.js", - "lint": "eslint --cache", + "generate": "node generator.js && eslint --fix src", + "lint": "eslint --cache --ignore-pattern src", "lint:fix": "npm run lint -- --fix", "typecheck": "tsc --noEmit", "test": "jest --config jestconfig.json --passWithNoTests",