Skip to content

Commit

Permalink
Merge pull request #9676 from micalevisk/patch-2
Browse files Browse the repository at this point in the history
chore: cover `integration` dir on lint-staged config
  • Loading branch information
kamilmysliwiec authored May 27, 2022
2 parents f765e2c + 6638772 commit 2e3727b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
packages/**/*.d.ts
packages/**/*.js
packages/**/*.js
.nyc_output
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"clean": "gulp clean:bundle",
"codechecks:benchmarks": "codechecks ./tools/benchmarks/check-benchmarks.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"format": "prettier \"**/*.ts\" --ignore-path ./.prettierignore --write && git status",
"format": "prettier \"**/*.ts\" \"packages/**/*.json\" --ignore-path ./.prettierignore --write && git status",
"postinstall": "opencollective",
"test": "nyc mocha packages/**/*.spec.ts --reporter spec",
"test:integration": "mocha \"integration/*/{,!(node_modules)/**/}/*.spec.ts\" --reporter spec",
Expand All @@ -44,7 +44,10 @@
"prepare": "husky install"
},
"lint-staged": {
"packages/**/*.{ts,json}": [
"**/*.ts": [
"prettier --ignore-path ./.prettierignore --write"
],
"packages/**/*.json": [
"prettier --ignore-path ./.prettierignore --write"
]
},
Expand Down

0 comments on commit 2e3727b

Please sign in to comment.