Change Prettier settings (#36)

## Summary

I know this is a little tedious but I'd prefer to use the same settings
as in Ruff.
This commit is contained in:
Charlie Marsh 2024-09-05 08:06:45 -04:00 committed by GitHub
parent 1785c7bde0
commit 182c9c7e92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 5536 additions and 5497 deletions

View file

@ -1,48 +1,48 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: '🚨 Breaking changes'
- title: "🚨 Breaking changes"
labels:
- 'breaking-change'
- title: '✨ New features'
- "breaking-change"
- title: "✨ New features"
labels:
- 'new-feature'
- title: '🐛 Bug fixes'
- "new-feature"
- title: "🐛 Bug fixes"
labels:
- 'bugfix'
- title: '🚀 Enhancements'
- "bugfix"
- title: "🚀 Enhancements"
labels:
- 'enhancement'
- 'refactor'
- 'performance'
- title: '🧰 Maintenance'
- "enhancement"
- "refactor"
- "performance"
- title: "🧰 Maintenance"
labels:
- 'maintenance'
- 'ci'
- 'default-version-update'
- title: '📚 Documentation'
- "maintenance"
- "ci"
- "default-version-update"
- title: "📚 Documentation"
labels:
- 'documentation'
- title: '⬆️ Dependency updates'
- "documentation"
- title: "⬆️ Dependency updates"
labels:
- 'dependencies'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
- "dependencies"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
- 'breaking-change'
- "major"
- "breaking-change"
minor:
labels:
- 'minor'
- 'new-feature'
- 'enhancement'
- "minor"
- "new-feature"
- "enhancement"
patch:
labels:
- 'patch'
- 'bugfix'
- 'default-version-update'
- "patch"
- "bugfix"
- "default-version-update"
default: patch
template: |
## Changes

View file

@ -10,10 +10,10 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
paths-ignore:
- '**.md'
- "**.md"
workflow_dispatch:
jobs:

View file

@ -9,7 +9,7 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
name: "CodeQL"
on:
push:
@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '31 7 * * 3'
- cron: "31 7 * * 3"
jobs:
analyze:
@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['TypeScript']
language: ["TypeScript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

View file

@ -1,4 +1,4 @@
name: 'test-cache-windows'
name: "test-cache-windows"
on:
pull_request:
push:

View file

@ -1,4 +1,4 @@
name: 'test-cache'
name: "test-cache"
on:
pull_request:
push:

View file

@ -1,4 +1,4 @@
name: 'test-windows'
name: "test-windows"
on:
pull_request:
push:

View file

@ -1,4 +1,4 @@
name: 'test'
name: "test"
on:
pull_request:
push:
@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"
- run: |
npm install
- run: |
@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14, oracle-aarch64]
uv-version: ['latest', '0.3.0', '0.3.2']
uv-version: ["latest", "0.3.0", "0.3.2"]
steps:
- uses: actions/checkout@v4
- name: Install version ${{ matrix.uv-version }}
@ -58,19 +58,19 @@ jobs:
matrix:
os: [ubuntu-latest, oracle-aarch64]
checksum:
['4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd']
["4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"]
exclude:
- os: oracle-aarch64
checksum: '4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd'
checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"
include:
- os: oracle-aarch64
checksum: 'e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8'
checksum: "e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8"
steps:
- uses: actions/checkout@v4
- name: Checksum matches expected
uses: ./
with:
version: '0.3.2'
version: "0.3.2"
checksum: ${{ matrix.checksum }}
github-token: ${{ secrets.GITHUB_TOKEN }}
test-without-github-token:

View file

@ -1,4 +1,4 @@
name: 'Update default version and checksums'
name: "Update default version and checksums"
on:
workflow_dispatch:
@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"
- name: Update default version and checksums
id: update-default-version
run:
@ -20,14 +20,14 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0
with:
commit-message: 'chore: update checksums'
commit-message: "chore: update checksums"
title:
'chore: update default version to ${{
steps.update-default-version.outputs.latest-version }}'
"chore: update default version to ${{
steps.update-default-version.outputs.latest-version }}"
body:
'chore: update default version to ${{
steps.update-default-version.outputs.latest-version }}'
"chore: update default version to ${{
steps.update-default-version.outputs.latest-version }}"
base: main
labels: 'automated-pr,default-version-update'
labels: "automated-pr,default-version-update"
branch: update-default-version-pr
delete-branch: true

View file

@ -5,9 +5,9 @@ name: Update Major Minor Tags
on:
push:
branches-ignore:
- '**'
- "**"
tags:
- 'v*.*.*'
- "v*.*.*"
jobs:
update_major_minor_tags: