Skip to content

Commit

Permalink
chore: running prettier on everything
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Sep 14, 2023
1 parent b70def1 commit 87a0fb1
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 50 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@

"unicorn/prefer-node-protocol": "error",

"vitest/require-hook": ["error", {
"allowedFunctionCalls": ["runCustomFixtures"]
}]
"vitest/require-hook": [
"error",
{
"allowedFunctionCalls": ["runCustomFixtures"]
}
]
},
"overrides": [
{
Expand Down
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
directory: '/'
schedule:
interval: monthly
reviewers:
Expand All @@ -19,7 +19,7 @@ updates:
prefix-development: chore(deps-dev)

- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 10
Expand All @@ -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'
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -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
20 changes: 10 additions & 10 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
Expand All @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/integration-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/integration-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/integration-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/integration-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 87a0fb1

Please sign in to comment.