Skip to content

Commit f56f81a

Browse files
committed
style: 💄 eslint fix
1 parent 0d3beea commit f56f81a

File tree

75 files changed

+146
-1019
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+146
-1019
lines changed

.github/workflows/auto-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838

3939
- name: Merge main into git-pages
4040
run: |
41-
git merge main --no-ff -m "feat: ✨ Auto-merge main into git-pages"
42-
41+
git merge main --no-ff -m "feat: ✨ Auto-merge main into git-pages"
42+
4343
- name: Push changes to git-pages
4444
run: git push origin git-pages
4545

4646
- name: Repository Dispatch
4747
uses: peter-evans/repository-dispatch@v3
4848
with:
49-
event-type: git-pages-deploy
49+
event-type: git-pages-deploy

.github/workflows/git-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Automatic deployment to GitHub Pages
22

3-
on:
3+
on:
44
push:
55
branches:
66
- git-pages
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
ref: ${{ github.event_name == 'push' && github.ref || 'git-pages' }}
1818
fetch-depth: 0
19-
19+
2020
- name: Setup pnpm
2121
uses: pnpm/action-setup@v4
2222

@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Setup Pages
3030
uses: actions/configure-pages@v5
31-
31+
3232
- name: Install dependencies
3333
run: pnpm install
3434

@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/upload-pages-artifact@v3
4040
with:
4141
path: ./dist
42-
42+
4343
deploy:
4444
environment:
4545
name: github-pages

.github/workflows/lint-and-type-checking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
run: npm run lint:eslint
3030

3131
- name: Run type check
32-
run: npm run type:check
32+
run: npm run type:check

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626

2727
- run: npx changelogithub # or [email protected] if ensure the stable result
2828
env:
29-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
29+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default jsxiaosiConfig(
66
prettier: {
77
usePrettierrc: true,
88
},
9+
ignores: ['src/**/china.json'],
910
},
1011
{
1112
rules: {

k8s/base/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ spec:
4242
resources:
4343
limits:
4444
memory: 2Gi
45-
cpu: "1"
45+
cpu: '1'
4646
requests:
47-
memory: "256Mi"
48-
cpu: "250m"
47+
memory: 256Mi
48+
cpu: 250m
4949
restartPolicy: Always

k8s/base/hap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ spec:
2222
name: memory
2323
target:
2424
type: Utilization
25-
averageUtilization: 80
25+
averageUtilization: 80

k8s/base/namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
kind: Namespace
33
metadata:
4-
name: vue-xs-admin
4+
name: vue-xs-admin

k8s/base/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
data:
3-
.dockerconfigjson: "DOKER_CONFIG_JSON_BASE64_ENCODED_CONTENT"
3+
.dockerconfigjson: DOKER_CONFIG_JSON_BASE64_ENCODED_CONTENT
44
kind: Secret
55
metadata:
66
name: jsxiaosi-docker

k8s/base/service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
spec:
99
type: NodePort
1010
ports:
11-
- port: 80
12-
name: vue-xs-admin
11+
- port: 80
12+
name: vue-xs-admin
1313
selector:
14-
app: vue-xs-admin-pod
14+
app: vue-xs-admin-pod

0 commit comments

Comments
 (0)