|
32 | 32 | "devDependencies": {
|
33 | 33 | "@kazupon/lerna-changelog": "^4.3.0",
|
34 | 34 | "@microsoft/api-extractor": "^7.18.4",
|
| 35 | + "@secretlint/secretlint-rule-preset-recommend": "^3.3.0", |
35 | 36 | "@types/jest": "^26.0.22",
|
36 | 37 | "@types/node": "^14.14.25",
|
37 | 38 | "@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
52 | 53 | "npm-run-all": "^4.1.5",
|
53 | 54 | "opener": "^1.5.2",
|
54 | 55 | "puppeteer": "^10.2.0",
|
| 56 | + "secretlint": "^3.3.0", |
55 | 57 | "shipjs": "^0.23.3",
|
56 | 58 | "ts-jest": "^26.5.4",
|
57 | 59 | "typescript": "^4.3.5",
|
|
100 | 102 | "clean:lib": "rm -rf ./lib/*.*",
|
101 | 103 | "coverage": "opener coverage/lcov-report/index.html",
|
102 | 104 | "example": "yarn build && webpack-dev-server --config example/webpack.config.js --inline --hot",
|
103 |
| - "fix": "npm-run-all --parallel lint:fix format:fix", |
| 105 | + "fix": "npm-run-all --parallel lint:eslint:fix format:fix", |
104 | 106 | "format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
|
105 | 107 | "format:fix": "yarn format --write",
|
106 |
| - "lint": "eslint ./src ./test --ext .ts", |
107 |
| - "lint:fix": "yarn lint --fix", |
| 108 | + "lint": "npm-run-all --parallel lint:eslint lint:secret", |
| 109 | + "lint:eslint": "eslint ./src ./test --ext .ts", |
| 110 | + "lint:eslint:fix": "yarn lint:eslint --fix", |
| 111 | + "lint:secret": "npx secretlint \"**/*\"", |
108 | 112 | "release:prepare": "shipjs prepare",
|
109 | 113 | "release:trigger": "shipjs trigger",
|
110 | 114 | "test": "yarn lint && yarn test:cover && yarn test:e2e",
|
|
0 commit comments