From f14d75a58ddc3ea18985582e04a13940547d0687 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Fri, 16 Sep 2022 22:38:56 -0500 Subject: [PATCH] Reformat all the things --- .eslintrc.json | 2 +- .github/release-drafter.yml | 42 +++++++++---------- .github/workflows/check-formatting.yml | 2 +- .github/workflows/check-linter.yml | 2 +- .github/workflows/codeql-analysis.yml | 58 +++++++++++++------------- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 30 ++++++------- babel.config.js | 2 +- 8 files changed, 70 insertions(+), 70 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3036622..49d85ec 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,4 +16,4 @@ "rules": { "semi": ["error", "never"] } -} \ No newline at end of file +} diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 2735ea1..1b697bb 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,6 @@ --- -name-template: "v$RESOLVED_VERSION" -tag-template: "v$RESOLVED_VERSION" +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' template: | # Changelog @@ -8,33 +8,33 @@ template: | See details of [all code changes](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release. categories: - - title: "🚀 Features" + - title: '🚀 Features' labels: - - "feature" - - "enhancement" - - title: "🐛 Bug Fixes" + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' labels: - - "fix" - - "bugfix" - - "bug" - - title: "🧰 Maintenance" + - 'fix' + - 'bugfix' + - 'bug' + - title: '🧰 Maintenance' labels: - - "infrastructure" - - "automation" - - "documentation" - - title: "🏎 Performance" - label: "performance" -change-template: "- $TITLE @$AUTHOR (#$NUMBER)" + - 'infrastructure' + - 'automation' + - 'documentation' + - title: '🏎 Performance' + label: 'performance' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' version-resolver: major: labels: - - "type: breaking" + - 'type: breaking' minor: labels: - - "type: enhancement" + - 'type: enhancement' patch: labels: - - "type: bug" - - "type: maintenance" - - "type: documentation" + - 'type: bug' + - 'type: maintenance' + - 'type: documentation' default: patch diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index 0d5a644..0d9c6c9 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -31,4 +31,4 @@ jobs: run: npm ci - name: Verify formatting - run: npm run format:check \ No newline at end of file + run: npm run format:check diff --git a/.github/workflows/check-linter.yml b/.github/workflows/check-linter.yml index 7e801a5..202d375 100644 --- a/.github/workflows/check-linter.yml +++ b/.github/workflows/check-linter.yml @@ -31,4 +31,4 @@ jobs: run: npm ci - name: Verify linter - run: npm run lint \ No newline at end of file + run: npm run lint diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d8831b8..335b1e9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,14 +9,14 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: 'CodeQL' on: push: - branches: [ main ] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [main] schedule: - cron: '40 0 * * 1' @@ -32,39 +32,39 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: ['javascript'] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language - #- run: | - # make bootstrap - # make release + #- run: | + # make bootstrap + # make release - - 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/release.yml b/.github/workflows/release.yml index e5663fe..2f2f188 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: inputs: TAG_NAME: - description: "Tag name that the major tag will point to" + description: 'Tag name that the major tag will point to' required: true env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce1f833..54dc484 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,20 +9,20 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - - name: Set Node.JS - uses: actions/setup-node@v2 - with: - node-version: 16.x + - name: Set Node.JS + uses: actions/setup-node@v2 + with: + node-version: 16.x - - name: Install dependencies - run: npm install - - name: Run tests - run: npm run test - # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@v5 - if: github.ref_name == 'main' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Install dependencies + run: npm install + - name: Run tests + run: npm run test + # Drafts your next Release notes as Pull Requests are merged into "main" + - uses: release-drafter/release-drafter@v5 + if: github.ref_name == 'main' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/babel.config.js b/babel.config.js index 9ea84ed..d4f6648 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1 +1 @@ -module.exports = {presets: ['@babel/preset-env']} +module.exports = { presets: ['@babel/preset-env'] }