Skip to content

Commit b89607e

Browse files
Update dependency @ota-meshi/eslint-plugin to ^0.11.0 (#15)
* 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 <otameshiyo23@gmail.com>
1 parent be00790 commit b89607e

File tree

14 files changed

+263
-271
lines changed

14 files changed

+263
-271
lines changed

.eslintrc.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
"use strict"
1+
"use strict";
22

33
module.exports = {
4-
parserOptions: {
5-
sourceType: "script",
6-
ecmaVersion: 2020,
7-
},
8-
extends: [
9-
"plugin:@ota-meshi/recommended",
10-
"plugin:@ota-meshi/+node",
11-
"plugin:@ota-meshi/+json",
12-
"plugin:@ota-meshi/+yaml",
13-
"plugin:@ota-meshi/+prettier",
14-
],
15-
}
4+
parserOptions: {
5+
sourceType: "script",
6+
ecmaVersion: 2020,
7+
},
8+
extends: [
9+
"plugin:@ota-meshi/recommended",
10+
"plugin:@ota-meshi/+node",
11+
"plugin:@ota-meshi/+json",
12+
"plugin:@ota-meshi/+yaml",
13+
"plugin:@ota-meshi/+prettier",
14+
],
15+
};

.github/workflows/NodeCI.yml

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

33
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
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: 16
17-
- name: Install Packages
18-
run: npm i --legacy-peer-deps
19-
- name: Lint
20-
run: npm run lint
21-
test:
22-
runs-on: ubuntu-latest
23-
strategy:
24-
matrix:
25-
node-version: [12.x, 14.x, 16.x]
26-
steps:
27-
- uses: actions/checkout@v3
28-
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
30-
with:
31-
node-version: ${{ matrix.node-version }}
32-
- name: Install Packages
33-
run: npm i --legacy-peer-deps
34-
- name: Test
35-
run: npm test
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: 16
17+
- name: Install Packages
18+
run: npm i --legacy-peer-deps
19+
- name: Lint
20+
run: npm run lint
21+
test:
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
node-version: [12.x, 14.x, 16.x]
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: Use Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v3
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
- name: Install Packages
33+
run: npm i --legacy-peer-deps
34+
- name: Test
35+
run: npm test

.github/workflows/NpmPublish.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name: publish
22
on:
3-
push:
4-
tags:
5-
- "*"
3+
push:
4+
tags:
5+
- "*"
66
jobs:
7-
release:
8-
name: check version, and release
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: checkout
12-
uses: actions/checkout@v3
13-
- name: setup Node
14-
uses: actions/setup-node@v3
15-
with:
16-
registry-url: "https://registry.npmjs.org"
17-
- name: Install Packages
18-
run: npm i --legacy-peer-deps
19-
- name: test
20-
run: npm run test
21-
- name: check can npm-publish
22-
run: npx can-npm-publish
23-
- name: release
24-
run: npm publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7+
release:
8+
name: check version, and release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v3
13+
- name: setup Node
14+
uses: actions/setup-node@v3
15+
with:
16+
registry-url: "https://registry.npmjs.org"
17+
- name: Install Packages
18+
run: npm i --legacy-peer-deps
19+
- name: test
20+
run: npm run test
21+
- name: check can npm-publish
22+
run: npx can-npm-publish
23+
- name: release
24+
run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.vscode/settings.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
{
2-
"eslint.validate": [
3-
"javascript",
4-
"javascriptreact",
5-
"json",
6-
"jsonc",
7-
"yaml"
8-
]
2+
"eslint.validate": ["javascript", "javascriptreact", "json", "jsonc", "yaml"]
93
}

lib/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
"use strict"
1+
"use strict";
22

33
module.exports = {
4-
overrides: [
5-
{
6-
files: ["*.vue", "**/*.vue"],
7-
extends: [
8-
"stylelint-config-standard",
9-
"stylelint-config-recommended-vue",
10-
],
11-
rules: require("./vue-specific-rules"),
12-
},
13-
],
14-
}
4+
overrides: [
5+
{
6+
files: ["*.vue", "**/*.vue"],
7+
extends: [
8+
"stylelint-config-standard",
9+
"stylelint-config-recommended-vue",
10+
],
11+
rules: require("./vue-specific-rules"),
12+
},
13+
],
14+
};

lib/vue-specific-rules.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"use strict"
1+
"use strict";
22

33
module.exports = {
4-
"value-keyword-case": [
5-
"lower",
6-
{
7-
ignoreFunctions: ["v-bind"],
8-
},
9-
],
10-
}
4+
"value-keyword-case": [
5+
"lower",
6+
{
7+
ignoreFunctions: ["v-bind"],
8+
},
9+
],
10+
};

