mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
WebUI: enforce using prefix operators via ESLint
Some checks failed
cpp.yaml / WebUI: enforce using prefix operators via ESLint (push) Failing after 0s
js.yaml / WebUI: enforce using prefix operators via ESLint (push) Failing after 0s
CI - macOS / Build (push) Has been cancelled
CI - Ubuntu / Build (push) Has been cancelled
CI - File health / Check (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled
Some checks failed
cpp.yaml / WebUI: enforce using prefix operators via ESLint (push) Failing after 0s
js.yaml / WebUI: enforce using prefix operators via ESLint (push) Failing after 0s
CI - macOS / Build (push) Has been cancelled
CI - Ubuntu / Build (push) Has been cancelled
CI - File health / Check (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled
NPM has a bug that cannot fetch the plugin via git protocol: https://github.com/npm/cli/issues/2610, so fetch a tarball instead. PR #23110.
This commit is contained in:
parent
119a5a6e85
commit
feacfb0627
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import Globals from "globals";
|
||||
import Html from "eslint-plugin-html";
|
||||
import Js from "@eslint/js";
|
||||
import PluginQbtWebUI from "eslint-plugin-qbt-webui";
|
||||
import PreferArrowFunctions from "eslint-plugin-prefer-arrow-functions";
|
||||
import Stylistic from "@stylistic/eslint-plugin";
|
||||
import * as RegexpPlugin from "eslint-plugin-regexp";
|
||||
|
@ -23,6 +24,7 @@ export default [
|
|||
},
|
||||
plugins: {
|
||||
Html,
|
||||
PluginQbtWebUI,
|
||||
PreferArrowFunctions,
|
||||
RegexpPlugin,
|
||||
Stylistic
|
||||
|
@ -41,6 +43,7 @@ export default [
|
|||
"prefer-template": "error",
|
||||
"radix": "error",
|
||||
"require-await": "error",
|
||||
"PluginQbtWebUI/prefix-inc-dec-operators": "error",
|
||||
"PreferArrowFunctions/prefer-arrow-functions": "error",
|
||||
"Stylistic/no-extra-semi": "error",
|
||||
"Stylistic/no-mixed-operators": [
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"eslint": "*",
|
||||
"eslint-plugin-html": "*",
|
||||
"eslint-plugin-prefer-arrow-functions": "*",
|
||||
"eslint-plugin-qbt-webui": "https://github.com/Chocobo1/eslint-plugin-qbt-webui/tarball/v1",
|
||||
"eslint-plugin-regexp": "*",
|
||||
"happy-dom": "*",
|
||||
"html-validate": "*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue