From 28ea1ca1df196748fbcc0cd35c338d46318e05e4 Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:51:20 +0100 Subject: [PATCH] ci: add format check on repository root (#115) --- .github/ISSUE_TEMPLATE/bug_report.yml | 28 +++++++++---------- .github/ISSUE_TEMPLATE/feature_request.yml | 1 - .github/pull_request_template.md | 2 +- .github/workflows/repo-root-ci.yml | 31 ++++++++++++++++++++++ .prettierignore | 1 + .prettierrc | 1 + CODE_OF_CONDUCT.md | 22 +++++++-------- CONTRIBUTING.md | 5 +++- package.json | 1 + renovate.json | 4 +-- tsconfig.json | 2 +- turbo.json | 28 +++++++------------ 12 files changed, 75 insertions(+), 51 deletions(-) create mode 100644 .github/workflows/repo-root-ci.yml create mode 100644 .prettierignore diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 90dc7010..47fcb3ba 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -34,51 +34,51 @@ body: required: false - type: input id: tuono-version - attributes: + attributes: label: Tuono version - placeholder: "[e.g. 0.4.0]" + placeholder: '[e.g. 0.4.0]' validations: required: false - type: input id: os-version - attributes: + attributes: label: OS - placeholder: "[e.g. MacOS, Windows]" + placeholder: '[e.g. MacOS, Windows]' validations: required: false - type: input id: browser-version - attributes: + attributes: label: Browser - placeholder: "[e.g. chrome, safari]" + placeholder: '[e.g. chrome, safari]' validations: required: false - type: input id: node-version - attributes: + attributes: label: Node version - placeholder: "[e.g. 20.0.0]" + placeholder: '[e.g. 20.0.0]' validations: required: false - type: input id: rust-version - attributes: + attributes: label: Rust version - placeholder: "[e.g. 1.79.0]" + placeholder: '[e.g. 1.79.0]' validations: required: false - type: input id: create-version - attributes: + attributes: label: Crate version - placeholder: "[e.g. 1.78.0]" + placeholder: '[e.g. 1.78.0]' validations: required: false - type: input id: node-package-manager-version - attributes: + attributes: label: Node Package Manger version - placeholder: "[e.g. pnpm: 9.5.0] " + placeholder: '[e.g. pnpm: 9.5.0] ' validations: required: false - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index d65e4414..2c280de1 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -33,4 +33,3 @@ body: description: Add any other context or screenshots about the feature request here. validations: required: false - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c263f64f..2a265f04 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,7 @@ ## Context & Description