Skip to content

Commit

Permalink
chore: apply ybiq init (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Sep 10, 2019
1 parent 3942ca7 commit 2e75918
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"release:dry-run": "npm run release -- --dry-run",
"find-new-rules": "eslint-find-rules --unused",
"find-deprecated-rules": "eslint-find-rules --deprecated",
"prettier": "prettier --ignore-path .gitignore \"**/*.{css,html,js,json,jsx,md,mjs,scss,ts,tsx,yaml,yml}\"",
"prettier": "prettier --ignore-path .gitignore \"**/*.{css,html,js,json,jsx,md,mdx,mjs,scss,ts,tsx,yaml,yml}\"",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write"
Expand All @@ -74,21 +74,16 @@
}
},
"lint-staged": {
"linters": {
"*.{js,jsx,mjs,ts,tsx}": [
"eslint --fix --no-ignore",
"git add"
],
"*.md": [
"remark --frail"
],
"*.{css,html,js,json,jsx,md,mjs,scss,ts,tsx,yaml,yml}": [
"prettier --write",
"git add"
]
},
"ignore": [
"CHANGELOG.md"
"*.{js,jsx,mjs,ts,tsx}": [
"eslint --fix --no-ignore",
"git add"
],
"!(CHANGELOG).md": [
"remark --frail"
],
"*.{css,html,js,json,jsx,md,mdx,mjs,scss,ts,tsx,yaml,yml}": [
"prettier --write",
"git add"
]
},
"prettier": {
Expand Down

0 comments on commit 2e75918

Please sign in to comment.