diff --git a/package.json b/package.json index 18e6f1377e8..b9207775094 100644 --- a/package.json +++ b/package.json @@ -234,8 +234,12 @@ "module": "./index.js", "typings": "./index.d.ts", "lint-staged": { - "*.ts": "npm run lint-lib -- --fix", - "*.scss": "npm run stylelint --syntax scss" + "linters": { + "**/demo-shell/**/*.ts": "npm run lint-lib -- --fix", + "**/lib/**/*.ts": "npm run lint-lib -- --fix", + "**/e2e/**/*.ts": "npm run lint-e2e -- --fix", + "*.scss": "npm run stylelint -- --fix" + } }, "husky": { "hooks": {