Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 240a54b

Browse files
Merge pull request #1 from KockaAdmiralac/update-1.1.0
Update 1.1.0
2 parents 1f0f458 + 14d68e1 commit 240a54b

File tree

12 files changed

+1715
-169
lines changed

12 files changed

+1715
-169
lines changed

.eslintrc.json

Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"browser": true,
5+
"es6": true
6+
},
7+
"globals": {
8+
"main": false
9+
},
10+
"rules": {
11+
"for-direction": "warn",
12+
"getter-return": "error",
13+
"no-await-in-loop": "warn",
14+
"no-compare-neg-zero": "error",
15+
"no-cond-assign": "error",
16+
"no-console": "off",
17+
"no-constant-condition": "error",
18+
"no-control-regex": "error",
19+
"no-debugger": "error",
20+
"no-dupe-args": "error",
21+
"no-dupe-keys": "error",
22+
"no-duplicate-case": "error",
23+
"no-empty": "error",
24+
"no-empty-character-class": "error",
25+
"no-ex-assign": "error",
26+
"no-extra-boolean-cast": "error",
27+
"no-extra-parens": "error",
28+
"no-extra-semi": "error",
29+
"no-func-assign": "error",
30+
"no-inner-declarations": "error",
31+
"no-invalid-regexp": "error",
32+
"no-irregular-whitespace": "error",
33+
"no-obj-calls": "error",
34+
"no-prototype-builtins": "error",
35+
"no-regex-spaces": "error",
36+
"no-sparse-arrays": "error",
37+
"no-template-curly-in-string": "error",
38+
"no-unexpected-multiline": "error",
39+
"no-unreachable": "error",
40+
"no-unsafe-finally": "error",
41+
"no-unsafe-negation": "error",
42+
"use-isnan": "error",
43+
"valid-jsdoc": ["error", {
44+
"prefer": {
45+
"virtual": "abstract",
46+
"extends": "augments",
47+
"class": "constructor",
48+
"const": "constant",
49+
"defaultvalue": "default",
50+
"desc": "description",
51+
"host": "external",
52+
"fileoverview": "file",
53+
"overview": "file",
54+
"emits": "fires",
55+
"func": "function",
56+
"method": "function",
57+
"var": "member",
58+
"prop": "property",
59+
"return": "returns",
60+
"exception": "throws",
61+
"yield": "yields"
62+
},
63+
"requireReturn": false,
64+
"matchDescription": ".+"
65+
}],
66+
"valid-typeof": "error",
67+
"accessor-pairs": "off",
68+
"array-callback-return": "error",
69+
"block-scoped-var": "error",
70+
"class-methods-use-this": "off",
71+
"complexity": ["error", 25],
72+
"consistent-return": "off",
73+
"curly": "error",
74+
"default-case": "error",
75+
"dot-location": ["error", "property"],
76+
"dot-notation": "error",
77+
"eqeqeq": "error",
78+
"guard-for-in": "off",
79+
"no-alert": "error",
80+
"no-caller": "error",
81+
"no-case-declarations": "error",
82+
"no-div-regex": "error",
83+
"no-else-return": "error",
84+
"no-empty-function": "error",
85+
"no-empty-pattern": "error",
86+
"no-eq-null": "warn",
87+
"no-eval": "error",
88+
"no-extend-native": "error",
89+
"no-extra-bind": "error",
90+
"no-extra-label": "error",
91+
"no-fallthrough": "error",
92+
"no-floating-decimal": "error",
93+
"no-global-assign": "error",
94+
"no-implicit-coercion": "error",
95+
"no-implicit-globals": "error",
96+
"no-implied-eval": "error",
97+
"no-invalid-this": "error",
98+
"no-iterator": "error",
99+
"no-labels": "error",
100+
"no-lone-blocks": "error",
101+
"no-loop-func": "error",
102+
"no-magic-numbers": "off",
103+
"no-multi-spaces": "warn",
104+
"no-multi-str": "error",
105+
"no-new": "error",
106+
"no-new-func": "error",
107+
"no-new-wrappers": "error",
108+
"no-octal": "error",
109+
"no-octal-escape": "error",
110+
"no-param-reassign": "error",
111+
"no-proto": "error",
112+
"no-redeclare": "error",
113+
"no-restricted-properties": "off",
114+
"no-return-assign": "error",
115+
"no-return-await": "error",
116+
"no-script-url": "error",
117+
"no-self-assign": "error",
118+
"no-self-compare": "error",
119+
"no-sequences": "error",
120+
"no-throw-literal": "error",
121+
"no-unmodified-loop-condition": "error",
122+
"no-unused-expressions": "error",
123+
"no-unused-labels": "error",
124+
"no-useless-call": "error",
125+
"no-useless-concat": "error",
126+
"no-useless-escape": "error",
127+
"no-useless-return": "error",
128+
"no-void": "error",
129+
"no-warning-comments": "off",
130+
"no-with": "error",
131+
"prefer-promise-reject-errors": "off",
132+
"radix": "error",
133+
"require-await": "error",
134+
"vars-on-top": "warn",
135+
"wrap-iife": "error",
136+
"yoda": ["error", "never"],
137+
"strict": "error",
138+
"init-declarations": "off",
139+
"no-catch-shadow": "error",
140+
"no-delete-var": "error",
141+
"no-label-var": "error",
142+
"no-restricted-globals": "off",
143+
"no-shadow": "error",
144+
"no-shadow-restricted-names": "error",
145+
"no-undef": "error",
146+
"no-undef-init": "error",
147+
"no-undefined": "off",
148+
"no-unused-vars": "error",
149+
"no-use-before-define": "error",
150+
"callback-return": "off",
151+
"global-require": "off",
152+
"handle-callback-err": "error",
153+
"no-buffer-constructor": "error",
154+
"no-mixed-requires": "error",
155+
"no-new-require": "error",
156+
"no-path-concat": "error",
157+
"no-process-env": "error",
158+
"no-process-exit": "off",
159+
"no-restricted-modules": "off",
160+
"no-sync": "error",
161+
"array-bracket-newline": ["error", "consistent"],
162+
"array-bracket-spacing": "error",
163+
"array-element-newline": "off",
164+
"block-spacing": "error",
165+
"brace-style": "error",
166+
"camelcase": "error",
167+
"capitalized-comments": "off",
168+
"comma-dangle": "error",
169+
"comma-spacing": "error",
170+
"comma-style": "error",
171+
"computed-property-spacing": "error",
172+
"consistent-this": "error",
173+
"eol-last": "error",
174+
"func-call-spacing": "error",
175+
"func-name-matching": "error",
176+
"func-names": ["error", "never"],
177+
"func-style": "off",
178+
"function-paren-newline": "off",
179+
"id-blacklist": "off",
180+
"id-length": "off",
181+
"id-match": "off",
182+
"implicit-arrow-linebreak": "error",
183+
"indent": "off",
184+
"jsx-quotes": "error",
185+
"key-spacing": "error",
186+
"keyword-spacing": "error",
187+
"line-comment-position": "error",
188+
"linebreak-style": "error",
189+
"lines-around-comment": "off",
190+
"lines-between-class-members": ["error", "never"],
191+
"max-depth": "error",
192+
"max-len": ["error", {
193+
"ignoreTemplateLiterals": true,
194+
"ignoreRegExpLiterals": true
195+
}],
196+
"max-lines": ["error", 1000],
197+
"max-nested-callbacks": ["error", {
198+
"max": 3
199+
}],
200+
"max-params": ["error", {
201+
"max": 5
202+
}],
203+
"max-statements": ["error", {
204+
"max": 20
205+
}],
206+
"max-statements-per-line": "error",
207+
"multiline-comment-style": "error",
208+
"multiline-ternary": "off",
209+
"new-cap": "error",
210+
"new-parens": "error",
211+
"newline-per-chained-call": ["error", {
212+
"ignoreChainWithDepth": 4
213+
}],
214+
"no-array-constructor": "error",
215+
"no-bitwise": "off",
216+
"no-continue": "error",
217+
"no-inline-comments": "error",
218+
"no-lonely-if": "error",
219+
"no-mixed-operators": "error",
220+
"no-mixed-spaces-and-tabs": "error",
221+
"no-multi-assign": "error",
222+
"no-multiple-empty-lines": ["error", {
223+
"max": 1
224+
}],
225+
"no-negated-condition": "error",
226+
"no-nested-ternary": "off",
227+
"no-new-object": "error",
228+
"no-plusplus": "off",
229+
"no-restricted-syntax": "off",
230+
"no-tabs": "error",
231+
"no-ternary": "off",
232+
"no-trailing-spaces": "error",
233+
"no-underscore-dangle": "off",
234+
"no-unneeded-ternary": "error",
235+
"no-whitespace-before-property": "error",
236+
"nonblock-statement-body-position": "error",
237+
"object-curly-newline": ["error", {
238+
"consistent": true
239+
}],
240+
"object-curly-spacing": "error",
241+
"object-property-newline": "error",
242+
"one-var": "off",
243+
"one-var-declaration-per-line": "off",
244+
"operator-assignment": "error",
245+
"operator-linebreak": ["error", "after"],
246+
"padded-blocks": ["error", "never"],
247+
"padding-line-between-statements": "off",
248+
"quote-props": ["error", "consistent-as-needed"],
249+
"quotes": ["error", "single"],
250+
"require-jsdoc": ["error", {
251+
"require": {
252+
"FunctionDeclaration": true,
253+
"MethodDefinition": true,
254+
"ClassDeclaration": true,
255+
"ArrowFunctionExpression": false,
256+
"FunctionExpression": true
257+
}
258+
}],
259+
"semi": "error",
260+
"semi-spacing": "error",
261+
"semi-style": "error",
262+
"sort-keys": "error",
263+
"sort-vars": "off",
264+
"space-before-blocks": "error",
265+
"space-before-function-paren": ["error", {
266+
"anonymous": "never",
267+
"named": "never",
268+
"asyncArrow": "always"
269+
}],
270+
"space-in-parens": "error",
271+
"space-infix-ops": "error",
272+
"space-unary-ops": "error",
273+
"spaced-comment": "error",
274+
"switch-colon-spacing": "error",
275+
"template-tag-spacing": "error",
276+
"unicode-bom": "error",
277+
"wrap-regex": "off",
278+
"arrow-body-style": ["error", "never"],
279+
"arrow-parens": ["error", "as-needed"],
280+
"arrow-spacing": "error",
281+
"constructor-super": "error",
282+
"generator-star-spacing": "off",
283+
"no-class-assign": "error",
284+
"no-confusing-arrow": "error",
285+
"no-const-assign": "error",
286+
"no-dupe-class-members": "error",
287+
"no-duplicate-imports": "error",
288+
"no-new-symbol": "error",
289+
"no-restricted-imports": "off",
290+
"no-this-before-super": "error",
291+
"no-useless-computed-key": "error",
292+
"no-useless-constructor": "error",
293+
"no-useless-rename": "error",
294+
"no-var": "error",
295+
"object-shorthand": "error",
296+
"prefer-arrow-callback": "off",
297+
"prefer-const": "error",
298+
"prefer-destructuring": ["error", {
299+
"array": false,
300+
"object": true
301+
}],
302+
"prefer-numeric-literals": "error",
303+
"prefer-rest-params": "error",
304+
"prefer-spread": "error",
305+
"prefer-template": "error",
306+
"require-yield": "error",
307+
"rest-spread-spacing": "off",
308+
"sort-imports": "error",
309+
"symbol-description": "error",
310+
"template-curly-spacing": "error",
311+
"yield-star-spacing": "off"
312+
}
313+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
wikia-gif-avatar-*
3+
releases

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Wikia Nitro
2-
Application for setting GIF avatars on [Wikia](http://c.wikia.com). See also [Saektide's version](https://github.com/HumanoidPikachu/wikia-nitro).
2+
Application for setting GIF avatars on [Wikia](https://c.wikia.com). Documentation is available [here](https://dev.wikia.com/wiki/Nitro). See also [Saektide's version](https://github.com/Saektide/wikia-nitro).

0 commit comments

Comments
 (0)