Skip to content

Commit

Permalink
fix(build): commit lint rule
Browse files Browse the repository at this point in the history
Signed-off-by: Cory Rylan <cory@coryrylan.com>
  • Loading branch information
coryrylan committed Oct 12, 2023
1 parent 316e406 commit 4f54895
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
'subject-max-length': [2, 'always', 100],
'body-max-line-length': [0, 'always', 100],
'body-max-length': [0, 'always', 100],
'footer-max-line-length': [0, 'always', 100],
'type-empty': [2, 'never'],
'type-enum': [2, 'always', ['chore', 'feat', 'fix']]
}
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run ci
npx lint-staged
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"scripts": {
"ci": "wireit",
"ci:quiet": "wireit",
"ci:metrics": "wireit",
"lint": "wireit",
"lint:fix": "wireit",
"build": "wireit",
Expand All @@ -45,9 +45,6 @@
},
"wireit": {
"ci": {
"command": "WIREIT_LOGGER=metrics npm run ci:quiet"
},
"ci:quiet": {
"command": "WIREIT_PARALLEL=1 npm run test:performance",
"dependencies": [
"format",
Expand All @@ -58,6 +55,9 @@
"examples"
]
},
"ci:metrics": {
"command": "WIREIT_LOGGER=metrics npm run ci"
},
"lint": {
"command": "eslint \"./**/*.ts\" --color --cache --cache-location .eslintcache && stylelint --config \"./stylelint.config.cjs\" \"./**/*.css\"",
"files": [
Expand Down

0 comments on commit 4f54895

Please sign in to comment.