mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 04:16:34 +00:00
Update dependency eslint-plugin-lit-a11y to v5 (#25718)
* Update dependency eslint-plugin-lit-a11y to v5 * Update import --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
This commit is contained in:
parent
d581c4b0aa
commit
ea15e5a44e
@ -11,6 +11,7 @@ import tseslint from "typescript-eslint";
|
|||||||
import eslintConfigPrettier from "eslint-config-prettier";
|
import eslintConfigPrettier from "eslint-config-prettier";
|
||||||
import { configs as litConfigs } from "eslint-plugin-lit";
|
import { configs as litConfigs } from "eslint-plugin-lit";
|
||||||
import { configs as wcConfigs } from "eslint-plugin-wc";
|
import { configs as wcConfigs } from "eslint-plugin-wc";
|
||||||
|
import { configs as a11yConfigs } from "eslint-plugin-lit-a11y";
|
||||||
|
|
||||||
const _filename = fileURLToPath(import.meta.url);
|
const _filename = fileURLToPath(import.meta.url);
|
||||||
const _dirname = path.dirname(_filename);
|
const _dirname = path.dirname(_filename);
|
||||||
@ -21,13 +22,14 @@ const compat = new FlatCompat({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
...compat.extends("airbnb-base", "plugin:lit-a11y/recommended"),
|
...compat.extends("airbnb-base"),
|
||||||
eslintConfigPrettier,
|
eslintConfigPrettier,
|
||||||
litConfigs["flat/all"],
|
litConfigs["flat/all"],
|
||||||
tseslint.configs.recommended,
|
tseslint.configs.recommended,
|
||||||
tseslint.configs.strict,
|
tseslint.configs.strict,
|
||||||
tseslint.configs.stylistic,
|
tseslint.configs.stylistic,
|
||||||
wcConfigs["flat/recommended"],
|
wcConfigs["flat/recommended"],
|
||||||
|
a11yConfigs.recommended,
|
||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
"unused-imports": unusedImports,
|
"unused-imports": unusedImports,
|
||||||
|
@ -190,7 +190,7 @@
|
|||||||
"eslint-import-resolver-webpack": "0.13.10",
|
"eslint-import-resolver-webpack": "0.13.10",
|
||||||
"eslint-plugin-import": "2.31.0",
|
"eslint-plugin-import": "2.31.0",
|
||||||
"eslint-plugin-lit": "2.1.1",
|
"eslint-plugin-lit": "2.1.1",
|
||||||
"eslint-plugin-lit-a11y": "4.1.4",
|
"eslint-plugin-lit-a11y": "5.0.0",
|
||||||
"eslint-plugin-unused-imports": "4.1.4",
|
"eslint-plugin-unused-imports": "4.1.4",
|
||||||
"eslint-plugin-wc": "3.0.1",
|
"eslint-plugin-wc": "3.0.1",
|
||||||
"fancy-log": "2.0.0",
|
"fancy-log": "2.0.0",
|
||||||
|
35
yarn.lock
35
yarn.lock
@ -7963,28 +7963,27 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-lit-a11y@npm:4.1.4":
|
"eslint-plugin-lit-a11y@npm:5.0.0":
|
||||||
version: 4.1.4
|
version: 5.0.0
|
||||||
resolution: "eslint-plugin-lit-a11y@npm:4.1.4"
|
resolution: "eslint-plugin-lit-a11y@npm:5.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@thepassle/axobject-query": "npm:^4.0.0"
|
"@thepassle/axobject-query": "npm:^4.0.0"
|
||||||
aria-query: "npm:^5.1.3"
|
aria-query: "npm:^5.1.3"
|
||||||
axe-core: "npm:^4.3.3"
|
axe-core: "npm:^4.3.3"
|
||||||
dom5: "npm:^3.0.1"
|
dom5: "npm:^3.0.1"
|
||||||
emoji-regex: "npm:^10.2.1"
|
emoji-regex: "npm:^10.2.1"
|
||||||
eslint-plugin-lit: "npm:^1.10.1"
|
eslint-plugin-lit: "npm:^2.0.0"
|
||||||
eslint-rule-extender: "npm:0.0.1"
|
eslint-rule-extender: "npm:0.0.1"
|
||||||
language-tags: "npm:^1.0.5"
|
language-tags: "npm:^1.0.5"
|
||||||
parse5: "npm:^7.1.2"
|
parse5: "npm:^7.1.2"
|
||||||
parse5-htmlparser2-tree-adapter: "npm:^6.0.1"
|
parse5-htmlparser2-tree-adapter: "npm:^6.0.1"
|
||||||
requireindex: "npm:~1.2.0"
|
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ">= 5"
|
eslint: ">= 5"
|
||||||
checksum: 10/9e3ff1aa6575030275f9cc19b33c2bbcdedea1110c4491fcd972d953f61528a248c0597e79b80a1f6cfe96023b1179bfb861217d864f43e24c7ab12563f41d3a
|
checksum: 10/155e8cc7df23f332d84c62c9598800df4a262e007e4963e0d329afd76918610aedd4e0199dfcee10b23dab6072d315dc21adabec7944af9a58bd8b8dc9fb6a07
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-lit@npm:2.1.1":
|
"eslint-plugin-lit@npm:2.1.1, eslint-plugin-lit@npm:^2.0.0":
|
||||||
version: 2.1.1
|
version: 2.1.1
|
||||||
resolution: "eslint-plugin-lit@npm:2.1.1"
|
resolution: "eslint-plugin-lit@npm:2.1.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -7996,19 +7995,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-lit@npm:^1.10.1":
|
|
||||||
version: 1.15.0
|
|
||||||
resolution: "eslint-plugin-lit@npm:1.15.0"
|
|
||||||
dependencies:
|
|
||||||
parse5: "npm:^6.0.1"
|
|
||||||
parse5-htmlparser2-tree-adapter: "npm:^6.0.1"
|
|
||||||
requireindex: "npm:^1.2.0"
|
|
||||||
peerDependencies:
|
|
||||||
eslint: ">= 5"
|
|
||||||
checksum: 10/0be59a627f8a2e81558e92dd984f5d705f1b5db569a87bb4804e00255ac6416c5c7fd7866eac5bb93106fb21dd9006c58b42835aeebcaf64ecd53ad63d0d39a1
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"eslint-plugin-unused-imports@npm:4.1.4":
|
"eslint-plugin-unused-imports@npm:4.1.4":
|
||||||
version: 4.1.4
|
version: 4.1.4
|
||||||
resolution: "eslint-plugin-unused-imports@npm:4.1.4"
|
resolution: "eslint-plugin-unused-imports@npm:4.1.4"
|
||||||
@ -9366,7 +9352,7 @@ __metadata:
|
|||||||
eslint-import-resolver-webpack: "npm:0.13.10"
|
eslint-import-resolver-webpack: "npm:0.13.10"
|
||||||
eslint-plugin-import: "npm:2.31.0"
|
eslint-plugin-import: "npm:2.31.0"
|
||||||
eslint-plugin-lit: "npm:2.1.1"
|
eslint-plugin-lit: "npm:2.1.1"
|
||||||
eslint-plugin-lit-a11y: "npm:4.1.4"
|
eslint-plugin-lit-a11y: "npm:5.0.0"
|
||||||
eslint-plugin-unused-imports: "npm:4.1.4"
|
eslint-plugin-unused-imports: "npm:4.1.4"
|
||||||
eslint-plugin-wc: "npm:3.0.1"
|
eslint-plugin-wc: "npm:3.0.1"
|
||||||
fancy-log: "npm:2.0.0"
|
fancy-log: "npm:2.0.0"
|
||||||
@ -12652,13 +12638,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"requireindex@npm:^1.2.0, requireindex@npm:~1.2.0":
|
|
||||||
version: 1.2.0
|
|
||||||
resolution: "requireindex@npm:1.2.0"
|
|
||||||
checksum: 10/266d1cb31f6cbc4b6cf2e898f5bbc45581f7919bcf61bba5c45d0adb69b722b9ff5a13727be3350cde4520d7cd37f39df45d58a29854baaa4552cd6b05ae4a1a
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"requires-port@npm:^1.0.0":
|
"requires-port@npm:^1.0.0":
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
resolution: "requires-port@npm:1.0.0"
|
resolution: "requires-port@npm:1.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user