Skip to content

Commit 59e1c4a

Browse files
Update dependency @ota-meshi/eslint-plugin to ^0.11.0 (#177)
* Update dependency @ota-meshi/eslint-plugin to ^0.11.0 * format Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent d5e168f commit 59e1c4a

30 files changed

+1370
-1414
lines changed

.eslintrc.js

Lines changed: 45 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,48 @@
11
module.exports = {
2-
parserOptions: {
3-
ecmaVersion: 2020,
4-
project: require.resolve("./tsconfig.json"),
2+
parserOptions: {
3+
ecmaVersion: 2020,
4+
project: require.resolve("./tsconfig.json"),
5+
},
6+
extends: [
7+
"plugin:@ota-meshi/recommended",
8+
"plugin:@ota-meshi/+node",
9+
"plugin:@ota-meshi/+typescript",
10+
"plugin:@ota-meshi/+eslint-plugin",
11+
"plugin:@ota-meshi/+vue2",
12+
"plugin:@ota-meshi/+json",
13+
"plugin:@ota-meshi/+package-json",
14+
"plugin:@ota-meshi/+yaml",
15+
"plugin:@ota-meshi/+md",
16+
"plugin:@ota-meshi/+prettier",
17+
],
18+
rules: {
19+
"require-jsdoc": "error",
20+
"no-warning-comments": "warn",
21+
"no-lonely-if": "off",
22+
"@typescript-eslint/no-non-null-assertion": "off",
23+
"@typescript-eslint/no-explicit-any": "off",
24+
"no-shadow": "off",
25+
},
26+
overrides: [
27+
{
28+
files: ["*.ts"],
29+
rules: {
30+
"@typescript-eslint/naming-convention": "off",
31+
},
32+
parser: "@typescript-eslint/parser",
33+
parserOptions: {
34+
sourceType: "module",
35+
project: "./tsconfig.json",
36+
},
537
},
6-
extends: [
7-
"plugin:@ota-meshi/recommended",
8-
"plugin:@ota-meshi/+node",
9-
"plugin:@ota-meshi/+typescript",
10-
"plugin:@ota-meshi/+eslint-plugin",
11-
"plugin:@ota-meshi/+vue2",
12-
"plugin:@ota-meshi/+json",
13-
"plugin:@ota-meshi/+package-json",
14-
"plugin:@ota-meshi/+yaml",
15-
"plugin:@ota-meshi/+md",
16-
"plugin:@ota-meshi/+prettier",
17-
],
18-
rules: {
19-
"require-jsdoc": "error",
20-
"no-warning-comments": "warn",
21-
"no-lonely-if": "off",
22-
"@typescript-eslint/no-non-null-assertion": "off",
23-
"@typescript-eslint/no-explicit-any": "off",
24-
"no-shadow": "off",
38+
{
39+
files: ["scripts/**/*.ts", "tests/**/*.ts", "tests-integrations/**/*.ts"],
40+
rules: {
41+
"require-jsdoc": "off",
42+
"no-console": "off",
43+
"@typescript-eslint/ban-ts-comment": "off",
44+
"@typescript-eslint/no-misused-promises": "off",
45+
},
2546
},
26-
overrides: [
27-
{
28-
files: ["*.ts"],
29-
rules: {
30-
"@typescript-eslint/naming-convention": "off",
31-
},
32-
parser: "@typescript-eslint/parser",
33-
parserOptions: {
34-
sourceType: "module",
35-
project: "./tsconfig.json",
36-
},
37-
},
38-
{
39-
files: [
40-
"scripts/**/*.ts",
41-
"tests/**/*.ts",
42-
"tests-integrations/**/*.ts",
43-
],
44-
rules: {
45-
"require-jsdoc": "off",
46-
"no-console": "off",
47-
"@typescript-eslint/ban-ts-comment": "off",
48-
"@typescript-eslint/no-misused-promises": "off",
49-
},
50-
},
51-
],
52-
}
47+
],
48+
};

.github/workflows/GHPages.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
name: GHPages
22

33
on:
4-
push:
5-
branches: [master]
4+
push:
5+
branches: [master]
66

77
jobs:
8-
deploy-docs:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
13-
- name: Install Packages
14-
run: npm install
15-
- name: Build docs
16-
run: npm run docs:build
17-
- name: Deploy
18-
uses: peaceiris/actions-gh-pages@v3
19-
with:
20-
github_token: ${{ secrets.GITHUB_TOKEN }}
21-
publish_dir: ./docs/.vuepress/dist
22-
force_orphan: true
8+
deploy-docs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
- name: Install Packages
14+
run: npm install
15+
- name: Build docs
16+
run: npm run docs:build
17+
- name: Deploy
18+
uses: peaceiris/actions-gh-pages@v3
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
publish_dir: ./docs/.vuepress/dist
22+
force_orphan: true

.github/workflows/NodeCI.yml

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,124 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [master]
6-
pull_request:
7-
branches: [master]
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
88

99
jobs:
10-
lint:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
15-
with:
16-
node-version: 14
17-
- name: Install Packages
18-
run: npm install
19-
- name: Build
20-
run: npm run build
21-
- name: Lint
22-
run: npm run lint
23-
test-for-win-integrations:
24-
runs-on: windows-latest
25-
steps:
26-
- uses: actions/checkout@v3
27-
- name: Use Node.js 14
28-
uses: actions/setup-node@v3
29-
with:
30-
node-version: 14
31-
- name: Install Packages
32-
run: npm install
33-
- name: Test
34-
run: npm run test:integrations
35-
test-for-mac-integrations:
36-
runs-on: macos-latest
37-
steps:
38-
- uses: actions/checkout@v3
39-
- name: Use Node.js 14
40-
uses: actions/setup-node@v3
41-
with:
42-
node-version: 14
43-
- name: Install Packages
44-
run: npm install
45-
- name: Test
46-
run: npm run test:integrations
47-
test-for-ubuntu-integrations:
48-
runs-on: ubuntu-latest
49-
steps:
50-
- uses: actions/checkout@v3
51-
- name: Use Node.js 14
52-
uses: actions/setup-node@v3
53-
with:
54-
node-version: 14
55-
- name: Install Packages
56-
run: npm install
57-
- name: Test
58-
run: npm run test:integrations
59-
test:
60-
runs-on: ubuntu-latest
61-
strategy:
62-
matrix:
63-
node-version: [12.x, 14.x, 16.x, 17.x]
64-
steps:
65-
- uses: actions/checkout@v3
66-
- name: Use Node.js ${{ matrix.node-version }}
67-
uses: actions/setup-node@v3
68-
with:
69-
node-version: ${{ matrix.node-version }}
70-
- name: Install Packages
71-
run: npm install
72-
- name: Test
73-
run: npm test
74-
test-with-eslint6:
75-
runs-on: ubuntu-latest
76-
strategy:
77-
matrix:
78-
node-version: [12.x]
79-
steps:
80-
- uses: actions/checkout@v3
81-
- name: Use Node.js ${{ matrix.node-version }}
82-
uses: actions/setup-node@v3
83-
with:
84-
node-version: ${{ matrix.node-version }}
85-
- name: Install Target Packages
86-
run: |+
87-
npm i -D eslint@6 mocha@7
88-
npx rimraf node_modules
89-
npm install
90-
- name: Test
91-
run: npm test
92-
test-with-eslint7:
93-
runs-on: ubuntu-latest
94-
strategy:
95-
matrix:
96-
node-version: [12.x, 14.x, 16.x]
97-
steps:
98-
- uses: actions/checkout@v3
99-
- name: Use Node.js ${{ matrix.node-version }}
100-
uses: actions/setup-node@v3
101-
with:
102-
node-version: ${{ matrix.node-version }}
103-
- name: Install Target Packages
104-
run: |+
105-
npm i -D eslint@7
106-
npx rimraf node_modules
107-
npm install
108-
- name: Test
109-
run: npm test
110-
test-and-coverage:
111-
runs-on: ubuntu-latest
112-
steps:
113-
- uses: actions/checkout@v3
114-
- uses: actions/setup-node@v3
115-
with:
116-
node-version: 14.x
117-
- name: Install Packages
118-
run: npm install
119-
- name: Test
120-
run: npm run test:nyc
121-
- name: Coveralls GitHub Action
122-
uses: coverallsapp/[email protected]
123-
with:
124-
github-token: ${{ secrets.GITHUB_TOKEN }}
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 14
17+
- name: Install Packages
18+
run: npm install
19+
- name: Build
20+
run: npm run build
21+
- name: Lint
22+
run: npm run lint
23+
test-for-win-integrations:
24+
runs-on: windows-latest
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Use Node.js 14
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: 14
31+
- name: Install Packages
32+
run: npm install
33+
- name: Test
34+
run: npm run test:integrations
35+
test-for-mac-integrations:
36+
runs-on: macos-latest
37+
steps:
38+
- uses: actions/checkout@v3
39+
- name: Use Node.js 14
40+
uses: actions/setup-node@v3
41+
with:
42+
node-version: 14
43+
- name: Install Packages
44+
run: npm install
45+
- name: Test
46+
run: npm run test:integrations
47+
test-for-ubuntu-integrations:
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v3
51+
- name: Use Node.js 14
52+
uses: actions/setup-node@v3
53+
with:
54+
node-version: 14
55+
- name: Install Packages
56+
run: npm install
57+
- name: Test
58+
run: npm run test:integrations
59+
test:
60+
runs-on: ubuntu-latest
61+
strategy:
62+
matrix:
63+
node-version: [12.x, 14.x, 16.x, 17.x]
64+
steps:
65+
- uses: actions/checkout@v3
66+
- name: Use Node.js ${{ matrix.node-version }}
67+
uses: actions/setup-node@v3
68+
with:
69+
node-version: ${{ matrix.node-version }}
70+
- name: Install Packages
71+
run: npm install
72+
- name: Test
73+
run: npm test
74+
test-with-eslint6:
75+
runs-on: ubuntu-latest
76+
strategy:
77+
matrix:
78+
node-version: [12.x]
79+
steps:
80+
- uses: actions/checkout@v3
81+
- name: Use Node.js ${{ matrix.node-version }}
82+
uses: actions/setup-node@v3
83+
with:
84+
node-version: ${{ matrix.node-version }}
85+
- name: Install Target Packages
86+
run: |+
87+
npm i -D eslint@6 mocha@7
88+
npx rimraf node_modules
89+
npm install
90+
- name: Test
91+
run: npm test
92+
test-with-eslint7:
93+
runs-on: ubuntu-latest
94+
strategy:
95+
matrix:
96+
node-version: [12.x, 14.x, 16.x]
97+
steps:
98+
- uses: actions/checkout@v3
99+
- name: Use Node.js ${{ matrix.node-version }}
100+
uses: actions/setup-node@v3
101+
with:
102+
node-version: ${{ matrix.node-version }}
103+
- name: Install Target Packages
104+
run: |+
105+
npm i -D eslint@7
106+
npx rimraf node_modules
107+
npm install
108+
- name: Test
109+
run: npm test
110+
test-and-coverage:
111+
runs-on: ubuntu-latest
112+
steps:
113+
- uses: actions/checkout@v3
114+
- uses: actions/setup-node@v3
115+
with:
116+
node-version: 14.x
117+
- name: Install Packages
118+
run: npm install
119+
- name: Test
120+
run: npm run test:nyc
121+
- name: Coveralls GitHub Action
122+
uses: coverallsapp/[email protected]
123+
with:
124+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)