Skip to content

Commit 4ea3dfc

Browse files
authored
Code formatting (#2404)
1 parent c2451ab commit 4ea3dfc

File tree

270 files changed

+1620
-879
lines changed

Some content is hidden

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

270 files changed

+1620
-879
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
github:
2-
- ota-meshi
3-
- FloEdelmann
2+
- ota-meshi
3+
- FloEdelmann

.github/workflows/CI.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
name: Lint
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
- name: Install Node.js
19-
uses: actions/setup-node@v3
20-
- name: Install Packages
21-
run: npm install --legacy-peer-deps
22-
- name: Lint
23-
run: npm run lint
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
- name: Install Node.js
19+
uses: actions/setup-node@v3
20+
- name: Install Packages
21+
run: npm install --legacy-peer-deps
22+
- name: Lint
23+
run: npm run lint
2424

2525
test:
2626
name: Test
@@ -41,49 +41,49 @@ jobs:
4141

4242
runs-on: ${{ matrix.os }}
4343
steps:
44-
- name: Checkout
45-
uses: actions/checkout@v3
46-
- name: Install Node.js v${{ matrix.node }}
47-
uses: actions/setup-node@v3
48-
with:
49-
node-version: ${{ matrix.node }}
50-
- name: Install Packages
51-
run: npm install --legacy-peer-deps
52-
- name: Install ESLint v${{ matrix.eslint }}
53-
run: npm install --save-dev eslint@${{ matrix.eslint }} --legacy-peer-deps
54-
- name: Test
55-
run: npm test
44+
- name: Checkout
45+
uses: actions/checkout@v3
46+
- name: Install Node.js v${{ matrix.node }}
47+
uses: actions/setup-node@v3
48+
with:
49+
node-version: ${{ matrix.node }}
50+
- name: Install Packages
51+
run: npm install --legacy-peer-deps
52+
- name: Install ESLint v${{ matrix.eslint }}
53+
run: npm install --save-dev eslint@${{ matrix.eslint }} --legacy-peer-deps
54+
- name: Test
55+
run: npm test
5656

5757
test-for-ts-eslint-v5:
5858
name: Test
5959
runs-on: ubuntu-latest
6060
steps:
61-
- name: Checkout
62-
uses: actions/checkout@v3
63-
- name: Install Node.js
64-
uses: actions/setup-node@v3
65-
with:
66-
node-version: 18
67-
- name: Install Packages
68-
run: npm install --legacy-peer-deps
69-
- name: Install typescript-eslint v5
70-
run: npm install -D @typescript-eslint/parser
71-
- name: Test
72-
run: npm test
61+
- name: Checkout
62+
uses: actions/checkout@v3
63+
- name: Install Node.js
64+
uses: actions/setup-node@v3
65+
with:
66+
node-version: 18
67+
- name: Install Packages
68+
run: npm install --legacy-peer-deps
69+
- name: Install typescript-eslint v5
70+
run: npm install -D @typescript-eslint/parser
71+
- name: Test
72+
run: npm test
7373

7474
test-for-eslint-v8-without-eslint-stylistic:
7575
name: Test
7676
runs-on: ubuntu-latest
7777
steps:
78-
- name: Checkout
79-
uses: actions/checkout@v3
80-
- name: Install Node.js
81-
uses: actions/setup-node@v3
82-
- name: Install Packages
83-
run: npm install --legacy-peer-deps
84-
- name: Uninstall @stylistic/eslint-plugin
85-
run: npm uninstall -D @stylistic/eslint-plugin
86-
- name: Install eslint v8
87-
run: npm install -D eslint@8
88-
- name: Test
89-
run: npm test
78+
- name: Checkout
79+
uses: actions/checkout@v3
80+
- name: Install Node.js
81+
uses: actions/setup-node@v3
82+
- name: Install Packages
83+
run: npm install --legacy-peer-deps
84+
- name: Uninstall @stylistic/eslint-plugin
85+
run: npm uninstall -D @stylistic/eslint-plugin
86+
- name: Install eslint v8
87+
run: npm install -D eslint@8
88+
- name: Test
89+
run: npm test

.markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ code-block-style:
1515
code-fence-style:
1616
style: backtick
1717
emphasis-style:
18-
style: asterisk
18+
style: underscore
1919
heading-style:
2020
style: atx
2121
hr-style:

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tests/fixtures/
2+
.github/ISSUE_TEMPLATE/*.md

.vscode/launch.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"request": "launch",
77
"name": "Start testing",
88
"program": "${workspaceFolder}/node_modules/.bin/mocha",
9-
"args": [
10-
"${file}",
11-
"--watch"
12-
],
9+
"args": ["${file}", "--watch"],
1310
"console": "integratedTerminal"
1411
}
1512
]

.vscode/settings.json

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
{
2-
"editor.tabSize": 2,
3-
"eslint.experimental.useFlatConfig": true,
4-
"eslint.validate": [
5-
"javascript",
6-
"javascriptreact",
7-
"vue",
8-
"json",
9-
"jsonc"
10-
],
11-
"typescript.tsdk": "./node_modules/typescript/lib",
12-
"vetur.validation.script": false,
13-
"[typescript]": {
14-
"editor.formatOnSave": true,
15-
"editor.defaultFormatter": "esbenp.prettier-vscode"
16-
},
17-
"[javascript]": {
18-
"editor.formatOnSave": true,
19-
"editor.defaultFormatter": "esbenp.prettier-vscode"
20-
},
2+
"editor.tabSize": 2,
3+
"eslint.experimental.useFlatConfig": true,
4+
"eslint.validate": ["javascript", "javascriptreact", "vue", "json", "jsonc"],
5+
"typescript.tsdk": "./node_modules/typescript/lib",
6+
"vetur.validation.script": false,
7+
"[typescript]": {
8+
"editor.formatOnSave": true,
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[javascript]": {
12+
"editor.formatOnSave": true,
13+
"editor.defaultFormatter": "esbenp.prettier-vscode"
14+
}
2115
}

docs/rules/array-bracket-newline.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: vue/array-bracket-newline
55
description: Enforce linebreaks after opening and before closing array brackets in `<template>`
66
since: v7.1.0
77
---
8+
89
# vue/array-bracket-newline
910

1011
> Enforce linebreaks after opening and before closing array brackets in `<template>`

docs/rules/array-bracket-spacing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: vue/array-bracket-spacing
55
description: Enforce consistent spacing inside array brackets in `<template>`
66
since: v5.2.0
77
---
8+
89
# vue/array-bracket-spacing
910

1011
> Enforce consistent spacing inside array brackets in `<template>`

docs/rules/array-element-newline.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: vue/array-element-newline
55
description: Enforce line breaks after each array element in `<template>`
66
since: v9.9.0
77
---
8+
89
# vue/array-element-newline
910

1011
> Enforce line breaks after each array element in `<template>`

docs/rules/arrow-spacing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: vue/arrow-spacing
55
description: Enforce consistent spacing before and after the arrow in arrow functions in `<template>`
66
since: v5.2.0
77
---
8+
89
# vue/arrow-spacing
910

1011
> Enforce consistent spacing before and after the arrow in arrow functions in `<template>`

0 commit comments

Comments
 (0)