mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
moved tox to testenv
This commit is contained in:
44
testenv/eslintrc.yaml
Normal file
44
testenv/eslintrc.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
globals:
|
||||
Atx: true
|
||||
Hid: true
|
||||
Keyboard: true
|
||||
Mouse: true
|
||||
Msd: true
|
||||
Session: true
|
||||
Streamer: true
|
||||
Ui: true
|
||||
ui: true
|
||||
tools: true
|
||||
check_browser: true
|
||||
"$": true
|
||||
"$$": true
|
||||
|
||||
env:
|
||||
browser: true
|
||||
es6: true
|
||||
|
||||
extends: "eslint:recommended"
|
||||
|
||||
parserOptions:
|
||||
ecmaVersion: 6
|
||||
|
||||
rules:
|
||||
indent:
|
||||
- error
|
||||
- tab
|
||||
- SwitchCase: 1
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- double
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
comma-dangle:
|
||||
- error
|
||||
- always-multiline
|
||||
no-unused-vars:
|
||||
- error
|
||||
- {vars: local, args: after-used}
|
||||
Reference in New Issue
Block a user