Skip to content

Commit 6e2a81b

Browse files
authored
ci: stop formatting components.d.ts (#8358)
**Related Issue:** #7861 ## Summary Make sure `component.d.ts` does not get formatted via `lint-staged` when committing. `lint-stage` runs from the root of the monorepo, so the file needs to be ignored there.
1 parent ded2399 commit 6e2a81b

File tree

4 files changed

+12641
-15411
lines changed

4 files changed

+12641
-15411
lines changed

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/*.d.ts
2+
**/dist
3+
**/.turbo

packages/calcite-components/.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
"plugin:jsdoc/recommended",
1313
"prettier",
1414
],
15-
ignorePatterns: ["dist", "docs", "hydrate", "www", "src/components.d.ts"],
15+
ignorePatterns: ["dist", "docs", "hydrate", "www", "**/*.d.ts"],
1616
parser: "@typescript-eslint/parser",
1717
parserOptions: {
1818
tsconfigRootDir: __dirname,

packages/calcite-components/.prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ docs/
22
www/
33
dist/
44
hydrate/
5-
src/components.d.ts
5+
.stencil/
6+
**/*.d.ts

0 commit comments

Comments
 (0)