Skip to content

Commit

Permalink
Change Prettier settings
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Sep 4, 2024
1 parent c189da1 commit 6a5dc08
Show file tree
Hide file tree
Showing 31 changed files with 5,534 additions and 5,503 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{"accessibility": "no-public"}
{ "accessibility": "no-public" }
],
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/array-type": "error",
Expand All @@ -27,7 +27,7 @@
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/explicit-function-return-type": [
"error",
{"allowExpressions": true}
{ "allowExpressions": true }
],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
Expand All @@ -50,8 +50,6 @@
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
},
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* text=auto eol=lf
dist/** -diff linguist-generated=true
dist/** -diff linguist-generated=true
58 changes: 29 additions & 29 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
paths-ignore:
- '**.md'
- "**.md"
workflow_dispatch:

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cache-windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test-cache-windows'
name: "test-cache-windows"
on:
pull_request:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cache.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test-cache'
name: "test-cache"
on:
pull_request:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test-windows'
name: "test-windows"
on:
pull_request:
push:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test'
name: "test"
on:
pull_request:
push:
Expand All @@ -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: |
Expand All @@ -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 }}
Expand All @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-default-version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Update default version and checksums'
name: "Update default version and checksums"
on:
workflow_dispatch:

Expand All @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/update-major-minor-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Update Major Minor Tags
on:
push:
branches-ignore:
- '**'
- "**"
tags:
- 'v*.*.*'
- "v*.*.*"

jobs:
update_major_minor_tags:
Expand Down
9 changes: 1 addition & 8 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"arrowParens": "avoid",
"trailingComma": "all",
"proseWrap": "always"
}
Loading

0 comments on commit 6a5dc08

Please sign in to comment.