Skip to content

Commit 2e70c95

Browse files
committed
Inner Elements fix
1 parent a49928c commit 2e70c95

8 files changed

Lines changed: 629 additions & 253 deletions

File tree

.eslintrc.js

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules*

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
### 1.0.4
4+
* Fixed a bug where the animation would not work properly if the Nav Elements Selector has child Elements
5+
36
### 1.0.3
47
* Improve all comments to make them better understandable
58
* replaced 'rollup-plugin-uglify' with 'rollup-plugin-terser' for minification

0 commit comments

Comments
 (0)