Skip to content

Commit

Permalink
chore: add lint staged
Browse files Browse the repository at this point in the history
Signed-off-by: Charlike Mike Reagent <[email protected]>
  • Loading branch information
tunnckoCore committed Mar 6, 2020
1 parent e8ad0a9 commit 13d43a6
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ dist
!*.*js
!*.*ts

memoize-fs.js
.lint.config.js
# globbing.js
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,21 @@
"husky": "^4.2.3",
"jest": "^25.1.0",
"lerna": "^3.20.2",
"lint-staged": "^10.0.8",
"lockfile-lint": "^4.0.0",
"prettier": "^1.19.1",
"prettier-plugin-pkgjson": "^0.2.4"
},
"hela": "./.hela.config.js",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,mjs,cjs,ts,tsx}": "yarn lint",
"**/*.{js,md,json}": "prettier --write"
},
"renovate": {
"extends": [
"@tunnckocore"
Expand Down
Loading

0 comments on commit 13d43a6

Please sign in to comment.