Skip to content

Commit 452e1ad

Browse files
committed
fix: eslint errors
1 parent e4716fa commit 452e1ad

File tree

7 files changed

+1093
-1096
lines changed

7 files changed

+1093
-1096
lines changed

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
CHANGELOG.md
1+
CHANGELOG.md
2+
*.test.js

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
"husky": {
2121
"hooks": {
2222
"pre-commit": "lint-staged",
23-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
23+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
24+
"pre-push": "npm run lint:fix && npm run prettier:fix"
2425
}
2526
},
2627
"lint-staged": {
2728
"**/*.{js,ts,tsx}": [
28-
"eslint --fix --ext .js,.ts,.tsx .",
29+
"npm run lint:fix",
2930
"git add ."
3031
],
3132
"**/*.{css,html,js,json,md,yaml,yml}": [

release.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ module.exports = {
3737
'@semantic-release/npm',
3838
{
3939
pkgRoot: '.',
40-
// TODO: set true for npm module project
41-
npmPublish: false,
40+
npmPublish: true,
4241
tarballDir: false
4342
}
4443
],

0 commit comments

Comments
 (0)