mirror of
https://github.com/home-assistant/frontend.git
synced 2026-10-01 09:23:12 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0f6dadf4e | ||
|
|
6fb0db946e | ||
|
|
8dbb39ba10 |
@@ -18,6 +18,7 @@
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"oxc.oxc-vscode",
|
||||
"esbenp.prettier-vscode",
|
||||
"runem.lit-plugin",
|
||||
"github.vscode-pull-request-github",
|
||||
|
||||
@@ -62,6 +62,8 @@ jobs:
|
||||
node_modules/.cache/typescript
|
||||
key: lint-${{ github.sha }}
|
||||
restore-keys: lint-
|
||||
- name: Run oxlint
|
||||
run: yarn run lint:oxlint
|
||||
- name: Run eslint
|
||||
run: yarn run lint:eslint --quiet
|
||||
- name: Run tsc
|
||||
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"plugins": ["typescript", "import"],
|
||||
"categories": {
|
||||
"correctness": "off"
|
||||
},
|
||||
"env": {
|
||||
"builtin": true,
|
||||
"es2020": true,
|
||||
"browser": true
|
||||
},
|
||||
"globals": {
|
||||
"__DEV__": "readonly",
|
||||
"__DEMO__": "readonly",
|
||||
"__BUILD__": "readonly",
|
||||
"__VERSION__": "readonly",
|
||||
"__STATIC_PATH__": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"constructor-super": "error",
|
||||
"for-direction": "error",
|
||||
"getter-return": "error",
|
||||
"no-async-promise-executor": "error",
|
||||
"no-case-declarations": "error",
|
||||
"no-class-assign": "error",
|
||||
"no-compare-neg-zero": "error",
|
||||
"no-cond-assign": "error",
|
||||
"no-const-assign": "error",
|
||||
"no-constant-binary-expression": "error",
|
||||
"no-constant-condition": "error",
|
||||
"no-debugger": "error",
|
||||
"no-delete-var": "error",
|
||||
"no-dupe-class-members": "error",
|
||||
"no-dupe-else-if": "error",
|
||||
"no-dupe-keys": "error",
|
||||
"no-duplicate-case": "error",
|
||||
"no-empty-character-class": "error",
|
||||
"no-empty-pattern": "error",
|
||||
"no-empty-static-block": "error",
|
||||
"no-ex-assign": "error",
|
||||
"no-extra-boolean-cast": "error",
|
||||
"no-fallthrough": "error",
|
||||
"no-func-assign": "error",
|
||||
"no-import-assign": "error",
|
||||
"no-invalid-regexp": "error",
|
||||
"no-irregular-whitespace": "error",
|
||||
"no-loss-of-precision": "error",
|
||||
"no-new-native-nonconstructor": "error",
|
||||
"no-nonoctal-decimal-escape": "error",
|
||||
"no-obj-calls": "error",
|
||||
"no-redeclare": "error",
|
||||
"no-regex-spaces": "error",
|
||||
"no-self-assign": "error",
|
||||
"no-setter-return": "error",
|
||||
"no-shadow-restricted-names": "error",
|
||||
"no-sparse-arrays": "error",
|
||||
"no-this-before-super": "error",
|
||||
"no-unassigned-vars": "error",
|
||||
"no-unreachable": "error",
|
||||
"no-unsafe-finally": "error",
|
||||
"no-unsafe-negation": "error",
|
||||
"no-unused-labels": "error",
|
||||
"no-unused-private-class-members": "error",
|
||||
"no-useless-backreference": "error",
|
||||
"no-useless-catch": "error",
|
||||
"no-useless-escape": "error",
|
||||
"no-with": "error",
|
||||
"preserve-caught-error": "error",
|
||||
"require-yield": "error",
|
||||
"use-isnan": "error",
|
||||
"valid-typeof": "error",
|
||||
"no-array-constructor": "error",
|
||||
"no-unused-expressions": "error",
|
||||
"no-useless-constructor": "error",
|
||||
"array-callback-return": [
|
||||
"error",
|
||||
{
|
||||
"allowImplicit": true
|
||||
}
|
||||
],
|
||||
"block-scoped-var": "error",
|
||||
"default-case-last": "error",
|
||||
"no-caller": "error",
|
||||
"no-constructor-return": "error",
|
||||
"no-eval": "error",
|
||||
"no-extend-native": "error",
|
||||
"no-implied-eval": "error",
|
||||
"no-iterator": "error",
|
||||
"no-new-wrappers": "error",
|
||||
"no-promise-executor-return": "error",
|
||||
"no-sequences": "error",
|
||||
"no-else-return": [
|
||||
"error",
|
||||
{
|
||||
"allowElseIf": false
|
||||
}
|
||||
],
|
||||
"no-lonely-if": "error",
|
||||
"no-unneeded-ternary": [
|
||||
"error",
|
||||
{
|
||||
"defaultAssignment": false
|
||||
}
|
||||
],
|
||||
"no-useless-computed-key": "error",
|
||||
"no-useless-concat": "error",
|
||||
"no-useless-rename": "error",
|
||||
"one-var": ["error", "never"],
|
||||
"operator-assignment": ["error", "always"],
|
||||
"prefer-arrow-callback": "error",
|
||||
"prefer-exponentiation-operator": "error",
|
||||
"prefer-object-spread": "error",
|
||||
"prefer-regex-literals": [
|
||||
"error",
|
||||
{
|
||||
"disallowRedundantWrapping": true
|
||||
}
|
||||
],
|
||||
"symbol-description": "error",
|
||||
"yoda": "error",
|
||||
"no-restricted-globals": ["error", "event"],
|
||||
"typescript/no-duplicate-enum-values": "error",
|
||||
"typescript/no-empty-object-type": [
|
||||
"error",
|
||||
{
|
||||
"allowInterfaces": "always",
|
||||
"allowObjectTypes": "always"
|
||||
}
|
||||
],
|
||||
"typescript/no-extra-non-null-assertion": "error",
|
||||
"typescript/no-misused-new": "error",
|
||||
"typescript/no-non-null-asserted-optional-chain": "error",
|
||||
"typescript/no-unnecessary-type-constraint": "error",
|
||||
"typescript/no-unsafe-declaration-merging": "error",
|
||||
"typescript/no-unsafe-function-type": "error",
|
||||
"typescript/no-wrapper-object-types": "error",
|
||||
"typescript/prefer-as-const": "error",
|
||||
"typescript/prefer-namespace-keyword": "error",
|
||||
"typescript/no-extraneous-class": "error",
|
||||
"typescript/no-invalid-void-type": "error",
|
||||
"typescript/no-non-null-asserted-nullish-coalescing": "error",
|
||||
"typescript/prefer-literal-enum-member": "error",
|
||||
"typescript/unified-signatures": "error",
|
||||
"typescript/adjacent-overload-signatures": "error",
|
||||
"typescript/ban-tslint-comment": "error",
|
||||
"typescript/class-literal-property-style": "error",
|
||||
"typescript/consistent-generic-constructors": "error",
|
||||
"typescript/consistent-indexed-object-style": "error",
|
||||
"typescript/consistent-type-assertions": "error",
|
||||
"typescript/consistent-type-definitions": "error",
|
||||
"typescript/no-confusing-non-null-assertion": "error",
|
||||
"typescript/no-inferrable-types": "error",
|
||||
"typescript/prefer-for-of": "error",
|
||||
"typescript/prefer-function-type": "error",
|
||||
"typescript/no-import-type-side-effects": "error",
|
||||
"import/namespace": "error",
|
||||
"import/default": "error",
|
||||
"import/export": "error",
|
||||
"import/no-named-as-default": "warn",
|
||||
"import/no-named-as-default-member": "warn",
|
||||
"import/no-duplicates": "warn",
|
||||
"import/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
"ts": "never",
|
||||
"js": "never"
|
||||
}
|
||||
],
|
||||
"import/no-mutable-exports": "error",
|
||||
"import/no-amd": "error",
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-absolute-path": "error",
|
||||
"import/no-dynamic-require": "error",
|
||||
"import/no-webpack-loader-syntax": "error",
|
||||
"import/no-named-default": "error",
|
||||
"import/no-self-import": "error"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
|
||||
"rules": {
|
||||
"constructor-super": "off",
|
||||
"getter-return": "off",
|
||||
"no-class-assign": "off",
|
||||
"no-const-assign": "off",
|
||||
"no-dupe-class-members": "off",
|
||||
"no-dupe-keys": "off",
|
||||
"no-func-assign": "off",
|
||||
"no-import-assign": "off",
|
||||
"no-new-native-nonconstructor": "off",
|
||||
"no-obj-calls": "off",
|
||||
"no-redeclare": "off",
|
||||
"no-setter-return": "off",
|
||||
"no-this-before-super": "off",
|
||||
"no-unreachable": "off",
|
||||
"no-unsafe-negation": "off",
|
||||
"no-with": "off",
|
||||
"prefer-const": "error",
|
||||
"prefer-rest-params": "error",
|
||||
"prefer-spread": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["src/entrypoints/service-worker.ts"],
|
||||
"env": {
|
||||
"serviceworker": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["test/e2e/*.mjs", ".github/scripts/*.mjs"],
|
||||
"env": {
|
||||
"node": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["build-scripts/**"],
|
||||
"rules": {
|
||||
"prefer-arrow-callback": "off",
|
||||
"import/extensions": "off",
|
||||
"import/no-dynamic-require": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"oxc.oxc-vscode",
|
||||
"esbenp.prettier-vscode",
|
||||
"runem.lit-plugin",
|
||||
"github.vscode-pull-request-github",
|
||||
|
||||
@@ -11,10 +11,7 @@ export default tseslint.config(...rootConfig, {
|
||||
rules: {
|
||||
"no-console": "off",
|
||||
"import-x/no-extraneous-dependencies": "off",
|
||||
"import-x/extensions": "off",
|
||||
"import-x/no-dynamic-require": "off",
|
||||
"global-require": "off",
|
||||
"@typescript-eslint/no-require-imports": "off",
|
||||
"prefer-arrow-callback": "off",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -33,9 +33,9 @@ const initialDemo = () => {
|
||||
return slug && demos.includes(slug) ? slug : demos[0];
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import-x/no-mutable-exports
|
||||
// oxlint-disable-next-line import/no-mutable-exports
|
||||
export let selectedDemo = initialDemo();
|
||||
// eslint-disable-next-line import-x/no-mutable-exports
|
||||
// oxlint-disable-next-line import/no-mutable-exports
|
||||
export let selectedDemoConfig: Promise<DemoConfig> =
|
||||
demoConfigs[selectedDemo]();
|
||||
|
||||
|
||||
+28
-72
@@ -4,14 +4,12 @@ import { fileURLToPath } from "node:url";
|
||||
|
||||
import unusedImports from "eslint-plugin-unused-imports";
|
||||
import globals from "globals";
|
||||
import js from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
import eslintConfigPrettier from "eslint-config-prettier";
|
||||
import { configs as litConfigs } from "eslint-plugin-lit";
|
||||
import { configs as wcConfigs } from "eslint-plugin-wc";
|
||||
import { configs as a11yConfigs } from "eslint-plugin-lit-a11y";
|
||||
import html from "@html-eslint/eslint-plugin";
|
||||
import importX from "eslint-plugin-import-x";
|
||||
import { importX } from "eslint-plugin-import-x";
|
||||
|
||||
const rspackConfigPath = fileURLToPath(
|
||||
new URL("./rspack.config.cjs", import.meta.url)
|
||||
@@ -21,17 +19,13 @@ const rspackConfigPath = fileURLToPath(
|
||||
const restrictedSyntax = ["LabeledStatement", "WithStatement"];
|
||||
|
||||
export default tseslint.config(
|
||||
js.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
tseslint.configs.base,
|
||||
litConfigs["flat/all"],
|
||||
tseslint.configs.recommended,
|
||||
tseslint.configs.strict,
|
||||
tseslint.configs.stylistic,
|
||||
wcConfigs["flat/recommended"],
|
||||
a11yConfigs.recommended,
|
||||
importX.flatConfigs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
"import-x": importX,
|
||||
"unused-imports": unusedImports,
|
||||
},
|
||||
|
||||
@@ -65,46 +59,29 @@ export default tseslint.config(
|
||||
},
|
||||
|
||||
rules: {
|
||||
"array-callback-return": ["error", { allowImplicit: true }],
|
||||
"block-scoped-var": "error",
|
||||
// Native rules live in .oxlintrc.json. Keep only the remaining checks here.
|
||||
"consistent-return": "error",
|
||||
curly: ["error", "multi-line"],
|
||||
"default-case-last": "error",
|
||||
eqeqeq: ["error", "always", { null: "ignore" }],
|
||||
"guard-for-in": "error",
|
||||
"no-await-in-loop": "error",
|
||||
"no-caller": "error",
|
||||
"no-constructor-return": "error",
|
||||
"no-eval": "error",
|
||||
"no-extend-native": "error",
|
||||
"no-implied-eval": "error",
|
||||
"no-iterator": "error",
|
||||
"no-control-regex": "error",
|
||||
"no-dupe-args": "error",
|
||||
"no-empty": "error",
|
||||
"no-global-assign": "error",
|
||||
"no-misleading-character-class": "error",
|
||||
"no-new-func": "error",
|
||||
"no-new-wrappers": "error",
|
||||
"no-octal": "error",
|
||||
"no-octal-escape": "error",
|
||||
"no-promise-executor-return": "error",
|
||||
"no-prototype-builtins": "error",
|
||||
"no-return-assign": ["error", "always"],
|
||||
"no-script-url": "error",
|
||||
"no-self-compare": "error",
|
||||
"no-sequences": "error",
|
||||
"no-template-curly-in-string": "error",
|
||||
"no-undef": "error",
|
||||
"no-unreachable-loop": "error",
|
||||
|
||||
"no-else-return": ["error", { allowElseIf: false }],
|
||||
"no-lonely-if": "error",
|
||||
"no-unneeded-ternary": ["error", { defaultAssignment: false }],
|
||||
"no-useless-computed-key": "error",
|
||||
"no-useless-concat": "error",
|
||||
"no-useless-rename": "error",
|
||||
"no-unsafe-optional-chaining": "error",
|
||||
"no-useless-return": "error",
|
||||
"one-var": ["error", "never"],
|
||||
"operator-assignment": ["error", "always"],
|
||||
"prefer-arrow-callback": "error",
|
||||
"prefer-exponentiation-operator": "error",
|
||||
"prefer-object-spread": "error",
|
||||
"prefer-regex-literals": ["error", { disallowRedundantWrapping: true }],
|
||||
"symbol-description": "error",
|
||||
yoda: "error",
|
||||
|
||||
// TODO: Enable once violations are fixed (43 instances as of 2026-04)
|
||||
// "no-useless-assignment": "error",
|
||||
@@ -113,7 +90,6 @@ export default tseslint.config(
|
||||
// Project rules
|
||||
"no-bitwise": "error",
|
||||
"no-console": "error",
|
||||
"no-restricted-globals": [2, "event"],
|
||||
"no-restricted-syntax": [
|
||||
"error",
|
||||
...restrictedSyntax,
|
||||
@@ -126,42 +102,23 @@ export default tseslint.config(
|
||||
],
|
||||
"wc/no-self-class": "off",
|
||||
|
||||
// import-x rules
|
||||
"import-x/named": "off",
|
||||
"import-x/prefer-default-export": "off",
|
||||
"import-x/no-default-export": "off",
|
||||
"import-x/no-unresolved": "off",
|
||||
"import-x/no-cycle": "off",
|
||||
"import-x/extensions": [
|
||||
"error",
|
||||
"ignorePackages",
|
||||
{
|
||||
ts: "never",
|
||||
js: "never",
|
||||
},
|
||||
],
|
||||
"import-x/no-mutable-exports": "error",
|
||||
"import-x/no-amd": "error",
|
||||
"import-x/first": "error",
|
||||
// import-x rules without an Oxlint equivalent
|
||||
"import-x/order": [
|
||||
"error",
|
||||
{ groups: [["builtin", "external", "internal"]] },
|
||||
],
|
||||
"import-x/newline-after-import": "error",
|
||||
"import-x/no-absolute-path": "error",
|
||||
"import-x/no-dynamic-require": "error",
|
||||
"import-x/no-webpack-loader-syntax": "error",
|
||||
"import-x/no-named-default": "error",
|
||||
"import-x/no-self-import": "error",
|
||||
"import-x/no-useless-path-segments": ["error", { commonjs: true }],
|
||||
"import-x/no-import-module-exports": ["error", { exceptions: [] }],
|
||||
"import-x/no-relative-packages": "error",
|
||||
|
||||
// TypeScript rules
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/array-type": "error",
|
||||
"@typescript-eslint/no-empty-function": "error",
|
||||
"@typescript-eslint/no-namespace": "error",
|
||||
"@typescript-eslint/no-require-imports": "error",
|
||||
"@typescript-eslint/no-shadow": ["error"],
|
||||
"@typescript-eslint/no-this-alias": "error",
|
||||
"@typescript-eslint/triple-slash-reference": "error",
|
||||
|
||||
"@typescript-eslint/naming-convention": [
|
||||
"error",
|
||||
@@ -223,15 +180,14 @@ export default tseslint.config(
|
||||
"lit-a11y/anchor-is-valid": "error",
|
||||
"lit-a11y/role-has-required-aria-attrs": "error",
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
"@typescript-eslint/no-import-type-side-effects": "error",
|
||||
"@typescript-eslint/no-dynamic-delete": "off",
|
||||
"@typescript-eslint/no-empty-object-type": [
|
||||
"error",
|
||||
{
|
||||
allowInterfaces: "always",
|
||||
allowObjectTypes: "always",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
|
||||
rules: {
|
||||
"no-dupe-args": "off",
|
||||
"no-undef": "off",
|
||||
"no-var": "error",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export default {
|
||||
"*.?(c|m){js,ts}": [
|
||||
"oxlint --no-ignore --fix --max-warnings=0",
|
||||
"eslint --cache --cache-strategy=content --cache-location=node_modules/.cache/eslint/.eslintcache --fix",
|
||||
"prettier --cache --write",
|
||||
"lit-analyzer --quiet",
|
||||
|
||||
+5
-4
@@ -8,6 +8,8 @@
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"build": "node build-scripts/build-manager.mjs",
|
||||
"lint:oxlint": "oxlint --no-ignore src */src test/e2e/app/src src/cast/dev_const.ts --max-warnings=0",
|
||||
"format:oxlint": "oxlint --no-ignore src */src test/e2e/app/src src/cast/dev_const.ts --fix",
|
||||
"lint:eslint": "eslint \"**/src/**/*.{js,ts,html}\" --cache --cache-strategy=content --cache-location=node_modules/.cache/eslint/.eslintcache --ignore-pattern=.gitignore --max-warnings=0",
|
||||
"format:eslint": "eslint \"**/src/**/*.{js,ts,html}\" --cache --cache-strategy=content --cache-location=node_modules/.cache/eslint/.eslintcache --ignore-pattern=.gitignore --fix",
|
||||
"lint:prettier": "prettier . --cache --check",
|
||||
@@ -15,8 +17,8 @@
|
||||
"lint:types": "node ./node_modules/@typescript/native/bin/tsc",
|
||||
"lint:lit": "lit-analyzer \"{.,*}/src/**/*.ts\"",
|
||||
"lint:licenses": "node --no-deprecation script/check-licenses",
|
||||
"lint": "yarn run lint:eslint && yarn run lint:prettier && yarn run lint:types && yarn run lint:lit",
|
||||
"format": "yarn run format:eslint && yarn run format:prettier",
|
||||
"lint": "yarn run lint:oxlint && yarn run lint:eslint && yarn run lint:prettier && yarn run lint:types && yarn run lint:lit",
|
||||
"format": "yarn run format:oxlint && yarn run format:eslint && yarn run format:prettier",
|
||||
"postinstall": "husky",
|
||||
"prepack": "pinst --disable",
|
||||
"postpack": "pinst --enable",
|
||||
@@ -144,7 +146,6 @@
|
||||
"@babel/plugin-transform-runtime": "8.0.6",
|
||||
"@babel/preset-env": "8.0.6",
|
||||
"@bundle-stats/plugin-webpack-filter": "4.22.3",
|
||||
"@eslint/js": "10.0.1",
|
||||
"@gfx/zopfli": "1.0.15",
|
||||
"@html-eslint/eslint-plugin": "0.66.1",
|
||||
"@lokalise/node-api": "16.6.0",
|
||||
@@ -177,7 +178,6 @@
|
||||
"browserslist-useragent-regexp": "4.1.4",
|
||||
"del": "8.0.1",
|
||||
"eslint": "10.11.0",
|
||||
"eslint-config-prettier": "10.1.8",
|
||||
"eslint-import-resolver-webpack": "0.13.11",
|
||||
"eslint-plugin-import-x": "4.17.1",
|
||||
"eslint-plugin-lit": "2.3.1",
|
||||
@@ -204,6 +204,7 @@
|
||||
"lodash.template": "4.18.1",
|
||||
"map-stream": "0.0.7",
|
||||
"minify-literals": "2.2.0",
|
||||
"oxlint": "1.85.0",
|
||||
"pinst": "3.0.0",
|
||||
"prettier": "3.9.9",
|
||||
"rspack-manifest-plugin": "5.2.2",
|
||||
|
||||
@@ -3,7 +3,7 @@ import { mdiOpenInNew } from "@mdi/js";
|
||||
import type { PropertyValues } from "lit";
|
||||
import { html, LitElement, nothing } from "lit";
|
||||
import { customElement, property, state } from "lit/decorators";
|
||||
import punycode from "punycode";
|
||||
import { toASCII } from "punycode";
|
||||
import { applyThemesOnElement } from "../common/dom/apply_themes_on_element";
|
||||
import { extractSearchParamsObject } from "../common/url/search-params";
|
||||
import "../components/ha-alert";
|
||||
@@ -174,7 +174,7 @@ export class HaAuthorize extends provideLiteI18nMixin(
|
||||
clientId: html`<b
|
||||
>${
|
||||
this.clientId
|
||||
? punycode.toASCII(this.clientId)
|
||||
? toASCII(this.clientId)
|
||||
: this.clientId
|
||||
}</b
|
||||
>`,
|
||||
|
||||
@@ -26,7 +26,6 @@ import type {
|
||||
} from "../../common/validate-condition";
|
||||
import type { ConditionsEntityContext } from "./context";
|
||||
import { conditionsEntityContext } from "./context";
|
||||
import "./ha-card-condition-editor";
|
||||
import {
|
||||
type HaCardConditionEditor,
|
||||
getConditionClassName,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable import-x/namespace -- echarts/core uses complex re-exports that static analysis can't resolve */
|
||||
// Import the echarts core module, which provides the necessary interfaces for using echarts.
|
||||
import * as echarts from "echarts/core";
|
||||
|
||||
|
||||
Vendored
+1
-2
@@ -1,5 +1,4 @@
|
||||
// eslint-disable-next-line no-var
|
||||
declare var Vibrant: Any;
|
||||
declare const Vibrant: Any;
|
||||
declare module "node-vibrant" {
|
||||
export default Vibrant;
|
||||
}
|
||||
|
||||
@@ -2675,18 +2675,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/js@npm:10.0.1":
|
||||
version: 10.0.1
|
||||
resolution: "@eslint/js@npm:10.0.1"
|
||||
peerDependencies:
|
||||
eslint: ^10.0.0
|
||||
peerDependenciesMeta:
|
||||
eslint:
|
||||
optional: true
|
||||
checksum: 10/27ff77b8f0aab350b2f7a69d974eabb816bb9f4cab986b1538782269d6bfdc29e351803fa7a62c22c0b786341324f1a28b86bc83956ddfa189aa6bead1a87758
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/object-schema@npm:^3.0.5":
|
||||
version: 3.0.5
|
||||
resolution: "@eslint/object-schema@npm:3.0.5"
|
||||
@@ -4631,6 +4619,139 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-android-arm-eabi@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-android-arm-eabi@npm:1.85.0"
|
||||
conditions: os=android & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-android-arm64@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-android-arm64@npm:1.85.0"
|
||||
conditions: os=android & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-darwin-arm64@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-darwin-arm64@npm:1.85.0"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-darwin-x64@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-darwin-x64@npm:1.85.0"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-freebsd-x64@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-freebsd-x64@npm:1.85.0"
|
||||
conditions: os=freebsd & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-arm-gnueabihf@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-arm-gnueabihf@npm:1.85.0"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-arm-musleabihf@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-arm-musleabihf@npm:1.85.0"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-arm64-gnu@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-arm64-gnu@npm:1.85.0"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-arm64-musl@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-arm64-musl@npm:1.85.0"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-ppc64-gnu@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-ppc64-gnu@npm:1.85.0"
|
||||
conditions: os=linux & cpu=ppc64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-riscv64-gnu@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-riscv64-gnu@npm:1.85.0"
|
||||
conditions: os=linux & cpu=riscv64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-riscv64-musl@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-riscv64-musl@npm:1.85.0"
|
||||
conditions: os=linux & cpu=riscv64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-s390x-gnu@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-s390x-gnu@npm:1.85.0"
|
||||
conditions: os=linux & cpu=s390x & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-x64-gnu@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-x64-gnu@npm:1.85.0"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-linux-x64-musl@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-linux-x64-musl@npm:1.85.0"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-openharmony-arm64@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-openharmony-arm64@npm:1.85.0"
|
||||
conditions: os=openharmony & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-win32-arm64-msvc@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-win32-arm64-msvc@npm:1.85.0"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-win32-ia32-msvc@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-win32-ia32-msvc@npm:1.85.0"
|
||||
conditions: os=win32 & cpu=ia32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/binding-win32-x64-msvc@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "@oxlint/binding-win32-x64-msvc@npm:1.85.0"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@playwright/test@npm:1.63.0":
|
||||
version: 1.63.0
|
||||
resolution: "@playwright/test@npm:1.63.0"
|
||||
@@ -9195,17 +9316,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-config-prettier@npm:10.1.8":
|
||||
version: 10.1.8
|
||||
resolution: "eslint-config-prettier@npm:10.1.8"
|
||||
peerDependencies:
|
||||
eslint: ">=7.0.0"
|
||||
bin:
|
||||
eslint-config-prettier: bin/cli.js
|
||||
checksum: 10/03f8e6ea1a6a9b8f9eeaf7c8c52a96499ec4b275b9ded33331a6cc738ed1d56de734097dbd0091f136f0e84bc197388bd8ec22a52a4658105883f8c8b7d8921a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-import-context@npm:^0.1.9":
|
||||
version: 0.1.9
|
||||
resolution: "eslint-import-context@npm:0.1.9"
|
||||
@@ -10379,7 +10489,6 @@ __metadata:
|
||||
"@codemirror/view": "npm:6.43.13"
|
||||
"@date-fns/tz": "npm:1.5.0"
|
||||
"@egjs/hammerjs": "npm:2.0.17"
|
||||
"@eslint/js": "npm:10.0.1"
|
||||
"@formatjs/intl-datetimeformat": "npm:7.8.0"
|
||||
"@formatjs/intl-displaynames": "npm:7.3.15"
|
||||
"@formatjs/intl-durationformat": "npm:0.11.1"
|
||||
@@ -10462,7 +10571,6 @@ __metadata:
|
||||
echarts-extension-chart2music: "npm:0.1.1"
|
||||
element-internals-polyfill: "npm:3.0.2"
|
||||
eslint: "npm:10.11.0"
|
||||
eslint-config-prettier: "npm:10.1.8"
|
||||
eslint-import-resolver-webpack: "npm:0.13.11"
|
||||
eslint-plugin-import-x: "npm:4.17.1"
|
||||
eslint-plugin-lit: "npm:2.3.1"
|
||||
@@ -10506,6 +10614,7 @@ __metadata:
|
||||
nanoid: "npm:6.0.1"
|
||||
node-vibrant: "npm:4.0.4"
|
||||
object-hash: "npm:3.0.0"
|
||||
oxlint: "npm:1.85.0"
|
||||
pinst: "npm:3.0.0"
|
||||
prettier: "npm:3.9.9"
|
||||
punycode: "npm:2.3.1"
|
||||
@@ -13025,6 +13134,82 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oxlint@npm:1.85.0":
|
||||
version: 1.85.0
|
||||
resolution: "oxlint@npm:1.85.0"
|
||||
dependencies:
|
||||
"@oxlint/binding-android-arm-eabi": "npm:1.85.0"
|
||||
"@oxlint/binding-android-arm64": "npm:1.85.0"
|
||||
"@oxlint/binding-darwin-arm64": "npm:1.85.0"
|
||||
"@oxlint/binding-darwin-x64": "npm:1.85.0"
|
||||
"@oxlint/binding-freebsd-x64": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-arm-gnueabihf": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-arm-musleabihf": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-arm64-gnu": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-arm64-musl": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-ppc64-gnu": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-riscv64-gnu": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-riscv64-musl": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-s390x-gnu": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-x64-gnu": "npm:1.85.0"
|
||||
"@oxlint/binding-linux-x64-musl": "npm:1.85.0"
|
||||
"@oxlint/binding-openharmony-arm64": "npm:1.85.0"
|
||||
"@oxlint/binding-win32-arm64-msvc": "npm:1.85.0"
|
||||
"@oxlint/binding-win32-ia32-msvc": "npm:1.85.0"
|
||||
"@oxlint/binding-win32-x64-msvc": "npm:1.85.0"
|
||||
peerDependencies:
|
||||
oxlint-tsgolint: ">=7.0.2001"
|
||||
vite-plus: "*"
|
||||
dependenciesMeta:
|
||||
"@oxlint/binding-android-arm-eabi":
|
||||
optional: true
|
||||
"@oxlint/binding-android-arm64":
|
||||
optional: true
|
||||
"@oxlint/binding-darwin-arm64":
|
||||
optional: true
|
||||
"@oxlint/binding-darwin-x64":
|
||||
optional: true
|
||||
"@oxlint/binding-freebsd-x64":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-arm-gnueabihf":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-arm-musleabihf":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-arm64-gnu":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-arm64-musl":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-ppc64-gnu":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-riscv64-gnu":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-riscv64-musl":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-s390x-gnu":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-x64-gnu":
|
||||
optional: true
|
||||
"@oxlint/binding-linux-x64-musl":
|
||||
optional: true
|
||||
"@oxlint/binding-openharmony-arm64":
|
||||
optional: true
|
||||
"@oxlint/binding-win32-arm64-msvc":
|
||||
optional: true
|
||||
"@oxlint/binding-win32-ia32-msvc":
|
||||
optional: true
|
||||
"@oxlint/binding-win32-x64-msvc":
|
||||
optional: true
|
||||
peerDependenciesMeta:
|
||||
oxlint-tsgolint:
|
||||
optional: true
|
||||
vite-plus:
|
||||
optional: true
|
||||
bin:
|
||||
oxlint: bin/oxlint
|
||||
checksum: 10/f4b444a41c595663dbf1317d2b0f8eff6c8983c7083b440422bc820abb4409c9d49bc519582733751d8ab245d0ede08bb8806d52462b6ef2a1224102c4837f31
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"p-limit@npm:^2.2.0":
|
||||
version: 2.3.0
|
||||
resolution: "p-limit@npm:2.3.0"
|
||||
|
||||
Reference in New Issue
Block a user