Skip to content

Commit aaa827a

Browse files
committed
V1.1.0
1 parent 653a1e1 commit aaa827a

File tree

8 files changed

+239
-228
lines changed

8 files changed

+239
-228
lines changed

.eslintrc.json

Lines changed: 172 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,173 @@
1-
{
2-
"env": {
3-
"browser": true,
4-
"node": true,
5-
"es6": true
6-
},
7-
"extends": "eslint:recommended",
8-
"parserOptions": {
9-
"ecmaVersion": 2018
10-
},
11-
"rules": {
12-
"accessor-pairs": "error",
13-
"array-bracket-newline": ["error", "consistent"],
14-
"array-bracket-spacing": ["error", "never", { "arraysInArrays": true }],
15-
"array-callback-return": "error",
16-
"array-element-newline": ["error", "consistent"],
17-
"arrow-body-style": "error",
18-
"arrow-parens": ["error", "as-needed"],
19-
"arrow-spacing": "error",
20-
"block-scoped-var": "error",
21-
"block-spacing": "error",
22-
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
23-
"camelcase": "error",
24-
"class-methods-use-this": "error",
25-
"comma-dangle": ["error", "only-multiline"],
26-
"comma-spacing": "error",
27-
"comma-style": "error",
28-
"complexity": "error",
29-
"computed-property-spacing": "error",
30-
"consistent-return": "error",
31-
"consistent-this": "error",
32-
"curly": "error",
33-
"default-param-last": "error",
34-
"dot-location": ["error", "property"],
35-
"dot-notation": "error",
36-
"eol-last": "error",
37-
"eqeqeq": ["error", "smart"],
38-
"func-call-spacing": "error",
39-
"func-name-matching": "error",
40-
"func-names": "error",
41-
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
42-
"function-call-argument-newline": ["error", "consistent"],
43-
"function-paren-newline": ["error", "consistent"],
44-
"generator-star-spacing": "error",
45-
"grouped-accessor-pairs": ["error", "getBeforeSet"],
46-
"implicit-arrow-linebreak": "error",
47-
"indent": ["error", 4, { "SwitchCase": 1 }],
48-
"init-declarations": "error",
49-
"key-spacing": ["error", { "mode": "minimum", "align": "value" }],
50-
"keyword-spacing": "error",
51-
"linebreak-style": "error",
52-
"lines-between-class-members": ["error", "always"],
53-
"max-classes-per-file": "error",
54-
"max-depth": "error",
55-
"max-len": ["error", 130],
56-
"max-nested-callbacks": ["error", 4],
57-
"max-statements-per-line": ["error", { "max": 2 }],
58-
"new-parens": "error",
59-
"newline-per-chained-call": "error",
60-
"no-alert": "error",
61-
"no-array-constructor": "error",
62-
"no-caller": "error",
63-
"no-case-declarations": "error",
64-
"no-confusing-arrow": "error",
65-
"no-constructor-return": "error",
66-
"no-dupe-else-if": "error",
67-
"no-duplicate-imports": "error",
68-
"no-else-return": "error",
69-
"no-empty-function": "error",
70-
"no-eq-null": "error",
71-
"no-eval": "error",
72-
"no-extend-native": "error",
73-
"no-floating-decimal": "error",
74-
"no-implicit-coercion": "error",
75-
"no-implied-eval": "error",
76-
"no-invalid-this": "error",
77-
"no-iterator": "error",
78-
"no-labels": "error",
79-
"no-lone-blocks": "error",
80-
"no-lonely-if": "error",
81-
"no-loop-func": "error",
82-
"no-mixed-operators": "error",
83-
"no-multi-assign": "error",
84-
"no-multi-spaces": "error",
85-
"no-multi-str": "error",
86-
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
87-
"no-negated-condition": "error",
88-
"no-nested-ternary": "error",
89-
"no-new": "error",
90-
"no-new-func": "error",
91-
"no-new-object": "error",
92-
"no-new-wrappers": "error",
93-
"no-octal": "error",
94-
"no-octal-escape": "error",
95-
"no-param-reassign": "error",
96-
"no-proto": "error",
97-
"no-redeclare": "error",
98-
"no-return-assign": "error",
99-
"no-return-await": "error",
100-
"no-script-url": "error",
101-
"no-self-compare": "error",
102-
"no-sequences": "error",
103-
"no-setter-return": "error",
104-
"no-tabs": "error",
105-
"no-template-curly-in-string": "error",
106-
"no-throw-literal": "error",
107-
"no-trailing-spaces": "error",
108-
"no-undef-init": "error",
109-
"no-undefined": "error",
110-
"no-unmodified-loop-condition": "error",
111-
"no-unneeded-ternary": ["error", { "defaultAssignment": false }],
112-
"no-unused-expressions": "error",
113-
"no-use-before-define": "error",
114-
"no-useless-call": "error",
115-
"no-useless-computed-key": "error",
116-
"no-useless-concat": "error",
117-
"no-useless-constructor": "error",
118-
"no-useless-rename": "error",
119-
"no-useless-return": "error",
120-
"no-var": "error",
121-
"no-void": "error",
122-
"no-with": "error",
123-
"no-whitespace-before-property": "error",
124-
"nonblock-statement-body-position": "error",
125-
"object-curly-newline": "error",
126-
"object-curly-spacing": ["error", "always"],
127-
"object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }],
128-
"object-shorthand": "error",
129-
"one-var-declaration-per-line": "error",
130-
"operator-assignment": "error",
131-
"operator-linebreak": ["error", "before"],
132-
"padded-blocks": ["error", { "blocks": "never", "classes": "always", "switches": "never" }, { "allowSingleLineBlocks": true }],
133-
"padding-line-between-statements": [
134-
"error",
135-
{ "blankLine": "always", "prev": "function", "next": "function" }
136-
],
137-
"prefer-arrow-callback": "error",
138-
"prefer-destructuring": ["error", { "array": false, "object": true }],
139-
"prefer-exponentiation-operator": "error",
140-
"prefer-numeric-literals": "error",
141-
"prefer-object-spread": "error",
142-
"prefer-promise-reject-errors": "error",
143-
"prefer-regex-literals": "error",
144-
"prefer-rest-params": "error",
145-
"prefer-spread": "error",
146-
"prefer-template": "error",
147-
"quote-props": "error",
148-
"quotes": ["error", "double", { "avoidEscape": true }],
149-
"radix": ["error", "as-needed"],
150-
"require-await": "error",
151-
"rest-spread-spacing": "error",
152-
"semi": ["error", "always"],
153-
"semi-spacing": "error",
154-
"semi-style": "error",
155-
"sort-imports": "error",
156-
"space-before-blocks": "error",
157-
"space-before-function-paren": ["error", "never"],
158-
"space-in-parens": "error",
159-
"space-infix-ops": "error",
160-
"space-unary-ops": "error",
161-
"spaced-comment": "error",
162-
"strict": ["error", "global"],
163-
"switch-colon-spacing": "error",
164-
"symbol-description": "error",
165-
"template-curly-spacing": "error",
166-
"template-tag-spacing": "error",
167-
"unicode-bom": "error",
168-
"vars-on-top": "error",
169-
"wrap-iife": ["error", "inside"],
170-
"yield-star-spacing": "error",
171-
"yoda": "error"
172-
}
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true,
5+
"es6": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaVersion": 2018
10+
},
11+
"rules": {
12+
"accessor-pairs": "error",
13+
"array-bracket-newline": ["error", "consistent"],
14+
"array-bracket-spacing": ["error", "never", { "arraysInArrays": true }],
15+
"array-callback-return": "error",
16+
"array-element-newline": ["error", "consistent"],
17+
"arrow-body-style": "error",
18+
"arrow-parens": ["error", "as-needed"],
19+
"arrow-spacing": "error",
20+
"block-scoped-var": "error",
21+
"block-spacing": "error",
22+
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
23+
"camelcase": "error",
24+
"class-methods-use-this": "error",
25+
"comma-dangle": ["error", "only-multiline"],
26+
"comma-spacing": "error",
27+
"comma-style": "error",
28+
"complexity": "error",
29+
"computed-property-spacing": "error",
30+
"consistent-return": "error",
31+
"consistent-this": "error",
32+
"curly": "error",
33+
"default-param-last": "error",
34+
"dot-location": ["error", "property"],
35+
"dot-notation": "error",
36+
"eol-last": "error",
37+
"eqeqeq": ["error", "smart"],
38+
"func-call-spacing": "error",
39+
"func-name-matching": "error",
40+
"func-names": "error",
41+
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
42+
"function-call-argument-newline": ["error", "consistent"],
43+
"function-paren-newline": ["error", "consistent"],
44+
"generator-star-spacing": "error",
45+
"grouped-accessor-pairs": ["error", "getBeforeSet"],
46+
"implicit-arrow-linebreak": "error",
47+
"indent": ["error", 4, { "SwitchCase": 1 }],
48+
"init-declarations": "error",
49+
"key-spacing": ["error", { "mode": "minimum", "align": "value" }],
50+
"keyword-spacing": "error",
51+
"linebreak-style": "error",
52+
"lines-between-class-members": ["error", "always"],
53+
"max-classes-per-file": "error",
54+
"max-depth": "error",
55+
"max-len": ["error", 130],
56+
"max-nested-callbacks": ["error", 4],
57+
"max-statements-per-line": ["error", { "max": 2 }],
58+
"new-parens": "error",
59+
"newline-per-chained-call": "error",
60+
"no-alert": "error",
61+
"no-array-constructor": "error",
62+
"no-caller": "error",
63+
"no-case-declarations": "error",
64+
"no-confusing-arrow": "error",
65+
"no-constructor-return": "error",
66+
"no-dupe-else-if": "error",
67+
"no-duplicate-imports": "error",
68+
"no-else-return": "error",
69+
"no-empty-function": "error",
70+
"no-eq-null": "error",
71+
"no-eval": "error",
72+
"no-extend-native": "error",
73+
"no-floating-decimal": "error",
74+
"no-implicit-coercion": "error",
75+
"no-implied-eval": "error",
76+
"no-invalid-this": "error",
77+
"no-iterator": "error",
78+
"no-labels": "error",
79+
"no-lone-blocks": "error",
80+
"no-lonely-if": "error",
81+
"no-loop-func": "error",
82+
"no-mixed-operators": "error",
83+
"no-multi-assign": "error",
84+
"no-multi-spaces": "error",
85+
"no-multi-str": "error",
86+
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
87+
"no-negated-condition": "error",
88+
"no-nested-ternary": "error",
89+
"no-new": "error",
90+
"no-new-func": "error",
91+
"no-new-object": "error",
92+
"no-new-wrappers": "error",
93+
"no-octal": "error",
94+
"no-octal-escape": "error",
95+
"no-param-reassign": "error",
96+
"no-proto": "error",
97+
"no-redeclare": "error",
98+
"no-return-assign": "error",
99+
"no-return-await": "error",
100+
"no-script-url": "error",
101+
"no-self-compare": "error",
102+
"no-sequences": "error",
103+
"no-setter-return": "error",
104+
"no-tabs": "error",
105+
"no-template-curly-in-string": "error",
106+
"no-throw-literal": "error",
107+
"no-trailing-spaces": "error",
108+
"no-undef-init": "error",
109+
"no-undefined": "error",
110+
"no-unmodified-loop-condition": "error",
111+
"no-unneeded-ternary": ["error", { "defaultAssignment": false }],
112+
"no-unused-expressions": "error",
113+
"no-use-before-define": "error",
114+
"no-useless-call": "error",
115+
"no-useless-computed-key": "error",
116+
"no-useless-concat": "error",
117+
"no-useless-constructor": "error",
118+
"no-useless-rename": "error",
119+
"no-useless-return": "error",
120+
"no-var": "error",
121+
"no-void": "error",
122+
"no-with": "error",
123+
"no-whitespace-before-property": "error",
124+
"nonblock-statement-body-position": "error",
125+
"object-curly-newline": "error",
126+
"object-curly-spacing": ["error", "always"],
127+
"object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }],
128+
"object-shorthand": "error",
129+
"one-var-declaration-per-line": "error",
130+
"operator-assignment": "error",
131+
"operator-linebreak": ["error", "before"],
132+
"padded-blocks": ["error", { "blocks": "never", "classes": "always", "switches": "never" }, { "allowSingleLineBlocks": true }],
133+
"padding-line-between-statements": [
134+
"error",
135+
{ "blankLine": "always", "prev": "function", "next": "function" }
136+
],
137+
"prefer-arrow-callback": "error",
138+
"prefer-destructuring": ["error", { "array": false, "object": true }],
139+
"prefer-exponentiation-operator": "error",
140+
"prefer-numeric-literals": "error",
141+
"prefer-object-spread": "error",
142+
"prefer-promise-reject-errors": "error",
143+
"prefer-regex-literals": "error",
144+
"prefer-rest-params": "error",
145+
"prefer-spread": "error",
146+
"prefer-template": "error",
147+
"quote-props": "error",
148+
"quotes": ["error", "double", { "avoidEscape": true }],
149+
"radix": ["error", "as-needed"],
150+
"require-await": "error",
151+
"rest-spread-spacing": "error",
152+
"semi": ["error", "always"],
153+
"semi-spacing": "error",
154+
"semi-style": "error",
155+
"sort-imports": "error",
156+
"space-before-blocks": "error",
157+
"space-before-function-paren": ["error", "never"],
158+
"space-in-parens": "error",
159+
"space-infix-ops": "error",
160+
"space-unary-ops": "error",
161+
"spaced-comment": "error",
162+
"strict": ["error", "global"],
163+
"switch-colon-spacing": "error",
164+
"symbol-description": "error",
165+
"template-curly-spacing": "error",
166+
"template-tag-spacing": "error",
167+
"unicode-bom": "error",
168+
"vars-on-top": "error",
169+
"wrap-iife": ["error", "inside"],
170+
"yield-star-spacing": "error",
171+
"yoda": "error"
172+
}
173173
}

.gitignore

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
cookies.json
2-
guides/*
3-
*.bat
4-
*.log
5-
node_modules
6-
package-lock.json
7-
.git/*
8-
.vscode/*
9-
!.vscode/settings.json
10-
!.vscode/tasks.json
11-
!.vscode/launch.json
12-
!.vscode/extensions.json
13-
*.code-workspace
14-
*/.DS_Store
1+
cookies.json
2+
guides/*
3+
*.bat
4+
*.log
5+
node_modules
6+
package-lock.json
7+
.git/*
8+
.vscode/*
9+
!.vscode/settings.json
10+
!.vscode/tasks.json
11+
!.vscode/launch.json
12+
!.vscode/extensions.json
13+
*.code-workspace
14+
*/.DS_Store
1515
.DS_Store

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Revadike
3+
Copyright (c) 2022 Revadike
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)