-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(airbyte-ci): format: pick up .prettierc and .prettierignore (#46274
- Loading branch information
1 parent
94fd65e
commit cff3211
Showing
5 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output | ||
airbyte-ci/connectors/pipelines/tests/test_changelog/result_files | ||
airbyte-integrations/bases/connector-acceptance-test/unit_tests/data/docs | ||
|
||
# Ignore manifest files in manifest-only connectors | ||
# This is done due to prettier being overly opinionated on the formatting of quotes | ||
# Ref: https://github.com/prettier/prettier/issues/973 | ||
# And it not allowing rule opt outs | ||
# Ref: https://github.com/prettier/prettier/discussions/13925 | ||
# Instead we rely on the contribution service to format these files | ||
# See: https://github.com/airbytehq/airbyte/blob/master/CONTRIBUTING.md#adding-a-new-connector | ||
airbyte-integrations/connectors/*/manifest.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,7 @@ def format_js_container(dagger_client: dagger.Client, js_code: dagger.Directory, | |
return build_container( | ||
dagger_client, | ||
base_image=NODE_IMAGE, | ||
warmup_dir=warmup_directory(dagger_client, Formatter.JS), | ||
dir_to_format=js_code, | ||
install_commands=[f"npm install -g [email protected] prettier@{prettier_version}"], | ||
cache_volume=dagger_client.cache_volume(cache_keys.get_prettier_cache_key(prettier_version)), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "pipelines" | ||
version = "4.36.0" | ||
version = "4.36.1" | ||
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines" | ||
authors = ["Airbyte <[email protected]>"] | ||
|
||
|