Skip to content

Commit a47507c

Browse files
chore: consolidate prettierignore and prettierrc files: autogen (#8082)
* build: move prettier config files to root from autogen packages * chore: remove blank files * chore: more empty files * chore: root prettier config * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: use more common gts 6 for shared version * chore: prettierignore should cover all sub-packages * chore: fix linting problems mostly caused by owlbot --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a9f6c3f commit a47507c

476 files changed

Lines changed: 15 additions & 6537 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.prettierignoreβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**/node_modules
22
**/coverage
3-
test/fixtures
4-
build/
5-
docs/
6-
protos/
3+
**/test/fixtures
4+
**/build/
5+
**/docs/
6+
**/protos/

packages/google-cloud-capacityplanner/.prettierrc.js renamed to .prettierrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

β€Žpackage.jsonβ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
"gaxios": "^7.0.0-rc",
4040
"parse-link-header": "^2.0.0"
4141
},
42-
"devDependencies": {},
42+
"devDependencies": {
43+
"gts": "^6.0.2"
44+
},
4345
"engines": {
4446
"node": ">=18"
4547
}
46-
}
48+
}

β€Žpackages/gapic-node-processing/.prettierignoreβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€Žpackages/gapic-node-processing/.prettierrc.jsβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Žpackages/gapic-node-processing/test/combine-libraries.test.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('combine libraries', () => {
8484
it('should generate unique final directory paths', async () => {
8585
const libraryPaths = await generateFinalDirectoryPath(libraryConfigCJS);
8686
// This should be the amount of unique file paths in the tree directory
87-
assert.deepStrictEqual(libraryPaths.length, 103);
87+
assert.deepStrictEqual(libraryPaths.length, 102);
8888

8989
// Confirm there are only unique items in the array
9090
assert.deepStrictEqual(

β€Žpackages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierignoreβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

β€Žpackages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/analytics-data-v1alpha-nodejs/.prettierrc.jsβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Žpackages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierignoreβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

β€Žpackages/gapic-node-processing/test/fixtures/combined-library/google-analytics-data-nodejs/google-analytics-data-v1beta-nodejs/.prettierrc.jsβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
Β (0)