Browse Source
Due to eslint couldn't correctly resolve the context for the variables, two eslint rules are disabled for now.adaptive-webui-19844
Chocobo1
4 years ago
3 changed files with 32 additions and 1 deletions
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
{ |
||||
"env": { |
||||
"browser": true, |
||||
"es2020": true |
||||
}, |
||||
"extends": "eslint:recommended", |
||||
"plugins": [ |
||||
"html" |
||||
], |
||||
"rules": { |
||||
"no-undef": "off", |
||||
"no-unused-vars": "off" |
||||
} |
||||
} |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
{ |
||||
"name": "webui", |
||||
"description": "qBittorrent WebUI", |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "https://github.com/qbittorrent/qBittorrent.git" |
||||
}, |
||||
"scripts": { |
||||
"format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js", |
||||
"lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js" |
||||
}, |
||||
"devDependencies": { |
||||
"eslint": "*", |
||||
"eslint-plugin-html": "*", |
||||
"js-beautify": "*" |
||||
} |
||||
} |
Loading…
Reference in new issue