forked from new-xkit/XKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
66 lines (63 loc) · 1.48 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
parserOptions:
ecmaVersion: 2018
env:
es6: true
browser: true
jquery: true
extends: eslint:recommended
rules:
dot-notation: [error, allowPattern: "^[A-Z]"]
id-length: [error, exceptions: [i, j, e, x, y]]
no-caller: error
no-console: off
no-empty: off
no-implied-eval: error
no-mixed-spaces-and-tabs: [error, smart-tabs]
no-unused-vars:
- error
- vars: local
args: none
no-shadow: error
no-unsafe-negation: error
no-with: error
valid-jsdoc:
- error
- requireReturn: false
requireParamDescription: false
requireReturnDescription: false
indent: [error, tab, {SwitchCase: 1}]
semi: error
brace-style: [error, 1tbs, allowSingleLine: true]
linebreak-style: [error, unix]
semi-spacing: error
comma-spacing: error
space-infix-ops: error
template-curly-spacing: error
space-before-function-paren: [error, never]
space-before-blocks: error
keyword-spacing:
- error
- before: true
after: true
globals:
BigInt: false
_: true
XKit: true
XBridge: true
centerIt: true
Tumblr: true
add_tag: true
storage_max: true
storage_used: true
framework_version: true
getBridgeError: true
GM_flushStorage: true
GM_deleteAllValues: true
GM_getValue: true
GM_deleteValue: true
GM_setValue: true
GM_log: true
GM_openInTab: true
GM_listValues: true
GM_xmlhttpRequest: true