forked from ota-meshi/stylelint-config-html
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency @ota-meshi/eslint-plugin to ^0.11.0 (ota-meshi#21)
* 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>
- Loading branch information
1 parent
ab69237
commit d287517
Showing
16 changed files
with
347 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
"use strict" | ||
"use strict"; | ||
|
||
module.exports = { | ||
parserOptions: { | ||
sourceType: "script", | ||
ecmaVersion: 2020, | ||
}, | ||
extends: [ | ||
"plugin:@ota-meshi/recommended", | ||
"plugin:@ota-meshi/+node", | ||
"plugin:@ota-meshi/+json", | ||
"plugin:@ota-meshi/+yaml", | ||
"plugin:@ota-meshi/+prettier", | ||
], | ||
} | ||
parserOptions: { | ||
sourceType: "script", | ||
ecmaVersion: 2020, | ||
}, | ||
extends: [ | ||
"plugin:@ota-meshi/recommended", | ||
"plugin:@ota-meshi/+node", | ||
"plugin:@ota-meshi/+json", | ||
"plugin:@ota-meshi/+yaml", | ||
"plugin:@ota-meshi/+prettier", | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: Lint | ||
run: npm run lint | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: Test | ||
run: npm test | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: Lint | ||
run: npm run lint | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: Test | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
name: publish | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
push: | ||
tags: | ||
- "*" | ||
jobs: | ||
release: | ||
name: check version, and release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: test | ||
run: npm run test | ||
- name: check can npm-publish | ||
run: npx can-npm-publish | ||
- name: release | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
release: | ||
name: check version, and release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Install Packages | ||
run: npm i --legacy-peer-deps | ||
- name: test | ||
run: npm run test | ||
- name: check can npm-publish | ||
run: npx can-npm-publish | ||
- name: release | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
{ | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"json", | ||
"jsonc", | ||
"yaml" | ||
] | ||
"eslint.validate": ["javascript", "javascriptreact", "json", "jsonc", "yaml"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
"use strict" | ||
"use strict"; | ||
|
||
const extensions = [ | ||
// https://github.com/Microsoft/vscode/blob/master/extensions/html/package.json | ||
".html", | ||
".htm", | ||
".shtml", | ||
".xhtml", | ||
".xht", | ||
".mdoc", | ||
".jsp", | ||
".asp", | ||
".aspx", | ||
".jshtm", | ||
".volt", | ||
".ejs", | ||
".rhtml", | ||
] | ||
// https://github.com/Microsoft/vscode/blob/master/extensions/html/package.json | ||
".html", | ||
".htm", | ||
".shtml", | ||
".xhtml", | ||
".xht", | ||
".mdoc", | ||
".jsp", | ||
".asp", | ||
".aspx", | ||
".jshtm", | ||
".volt", | ||
".ejs", | ||
".rhtml", | ||
]; | ||
|
||
module.exports = { | ||
overrides: [ | ||
{ | ||
files: extensions.flatMap((ext) => [`*${ext}`, `**/*${ext}`]), | ||
customSyntax: "postcss-html", | ||
}, | ||
], | ||
} | ||
overrides: [ | ||
{ | ||
files: extensions.flatMap((ext) => [`*${ext}`, `**/*${ext}`]), | ||
customSyntax: "postcss-html", | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
"use strict" | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: [ | ||
require.resolve("./html.js"), | ||
require.resolve("./vue.js"), | ||
require.resolve("./php.js"), | ||
require.resolve("./svelte.js"), | ||
require.resolve("./xml.js"), | ||
], | ||
} | ||
extends: [ | ||
require.resolve("./html.js"), | ||
require.resolve("./vue.js"), | ||
require.resolve("./php.js"), | ||
require.resolve("./svelte.js"), | ||
require.resolve("./xml.js"), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
{ | ||
"name": "stylelint-config-html", | ||
"version": "1.0.0", | ||
"description": "The shareable HTML config for Stylelint.", | ||
"keywords": [ | ||
"stylelint", | ||
"stylelint-config", | ||
"html", | ||
"vue", | ||
"svelte", | ||
"php", | ||
"xml" | ||
], | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"html.js", | ||
"vue.js", | ||
"svelte.js", | ||
"php.js", | ||
"xml.js" | ||
], | ||
"engines": { | ||
"node": "^12 || >=14" | ||
}, | ||
"scripts": { | ||
"test": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 60000", | ||
"lint": "eslint .", | ||
"eslint-fix": "eslint . --fix", | ||
"preversion": "npm test && git add ." | ||
}, | ||
"peerDependencies": { | ||
"stylelint": ">=14.0.0", | ||
"postcss-html": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ota-meshi/eslint-plugin": "^0.10.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-json-schema-validator": "^3.0.0", | ||
"eslint-plugin-jsonc": "^2.0.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-regexp": "^1.5.0", | ||
"eslint-plugin-vue": "^9.0.0", | ||
"eslint-plugin-yml": "^1.0.0", | ||
"mocha": "^10.0.0", | ||
"prettier": "^2.4.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ota-meshi/stylelint-config-html.git" | ||
}, | ||
"author": "Yosuke Ota (https://github.com/ota-meshi)", | ||
"funding": "https://github.com/sponsors/ota-meshi", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/ota-meshi/stylelint-config-html/issues" | ||
}, | ||
"homepage": "https://github.com/ota-meshi/stylelint-config-html#readme" | ||
"name": "stylelint-config-html", | ||
"version": "1.0.0", | ||
"description": "The shareable HTML config for Stylelint.", | ||
"keywords": [ | ||
"stylelint", | ||
"stylelint-config", | ||
"html", | ||
"vue", | ||
"svelte", | ||
"php", | ||
"xml" | ||
], | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"html.js", | ||
"vue.js", | ||
"svelte.js", | ||
"php.js", | ||
"xml.js" | ||
], | ||
"engines": { | ||
"node": "^12 || >=14" | ||
}, | ||
"scripts": { | ||
"test": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 60000", | ||
"lint": "eslint .", | ||
"eslint-fix": "eslint . --fix", | ||
"preversion": "npm test && git add ." | ||
}, | ||
"peerDependencies": { | ||
"stylelint": ">=14.0.0", | ||
"postcss-html": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ota-meshi/eslint-plugin": "^0.11.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-json-schema-validator": "^3.0.0", | ||
"eslint-plugin-jsonc": "^2.0.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-regexp": "^1.5.0", | ||
"eslint-plugin-vue": "^9.0.0", | ||
"eslint-plugin-yml": "^1.0.0", | ||
"mocha": "^10.0.0", | ||
"prettier": "^2.4.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ota-meshi/stylelint-config-html.git" | ||
}, | ||
"author": "Yosuke Ota (https://github.com/ota-meshi)", | ||
"funding": "https://github.com/sponsors/ota-meshi", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/ota-meshi/stylelint-config-html/issues" | ||
}, | ||
"homepage": "https://github.com/ota-meshi/stylelint-config-html#readme" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
"use strict" | ||
"use strict"; | ||
|
||
const extensions = [ | ||
// https://github.com/Microsoft/vscode/blob/main/extensions/php/package.json | ||
".php", | ||
".php4", | ||
".php5", | ||
".phtml", | ||
".ctp", | ||
] | ||
// https://github.com/Microsoft/vscode/blob/main/extensions/php/package.json | ||
".php", | ||
".php4", | ||
".php5", | ||
".phtml", | ||
".ctp", | ||
]; | ||
|
||
module.exports = { | ||
overrides: [ | ||
{ | ||
files: extensions.flatMap((ext) => [`*${ext}`, `**/*${ext}`]), | ||
customSyntax: "postcss-html", | ||
}, | ||
], | ||
} | ||
overrides: [ | ||
{ | ||
files: extensions.flatMap((ext) => [`*${ext}`, `**/*${ext}`]), | ||
customSyntax: "postcss-html", | ||
}, | ||
], | ||
}; |
Oops, something went wrong.