Skip to content

Commit

Permalink
chore: Clean up lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Nov 5, 2020
1 parent 1261891 commit d80a190
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions package.json
Expand Up @@ -251,24 +251,14 @@
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"*.{js,ts,tsx}": [
"eslint --fix",
"git add"
],
"*.css": [
"*.{js,ts,tsx,md,css,json}": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"*.{ts,tsx,js,md,css}": [
"prettier --write",
"git add"
],
"*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,md}": "prettier --write"
]
},
"funding": {
"type": "opencollective",
Expand Down

0 comments on commit d80a190

Please sign in to comment.