From 30fbbb10140a90723da77be9b94c694f8223fc8b Mon Sep 17 00:00:00 2001 From: Rob Arnold <326113+robarnold@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:38:26 -0700 Subject: [PATCH] Ensure that prettier lints all files in the repo --- Earthfile | 1 + ansible/galaxy.yml | 7 +++---- renovate.json | 16 ++++------------ 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Earthfile b/Earthfile index cc14e7fe..bcbfe63b 100644 --- a/Earthfile +++ b/Earthfile @@ -29,6 +29,7 @@ prettier-lint: WORKDIR /config COPY --dir .pnp.cjs .yarnrc.yml package.json yarn.lock .yarn . RUN yarn + COPY . . COPY --dir .prettierignore .prettierrc.yml .github . RUN yarn check-format diff --git a/ansible/galaxy.yml b/ansible/galaxy.yml index 09aedb55..555c90b6 100644 --- a/ansible/galaxy.yml +++ b/ansible/galaxy.yml @@ -9,13 +9,13 @@ readme: README.md # A list of the collection's content authors. Can be just the name or in the format 'Full Name (url) # @nicks:irc/im.site#channel' authors: -- robarnold -- sdwilsh + - robarnold + - sdwilsh # Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only # accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' license: -- BSD-3-Clause + - BSD-3-Clause # A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character # requirements as 'namespace' and 'name' @@ -45,4 +45,3 @@ issues: https://github.com/marinatedconcrete/config/issues # uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry', # and '.git' are always filtered build_ignore: [] - diff --git a/renovate.json b/renovate.json index 9f5b7078..289bb627 100644 --- a/renovate.json +++ b/renovate.json @@ -9,9 +9,7 @@ "customManagers": [ { "customType": "regex", - "fileMatch": [ - "(^|/|\\.)Earthfile$" - ], + "fileMatch": ["(^|/|\\.)Earthfile$"], "matchStrings": [ "#\\s*renovate:\\s*datasource=(?.*?)\\s+depName=(?.*?)(\\s+versioning=(?.*?))?\\s+ARG\\s+(?:--global\\s+)?.+_VERSION=(?.*?)\\s" ], @@ -19,20 +17,14 @@ }, { "customType": "regex", - "fileMatch": [ - "^earthly\\.sh$" - ], + "fileMatch": ["^earthly\\.sh$"], "datasourceTemplate": "docker", "depNameTemplate": "earthly/earthly", - "matchStrings": [ - "earthly\\/earthly:(?.*?)\\s" - ] + "matchStrings": ["earthly\\/earthly:(?.*?)\\s"] }, { "customType": "regex", - "fileMatch": [ - "^.*\\.yml$" - ], + "fileMatch": ["^.*\\.yml$"], "matchStrings": [ "#\\s*renovate:\\s*datasource=(?.*?)\\s+depName=(?.*?)\\s+version:\\s+\"(?.*?)\"" ]