summaryrefslogtreecommitdiffstats
path: root/ui/package.json
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-10-20 17:49:13 -0700
committerDessalines <tyhou13@gmx.com>2019-10-20 17:49:13 -0700
commita7dedaf273b6fd2ebd9c9b8b9d6a7d227f376797 (patch)
treeee917c7a406b0a8dc7b9e17539ff4f3194e1b03a /ui/package.json
parent3a4505aaab4a3a7a809bacf18af50ac3bec9412d (diff)
Externalize into sort-select component.
- Fixes #311
Diffstat (limited to 'ui/package.json')
-rw-r--r--ui/package.json16
1 files changed, 3 insertions, 13 deletions
diff --git a/ui/package.json b/ui/package.json
index f20c9ab0..f816b4f6 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -58,23 +58,13 @@
"engineStrict": true,
"husky": {
"hooks": {
- "pre-commit": "yarn run lint && lint-staged"
+ "pre-commit": "lint-staged"
}
},
"lint-staged": {
- "*.js": [
+ "*.{ts,tsx,js}": [
"prettier --write",
- "yarn run lint",
- "git add"
- ],
- "*.ts": [
- "prettier --write",
- "yarn run lint",
- "git add"
- ],
- "*.tsx": [
- "prettier --write",
- "yarn run lint",
+ "eslint --fix",
"git add"
],
"package.json": [