package.json

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
{
2-
"name": "stylelint-config-standard-vue",
3-
"version": "1.0.0",
4-
"description": "The standard shareable Vue config for Stylelint.",
5-
"keywords": [
6-
"stylelint",
7-
"stylelint-config",
8-
"standard",
9-
"vue"
10-
],
11-
"main": "lib/index.js",
12-
"files": [
13-
"lib",
14-
"scss"
15-
],
16-
"engines": {
17-
"node": "^12 || >=14"
18-
},
19-
"scripts": {
20-
"test": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 60000",
21-
"lint": "eslint .",
22-
"eslint-fix": "eslint . --fix",
23-
"preversion": "npm test && git add ."
24-
},
25-
"dependencies": {
26-
"stylelint-config-html": ">=1.0.0",
27-
"stylelint-config-recommended-vue": ">=1.1.0",
28-
"stylelint-config-standard": ">=24.0.0"
29-
},
30-
"peerDependencies": {
31-
"stylelint": ">=14.0.0",
32-
"postcss-html": "^1.0.0"
33-
},
34-
"devDependencies": {
35-
"@ota-meshi/eslint-plugin": "^0.10.0",
36-
"eslint": "^8.0.0",
37-
"eslint-config-prettier": "^8.3.0",
38-
"eslint-plugin-eslint-comments": "^3.2.0",
39-
"eslint-plugin-json-schema-validator": "^3.0.0",
40-
"eslint-plugin-jsonc": "^2.0.0",
41-
"eslint-plugin-node": "^11.1.0",
42-
"eslint-plugin-prettier": "^4.0.0",
43-
"eslint-plugin-regexp": "^1.5.0",
44-
"eslint-plugin-vue": "^9.0.0",
45-
"eslint-plugin-yml": "^1.0.0",
46-
"mocha": "^10.0.0",
47-
"prettier": "^2.4.1"
48-
},
49-
"repository": {
50-
"type": "git",
51-
"url": "git+https://github.com/ota-meshi/stylelint-config-standard-vue.git"
52-
},
53-
"author": "Yosuke Ota (https://github.com/ota-meshi)",
54-
"funding": "https://github.com/sponsors/ota-meshi",
55-
"license": "MIT",
56-
"bugs": {
57-
"url": "https://github.com/ota-meshi/stylelint-config-standard-vue/issues"
58-
},
59-
"homepage": "https://github.com/ota-meshi/stylelint-config-standard-vue#readme"
2+
"name": "stylelint-config-standard-vue",
3+
"version": "1.0.0",
4+
"description": "The standard shareable Vue config for Stylelint.",
5+
"keywords": [
6+
"stylelint",
7+
"stylelint-config",
8+
"standard",
9+
"vue"
10+
],
11+
"main": "lib/index.js",
12+
"files": [
13+
"lib",
14+
"scss"
15+
],
16+
"engines": {
17+
"node": "^12 || >=14"
18+
},
19+
"scripts": {
20+
"test": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 60000",
21+
"lint": "eslint .",
22+
"eslint-fix": "eslint . --fix",
23+
"preversion": "npm test && git add ."
24+
},
25+
"dependencies": {
26+
"stylelint-config-html": ">=1.0.0",
27+
"stylelint-config-recommended-vue": ">=1.1.0",
28+
"stylelint-config-standard": ">=24.0.0"
29+
},
30+
"peerDependencies": {
31+
"stylelint": ">=14.0.0",
32+
"postcss-html": "^1.0.0"
33+
},
34+
"devDependencies": {
35+
"@ota-meshi/eslint-plugin": "^0.11.0",
36+
"eslint": "^8.0.0",
37+
"eslint-config-prettier": "^8.3.0",
38+
"eslint-plugin-eslint-comments": "^3.2.0",
39+
"eslint-plugin-json-schema-validator": "^3.0.0",
40+
"eslint-plugin-jsonc": "^2.0.0",
41+
"eslint-plugin-node": "^11.1.0",
42+
"eslint-plugin-prettier": "^4.0.0",
43+
"eslint-plugin-regexp": "^1.5.0",
44+
"eslint-plugin-vue": "^9.0.0",
45+
"eslint-plugin-yml": "^1.0.0",
46+
"mocha": "^10.0.0",
47+
"prettier": "^2.4.1"
48+
},
49+
"repository": {
50+
"type": "git",
51+
"url": "git+https://github.com/ota-meshi/stylelint-config-standard-vue.git"
52+
},
53+
"author": "Yosuke Ota (https://github.com/ota-meshi)",
54+
"funding": "https://github.com/sponsors/ota-meshi",
55+
"license": "MIT",
56+
"bugs": {
57+
"url": "https://github.com/ota-meshi/stylelint-config-standard-vue/issues"
58+
},
59+
"homepage": "https://github.com/ota-meshi/stylelint-config-standard-vue#readme"
6060
}

renovate.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"extends": [
3-
"config:base",
4-
":preserveSemverRanges",
5-
":disableDependencyDashboard"
6-
],
7-
"packageRules": [
8-
{
9-
"updateTypes": ["minor", "patch", "pin", "digest"],
10-
"automerge": true
11-
},
12-
{
13-
"depTypeList": ["devDependencies"],
14-
"automerge": true
15-
}
16-
]
2+
"extends": [
3+
"config:base",
4+
":preserveSemverRanges",
5+
":disableDependencyDashboard"
6+
],
7+
"packageRules": [
8+
{
9+
"updateTypes": ["minor", "patch", "pin", "digest"],
10+
"automerge": true
11+
},
12+
{
13+
"depTypeList": ["devDependencies"],
14+
"automerge": true
15+
}
16+
]
1717
}

scss/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
"use strict"
1+
"use strict";
22

33
module.exports = {
4-
overrides: [
5-
{
6-
files: ["*.vue", "**/*.vue"],
7-
extends: [
8-
"stylelint-config-standard-scss",
9-
"stylelint-config-recommended-vue/scss",
10-
],
11-
rules: require("../lib/vue-specific-rules"),
12-
},
13-
],
14-
}
4+
overrides: [
5+
{
6+
files: ["*.vue", "**/*.vue"],
7+
extends: [
8+
"stylelint-config-standard-scss",
9+
"stylelint-config-recommended-vue/scss",
10+
],
11+
rules: require("../lib/vue-specific-rules"),
12+
},
13+
],
14+
};

0 commit comments

Comments
 (0)