Skip to content

Commit

Permalink
fix: Update lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
mman committed Nov 18, 2024
1 parent 50e7df4 commit a6fcdaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"watch-influx-loader": "concurrently npm:watch:bin \"babel-watch dist/bin/venus-influx-loader.js -- --config-path ./config/ --port 8088\"",
"watch-upnp-browser": "concurrently npm:watch:bin \"babel-watch dist/bin/venus-upnp-browser.js\"",
"start": "VIL_INFLUXDB_URL=http://localhost:8086 VIL_INFLUXDB_USERNAME=s3cr4t VIL_INFLUXDB_PASSWORD=s3cr4t concurrently npm:watch-influx-loader npm:watch-client",
"prepare": "npm run build"
"prepare": "(husky || true) && npm run prebuild"
},
"repository": {
"type": "git",
Expand All @@ -26,16 +26,7 @@
"url": "https://github.com/victronenergy/venus-influx-loader/issues"
},
"lint-staged": {
"linters": {
"lib/*.js*": [
"prettier-standard",
"git add"
],
"index.js": [
"prettier-standard",
"git add"
]
}
"*.{js,jsx,ts,tsx}": "npm run lint"
},
"bin": {
"venus-influx-loader": "./dist/bin/venus-influx-loader.js",
Expand Down

0 comments on commit a6fcdaf

Please sign in to comment.