From 87a0fb1ccff7262ecc5389c3f112e077c8dce02c Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Thu, 14 Sep 2023 09:18:39 -0700 Subject: [PATCH] chore: running prettier on everything --- .eslintrc | 9 ++++++--- .github/dependabot.yml | 6 +++--- .github/workflows/ci.yml | 17 ++++++++--------- .github/workflows/codeql-analysis.yml | 20 ++++++++++---------- .github/workflows/integration-node.yml | 12 ++++++------ .github/workflows/integration-php.yml | 12 ++++++------ .github/workflows/integration-python.yml | 12 ++++++------ .github/workflows/integration-shell.yml | 12 ++++++------ package.json | 2 +- 9 files changed, 52 insertions(+), 50 deletions(-) diff --git a/.eslintrc b/.eslintrc index 239f510dd..71360ff9e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -20,9 +20,12 @@ "unicorn/prefer-node-protocol": "error", - "vitest/require-hook": ["error", { - "allowedFunctionCalls": ["runCustomFixtures"] - }] + "vitest/require-hook": [ + "error", + { + "allowedFunctionCalls": ["runCustomFixtures"] + } + ] }, "overrides": [ { diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a3f1e2cf4..15dd9ffed 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ version: 2 updates: - package-ecosystem: github-actions - directory: "/" + directory: '/' schedule: interval: monthly reviewers: @@ -19,7 +19,7 @@ updates: prefix-development: chore(deps-dev) - package-ecosystem: npm - directory: "/" + directory: '/' schedule: interval: monthly open-pull-requests-limit: 10 @@ -40,4 +40,4 @@ updates: # stringify-objectis now an ESM package and can't be used here without a rewrite. - dependency-name: stringify-object versions: - - ">= 4" + - '>= 4' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 335f421c0..e803d3610 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,6 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: @@ -18,13 +17,13 @@ jobs: - 20 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build - - run: npm test + - run: npm ci + - run: npm run build + - run: npm test diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2a4fc2c36..a0e55ee85 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,4 +1,4 @@ -name: "CodeQL" +name: 'CodeQL' on: push: @@ -20,16 +20,16 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: ['javascript'] steps: - - name: Checkout repository - uses: actions/checkout@v4 + - name: Checkout repository + uses: actions/checkout@v4 - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/integration-node.yml b/.github/workflows/integration-node.yml index 1edfa1f0f..636de02e4 100644 --- a/.github/workflows/integration-node.yml +++ b/.github/workflows/integration-node.yml @@ -4,11 +4,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Run tests - run: docker-compose run integration_node + - name: Run tests + run: docker-compose run integration_node - - name: Cleanup - if: always() - run: docker-compose down + - name: Cleanup + if: always() + run: docker-compose down diff --git a/.github/workflows/integration-php.yml b/.github/workflows/integration-php.yml index bc1de8ff6..3dd951c42 100644 --- a/.github/workflows/integration-php.yml +++ b/.github/workflows/integration-php.yml @@ -4,11 +4,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Run tests - run: docker-compose run integration_php + - name: Run tests + run: docker-compose run integration_php - - name: Cleanup - if: always() - run: docker-compose down + - name: Cleanup + if: always() + run: docker-compose down diff --git a/.github/workflows/integration-python.yml b/.github/workflows/integration-python.yml index 29885644d..7111584e1 100644 --- a/.github/workflows/integration-python.yml +++ b/.github/workflows/integration-python.yml @@ -4,11 +4,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Run tests - run: docker-compose run integration_python + - name: Run tests + run: docker-compose run integration_python - - name: Cleanup - if: always() - run: docker-compose down + - name: Cleanup + if: always() + run: docker-compose down diff --git a/.github/workflows/integration-shell.yml b/.github/workflows/integration-shell.yml index 2ec003dac..2a8123d16 100644 --- a/.github/workflows/integration-shell.yml +++ b/.github/workflows/integration-shell.yml @@ -4,11 +4,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Run tests - run: docker-compose run integration_shell + - name: Run tests + run: docker-compose run integration_shell - - name: Cleanup - if: always() - run: docker-compose down + - name: Cleanup + if: always() + run: docker-compose down diff --git a/package.json b/package.json index 9e2d1e877..d5b6e9dd7 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "prebuild": "npm run clean", "prepack": "npm run build", "pretest": "npm run lint", - "prettier": "prettier --list-different --write \"./**/**.{md,cjs,js,ts}\"", + "prettier": "prettier --list-different --write .", "test": "vitest --coverage" }, "devDependencies": {