Skip to content

Commit 70d5417

Browse files
renovate[bot]renovate-botota-meshi
authored
Update dependency eslint-plugin-markdown to v2 (#162)
* Update dependency eslint-plugin-markdown to v2 * Update lint configuration and format. Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: yosuke ota <[email protected]>
1 parent ef67f94 commit 70d5417

36 files changed

+260
-146
lines changed

.eslintignore

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
!docs/.vuepress
2-
docs/.vuepress/dist
1+
!/docs/.vuepress
2+
!/.github
3+
!/.vscode
4+
/.nyc_output
5+
/assets
6+
/coverage
7+
/dist
8+
/docs/.vuepress/dist
9+
/node_modules
10+
# /tests/fixtures Used testcases
11+
/tests-integrations/config-recommended

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
extends: [
1010
'plugin:vue-libs/recommended',
1111
'plugin:prettier/recommended',
12+
'plugin:markdown/recommended',
1213
'prettier',
1314
'prettier/vue'
1415
],
@@ -35,6 +36,12 @@ module.exports = {
3536
'@typescript-eslint/no-non-null-assertion': 'off',
3637
'@typescript-eslint/consistent-type-imports': 'error'
3738
}
39+
},
40+
{
41+
files: ['**/*.md/*.*'],
42+
rules: {
43+
'prettier/prettier': 'off'
44+
}
3845
}
3946
]
4047
}

.github/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- Make sure `yarn test` passes. (see [development setup](#development-setup))
3434

3535
- If adding new feature:
36+
3637
- Add accompanying test case.
3738
- Provide convincing reason to add this feature. Ideally you should open a suggestion issue first and have it greenlighted before working on it.
3839

@@ -41,6 +42,7 @@
4142
- Add appropriate test coverage if applicable.
4243

4344
### Work Step Example
45+
4446
- Fork the repository from [@intlify/eslint-plugin-vue-i18n](https://github.com/intlify/eslint-plugin-vue-i18n) !
4547
- Create your topic branch from `master`: `git branch my-new-topic origin/master`
4648
- Add codes and pass tests !

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,20 @@ about: Create a report to help us improve
1818

1919
**Please show your full configuration:**
2020
<!-- Paste content of your .eslintrc file -->
21+
2122
```json5
2223

2324
```
2425

26+
2527
**What did you do?**
2628
<!-- Please include the actual source code causing the issue. -->
29+
2730
```vue
2831
2932
```
3033

34+
3135
**What did you expect to happen?**
3236

3337

.github/ISSUE_TEMPLATE/change.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "Non-rule change request"
2+
name: 'Non-rule change request'
33
about: Request a change that is not a bug fix, rule change, or new rule
44
---
55

@@ -24,4 +24,3 @@ about: Request a change that is not a bug fix, rule change, or new rule
2424

2525
**Additional context**
2626
<!-- Add any other context or screenshots about the feature request here. -->
27-

.github/ISSUE_TEMPLATE/rule-change.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "Rule change request"
2+
name: 'Rule change request'
33
about: Request a change to an existing rule
44
---
55

@@ -11,21 +11,27 @@ about: Request a change to an existing rule
1111

1212
**What rule do you want to change?**
1313

14+
1415
**Does this change cause the rule to produce more or fewer warnings?**
1516

17+
1618
**How will the change be implemented? (New option, new default behavior, etc.)?**
1719

18-
**Please provide some example code that this change will affect:**
1920

21+
**Please provide some example code that this change will affect:**
2022
<!-- Put your code examples here -->
23+
2124
```vue
2225
2326
```
2427

28+
2529
**What does the rule currently do for this code?**
2630

31+
2732
**What will the rule do after it's changed?**
2833

34+
2935
**Additional context**
3036
<!-- Add any other context or screenshots about the feature request here. -->
3137

.github/ISSUE_TEMPLATE/rule-proposal.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,27 @@ about: Suggest an idea for a new rule
1212
**Please describe what the rule should do:**
1313
<!-- A clear and concise description of what the rule should do. -->
1414

15+
1516
**What category should the rule belong to?**
1617
<!-- (place an "X" next to just one item) -->
18+
1719
[ ] Enforces code style (layout)
1820
[ ] Warns about a potential error (problem)
1921
[ ] Suggests an alternate way of doing something (suggestion)
2022
[ ] Other (please specify:)
2123

2224
**Provide 2-3 code examples that this rule should warn about:**
2325

26+
```vue
27+
28+
```
29+
30+
31+
```vue
32+
33+
```
34+
35+
2436
```vue
2537
2638
```

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v2
1616
with:
17-
registry-url: "https://registry.npmjs.org"
17+
registry-url: 'https://registry.npmjs.org'
1818
- run: git switch master
1919
- run: |
2020
if [ -f "yarn.lock" ]; then
@@ -26,4 +26,4 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
29-
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
29+
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
test:
12-
name: "Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}"
12+
name: 'Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}'
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:

.prettierignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
!/docs/.vuepress
2+
!/.github
3+
!/.vscode
4+
/.nyc_output
5+
/assets
6+
/coverage
7+
/dist
8+
/docs/.vuepress/dist
9+
/node_modules
10+
/tests/fixtures
11+
/tests-integrations/config-recommended
12+
13+
# ignore files
14+
/CHANGELOG.md
15+
/.github/ISSUE_TEMPLATE/

0 commit comments

Comments
 (0)