Skip to content

Commit 79fe840

Browse files
committed
Format more files
1 parent 01a4d4a commit 79fe840

File tree

5 files changed

+69
-69
lines changed

5 files changed

+69
-69
lines changed

.eslintrc.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
module.exports = {
2-
root: true,
3-
env: {
4-
node: true,
5-
},
6-
extends: [
7-
"plugin:vue/vue3-essential",
8-
"eslint:recommended",
9-
"@vue/typescript/recommended",
10-
],
11-
parserOptions: {
12-
ecmaVersion: 2020,
13-
},
14-
rules: {
15-
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
16-
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
17-
"@typescript-eslint/no-duplicate-enum-values": "off"
18-
},
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
"plugin:vue/vue3-essential",
8+
"eslint:recommended",
9+
"@vue/typescript/recommended",
10+
],
11+
parserOptions: {
12+
ecmaVersion: 2020,
13+
},
14+
rules: {
15+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
16+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
17+
"@typescript-eslint/no-duplicate-enum-values": "off",
18+
},
1919
};

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
schedule:
11-
interval: "weekly"
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/dependabot-merge.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ name: Dependabot auto-merge
22
on: pull_request
33

44
permissions:
5-
contents: write
6-
pull-requests: write
5+
contents: write
6+
pull-requests: write
77

88
jobs:
9-
dependabot:
10-
runs-on: ubuntu-latest
11-
if: github.actor == 'dependabot[bot]'
12-
steps:
13-
- name: Dependabot metadata
14-
id: metadata
15-
uses: dependabot/fetch-metadata@v2
16-
with:
17-
github-token: "${{ secrets.GITHUB_TOKEN }}"
18-
- name: Approve a PR
19-
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
20-
run: gh pr review --approve "$PR_URL"
21-
env:
22-
PR_URL: ${{github.event.pull_request.html_url}}
23-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24-
- name: Enable auto-merge for Dependabot PRs
25-
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
26-
run: gh pr merge --auto --merge "$PR_URL"
27-
env:
28-
PR_URL: ${{github.event.pull_request.html_url}}
29-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: github.actor == 'dependabot[bot]'
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@v2
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Approve a PR
19+
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
20+
run: gh pr review --approve "$PR_URL"
21+
env:
22+
PR_URL: ${{github.event.pull_request.html_url}}
23+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24+
- name: Enable auto-merge for Dependabot PRs
25+
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
26+
run: gh pr merge --auto --merge "$PR_URL"
27+
env:
28+
PR_URL: ${{github.event.pull_request.html_url}}
29+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/docs.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: docs
22
on:
3-
push:
4-
branches:
5-
- master
3+
push:
4+
branches:
5+
- master
66
permissions:
7-
contents: write
7+
contents: write
88
jobs:
9-
deploy:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- name: Configure Git Credentials
14-
run: |
15-
git config user.name github-actions[bot]
16-
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17-
- uses: actions/setup-python@v5
18-
with:
19-
python-version: 3.x
20-
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21-
- uses: actions/cache@v4
22-
with:
23-
key: mkdocs-material-${{ env.cache_id }}
24-
path: .cache
25-
restore-keys: |
26-
mkdocs-material-
27-
- run: pip install mkdocs-material
28-
- run: mkdocs gh-deploy --force
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Configure Git Credentials
14+
run: |
15+
git config user.name github-actions[bot]
16+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: 3.x
20+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21+
- uses: actions/cache@v4
22+
with:
23+
key: mkdocs-material-${{ env.cache_id }}
24+
path: .cache
25+
restore-keys: |
26+
mkdocs-material-
27+
- run: pip install mkdocs-material
28+
- run: mkdocs gh-deploy --force

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"tabWidth": 4,
33
"printWidth": 80
4-
}
4+
}

0 commit comments

Comments
 (0)