From 7cbf66ecee124700974cc24861bd283ee7dc94ca Mon Sep 17 00:00:00 2001 From: Andreas Ehrencrona Date: Thu, 22 Oct 2020 00:23:08 +0200 Subject: [PATCH] Updated to ESLint config 5.4.0 (#5541) --- package.json | 2 +- src/compiler/compile/css/gather_possible_values.ts | 2 +- src/compiler/compile/css/interfaces.ts | 2 +- src/compiler/compile/nodes/Action.ts | 2 +- src/compiler/compile/nodes/Animation.ts | 2 +- src/compiler/compile/nodes/Class.ts | 2 +- src/compiler/compile/nodes/Comment.ts | 2 +- src/compiler/compile/nodes/Transition.ts | 2 +- src/compiler/compile/render_dom/Block.ts | 2 +- src/compiler/compile/render_dom/invalidate.ts | 2 +- src/compiler/compile/render_dom/wrappers/Element/Attribute.ts | 2 +- src/compiler/compile/render_dom/wrappers/Text.ts | 2 +- src/compiler/compile/render_dom/wrappers/shared/Tag.ts | 2 +- src/compiler/compile/render_dom/wrappers/shared/bind_this.ts | 2 +- .../compile/render_dom/wrappers/shared/get_slot_definition.ts | 2 +- src/compiler/compile/render_dom/wrappers/shared/is_dynamic.ts | 2 +- src/compiler/compile/render_dom/wrappers/shared/is_head.ts | 2 +- src/compiler/compile/render_ssr/handlers/InlineComponent.ts | 2 +- .../compile/render_ssr/handlers/shared/get_slot_scope.ts | 2 +- src/compiler/compile/utils/flatten_reference.ts | 2 +- src/compiler/compile/utils/get_name_from_filename.ts | 2 +- src/compiler/compile/utils/get_slot_data.ts | 2 +- src/compiler/compile/utils/hash.ts | 2 +- src/compiler/compile/utils/replace_object.ts | 2 +- src/compiler/compile/utils/reserved_keywords.ts | 2 +- src/compiler/config.ts | 2 +- src/compiler/parse/acorn.ts | 2 +- src/compiler/parse/utils/bracket.ts | 2 +- src/compiler/utils/error.ts | 2 +- src/compiler/utils/full_char_code_at.ts | 2 +- src/compiler/utils/nodes_match.ts | 2 +- src/runtime/internal/spread.ts | 2 +- src/runtime/internal/ssr.ts | 2 +- src/runtime/store/index.ts | 2 +- test/css/index.ts | 2 +- test/css/samples/empty-class/_config.js | 2 +- test/css/samples/empty-rule-dev/_config.js | 2 +- test/css/samples/nested/_config.js | 2 +- .../_config.js | 2 +- .../_config.js | 2 +- .../_config.js | 2 +- .../omit-scoping-attribute-descendant-global-inner/_config.js | 2 +- .../_config.js | 2 +- .../omit-scoping-attribute-descendant-global-outer/_config.js | 2 +- test/css/samples/omit-scoping-attribute-descendant/_config.js | 2 +- test/css/samples/omit-scoping-attribute-global/_config.js | 2 +- test/css/samples/unused-selector-leading/_config.js | 2 +- test/css/samples/unused-selector-ternary/_config.js | 2 +- test/css/samples/unused-selector/_config.js | 2 +- test/custom-elements/assert.js | 2 +- test/custom-elements/samples/custom-method/test.js | 2 +- test/custom-elements/samples/escaped-css/test.js | 2 +- test/custom-elements/samples/extended-builtin/custom-button.js | 2 +- test/custom-elements/samples/extended-builtin/test.js | 2 +- test/custom-elements/samples/html-slots/test.js | 2 +- test/custom-elements/samples/html/test.js | 2 +- test/custom-elements/samples/nested.skip/test.js | 2 +- test/custom-elements/samples/new-styled/test.js | 2 +- test/custom-elements/samples/new/test.js | 2 +- .../custom-elements/samples/no-missing-prop-warnings/_config.js | 2 +- test/custom-elements/samples/no-missing-prop-warnings/test.js | 2 +- test/custom-elements/samples/oncreate/test.js | 2 +- test/custom-elements/samples/props/test.js | 2 +- test/helpers.ts | 2 +- test/hydration/samples/basic/_config.js | 2 +- test/hydration/samples/binding-input/_config.js | 2 +- test/hydration/samples/component-in-element/_config.js | 2 +- test/hydration/samples/component/_config.js | 2 +- test/hydration/samples/dynamic-text-changed/_config.js | 2 +- test/hydration/samples/dynamic-text/_config.js | 2 +- test/hydration/samples/each-block/_config.js | 2 +- test/hydration/samples/element-attribute-added/_config.js | 2 +- test/hydration/samples/element-attribute-changed/_config.js | 2 +- test/hydration/samples/element-attribute-removed/_config.js | 2 +- test/hydration/samples/element-attribute-unchanged/_config.js | 2 +- test/hydration/samples/element-nested/_config.js | 2 +- test/hydration/samples/element-ref/_config.js | 2 +- test/hydration/samples/event-handler/_config.js | 2 +- test/hydration/samples/if-block-anchor/_config.js | 2 +- test/hydration/samples/if-block-false/_config.js | 2 +- test/hydration/samples/if-block-update/_config.js | 2 +- test/hydration/samples/if-block/_config.js | 2 +- test/hydration/samples/raw/_config.js | 2 +- test/hydration/samples/top-level-text/_config.js | 2 +- test/js/samples/capture-inject-dev-only/_config.js | 2 +- test/js/samples/component-static-immutable/_config.js | 2 +- test/js/samples/component-static-immutable2/_config.js | 2 +- test/js/samples/component-store-file-invalidate/store.js | 2 +- test/js/samples/css-shadow-dom-keyframes/_config.js | 2 +- test/js/samples/debug-empty/_config.js | 2 +- test/js/samples/debug-foo-bar-baz-things/_config.js | 2 +- test/js/samples/debug-foo/_config.js | 2 +- test/js/samples/debug-no-dependencies/_config.js | 2 +- test/js/samples/debug-ssr-foo/_config.js | 2 +- test/js/samples/dev-warning-missing-data-computed/_config.js | 2 +- test/js/samples/hydrated-void-element/_config.js | 2 +- test/js/samples/legacy-input-type/_config.js | 2 +- test/js/samples/src-attribute-check/_config.js | 2 +- test/js/samples/ssr-no-oncreate-etc/_config.js | 2 +- test/preprocess/samples/dependencies/_config.js | 2 +- test/preprocess/samples/filename/_config.js | 2 +- test/preprocess/samples/ignores-null/_config.js | 2 +- test/preprocess/samples/markup/_config.js | 2 +- test/preprocess/samples/multiple-preprocessors/_config.js | 2 +- test/preprocess/samples/script-multiple/_config.js | 2 +- test/preprocess/samples/script/_config.js | 2 +- test/preprocess/samples/style-async/_config.js | 2 +- test/preprocess/samples/style-attributes/_config.js | 2 +- test/preprocess/samples/style/_config.js | 2 +- test/runtime/samples/animation-css/_config.js | 2 +- test/runtime/samples/animation-js-delay/_config.js | 2 +- test/runtime/samples/animation-js-easing/_config.js | 2 +- test/runtime/samples/animation-js-easing/easing.js | 2 +- test/runtime/samples/animation-js/_config.js | 2 +- test/runtime/samples/assignment-in-init/_config.js | 2 +- test/runtime/samples/assignment-to-computed-property/_config.js | 2 +- test/runtime/samples/attribute-boolean-indeterminate/_config.js | 2 +- test/runtime/samples/attribute-namespaced/_config.js | 2 +- test/runtime/samples/attribute-static-at-symbol/_config.js | 2 +- test/runtime/samples/attribute-static-quotemarks/_config.js | 2 +- test/runtime/samples/attribute-unknown-without-value/_config.js | 2 +- test/runtime/samples/await-catch-shorthand/_config.js | 2 +- test/runtime/samples/await-component-oncreate/_config.js | 2 +- test/runtime/samples/await-conservative-update/_config.js | 2 +- test/runtime/samples/await-conservative-update/sleep.js | 2 +- test/runtime/samples/await-containing-if/_config.js | 2 +- test/runtime/samples/await-in-dynamic-component/_config.js | 2 +- test/runtime/samples/await-in-each/_config.js | 2 +- test/runtime/samples/await-in-removed-if/_config.js | 2 +- test/runtime/samples/await-set-simultaneous-reactive/_config.js | 2 +- test/runtime/samples/await-set-simultaneous/_config.js | 2 +- test/runtime/samples/await-then-catch-event/_config.js | 2 +- test/runtime/samples/await-then-catch-in-slot/_config.js | 2 +- test/runtime/samples/await-then-catch-multiple/_config.js | 2 +- test/runtime/samples/await-then-catch-non-promise/_config.js | 2 +- test/runtime/samples/await-then-catch-static/_config.js | 2 +- test/runtime/samples/await-then-catch/_config.js | 2 +- test/runtime/samples/await-then-if/_config.js | 2 +- test/runtime/samples/await-then-shorthand/_config.js | 2 +- test/runtime/samples/await-without-catch/_config.js | 2 +- test/runtime/samples/binding-indirect-computed/_config.js | 2 +- test/runtime/samples/binding-indirect/_config.js | 2 +- test/runtime/samples/binding-using-props/_config.js | 2 +- test/runtime/samples/bindings-before-onmount/_config.js | 2 +- test/runtime/samples/bindings-coalesced/_config.js | 2 +- test/runtime/samples/bindings-global-dependency/_config.js | 2 +- test/runtime/samples/bitmask-overflow-2/_config.js | 2 +- test/runtime/samples/bitmask-overflow-3/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot-2/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot-3/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot-4/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot-5/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot-6/_config.js | 2 +- test/runtime/samples/bitmask-overflow-slot/_config.js | 2 +- test/runtime/samples/bitmask-overflow/_config.js | 2 +- .../samples/component-name-deconflicted-globals/_config.js | 2 +- test/runtime/samples/component-name-deconflicted/_config.js | 2 +- test/runtime/samples/component-namespaced/_config.js | 2 +- test/runtime/samples/component-namespaced/components.js | 2 +- .../component-slot-named-inherits-default-lets/_config.js | 2 +- test/runtime/samples/context-api-b/_config.js | 2 +- test/runtime/samples/context-api/_config.js | 2 +- test/runtime/samples/context-in-await/_config.js | 2 +- test/runtime/samples/contextual-callback/_config.js | 2 +- test/runtime/samples/deconflict-builtins-2/_config.js | 2 +- test/runtime/samples/deconflict-builtins/_config.js | 2 +- test/runtime/samples/deconflict-builtins/get.js | 2 +- .../samples/deconflict-component-name-with-global/_config.js | 2 +- .../deconflict-component-name-with-module-global/_config.js | 2 +- test/runtime/samples/deconflict-component-refs/_config.js | 2 +- test/runtime/samples/deconflict-contexts/_config.js | 2 +- test/runtime/samples/deconflict-ctx/_config.js | 2 +- test/runtime/samples/deconflict-elements-indexes/_config.js | 2 +- test/runtime/samples/deconflict-spread-i/_config.js | 2 +- test/runtime/samples/destroy-twice/_config.js | 2 +- test/runtime/samples/destructuring-assignment-array/_config.js | 2 +- test/runtime/samples/destructuring-between-exports/_config.js | 2 +- test/runtime/samples/destructuring/_config.js | 2 +- test/runtime/samples/dev-warning-destroy-twice/_config.js | 2 +- test/runtime/samples/dev-warning-readonly-computed/_config.js | 2 +- .../samples/dev-warning-readonly-window-binding/_config.js | 2 +- .../samples/dynamic-component-bindings-recreated-b/_config.js | 2 +- .../samples/dynamic-component-bindings-recreated/_config.js | 2 +- test/runtime/samples/dynamic-component-bindings/_config.js | 2 +- test/runtime/samples/dynamic-component-destroy-null/_config.js | 2 +- test/runtime/samples/dynamic-component-events/_config.js | 2 +- test/runtime/samples/dynamic-component-in-if/_config.js | 2 +- .../runtime/samples/dynamic-component-inside-element/_config.js | 2 +- .../samples/dynamic-component-nulled-out-intro/_config.js | 2 +- test/runtime/samples/dynamic-component-nulled-out/_config.js | 2 +- test/runtime/samples/dynamic-component-slot/_config.js | 2 +- .../dynamic-component-update-existing-instance/_config.js | 2 +- test/runtime/samples/dynamic-component/_config.js | 2 +- test/runtime/samples/each-block-empty-outro/_config.js | 2 +- test/runtime/samples/element-source-location/_config.js | 2 +- test/runtime/samples/empty-dom/_config.js | 2 +- test/runtime/samples/flush-before-bindings/_config.js | 2 +- test/runtime/samples/flush-before-bindings/counter.js | 2 +- test/runtime/samples/function-expression-inline/_config.js | 2 +- test/runtime/samples/function-in-expression/_config.js | 2 +- test/runtime/samples/hash-in-attribute/_config.js | 2 +- test/runtime/samples/head-title-dynamic-simple/_config.js | 2 +- test/runtime/samples/head-title-dynamic/_config.js | 2 +- test/runtime/samples/head-title-empty/_config.js | 2 +- test/runtime/samples/head-title-static/_config.js | 2 +- test/runtime/samples/html-entities-inside-elements/_config.js | 2 +- test/runtime/samples/html-entities/_config.js | 2 +- .../samples/html-non-entities-inside-elements/_config.js | 2 +- test/runtime/samples/if-block-conservative-update/_config.js | 2 +- .../samples/if-block-else-conservative-update/_config.js | 2 +- .../samples/ignore-unchanged-attribute-compound/counter.js | 2 +- test/runtime/samples/ignore-unchanged-attribute/counter.js | 2 +- test/runtime/samples/ignore-unchanged-raw/counter.js | 2 +- test/runtime/samples/ignore-unchanged-tag/counter.js | 2 +- test/runtime/samples/inline-style-important/_config.js | 2 +- .../samples/inline-style-optimisation-bailout/_config.js | 2 +- test/runtime/samples/innerhtml-interpolated-literal/_config.js | 2 +- test/runtime/samples/innerhtml-with-comments/_config.js | 2 +- .../_config.js | 2 +- .../samples/instrumentation-script-destructuring/_config.js | 2 +- .../samples/instrumentation-script-loop-scope/_config.js | 2 +- .../instrumentation-script-multiple-assignments/_config.js | 2 +- test/runtime/samples/instrumentation-script-update/_config.js | 2 +- .../samples/instrumentation-template-destructuring/_config.js | 2 +- .../samples/instrumentation-template-loop-scope/_config.js | 2 +- .../instrumentation-template-multiple-assignments/_config.js | 2 +- test/runtime/samples/instrumentation-template-update/_config.js | 2 +- test/runtime/samples/invalidation-in-if-condition/_config.js | 2 +- test/runtime/samples/isolated-text/_config.js | 2 +- .../samples/lifecycle-render-order-for-children/order.js | 2 +- test/runtime/samples/lifecycle-render-order/order.js | 2 +- test/runtime/samples/module-context-export/_config.js | 2 +- .../samples/module-context-with-instance-script/_config.js | 2 +- test/runtime/samples/module-context/_config.js | 2 +- .../samples/mutation-tracking-across-sibling-scopes/_config.js | 2 +- test/runtime/samples/nbsp/_config.js | 2 +- test/runtime/samples/observable-auto-subscribe/_config.js | 2 +- test/runtime/samples/ondestroy-before-cleanup/_config.js | 2 +- test/runtime/samples/ondestroy-before-cleanup/container.js | 2 +- test/runtime/samples/ondestroy-deep/_config.js | 2 +- test/runtime/samples/ondestroy-deep/destroyed.js | 2 +- test/runtime/samples/onmount-sibling-order/result.js | 2 +- test/runtime/samples/option-without-select/_config.js | 2 +- test/runtime/samples/preload/_config.js | 2 +- test/runtime/samples/prop-const/_config.js | 2 +- test/runtime/samples/prop-not-action/_config.js | 2 +- test/runtime/samples/prop-quoted/_config.js | 2 +- test/runtime/samples/prop-subscribable/_config.js | 2 +- test/runtime/samples/prop-without-semicolon-b/_config.js | 2 +- test/runtime/samples/prop-without-semicolon/_config.js | 2 +- test/runtime/samples/props-reactive-b/_config.js | 2 +- test/runtime/samples/props-reactive/_config.js | 2 +- test/runtime/samples/props/_config.js | 2 +- .../samples/reactive-assignment-in-assignment-rhs/_config.js | 2 +- .../_config.js | 2 +- .../_config.js | 2 +- .../reactive-assignment-in-complex-declaration/_config.js | 2 +- .../samples/reactive-assignment-in-declaration/_config.js | 2 +- .../samples/reactive-assignment-in-for-loop-head/_config.js | 2 +- test/runtime/samples/reactive-block-break/_config.js | 2 +- test/runtime/samples/reactive-import-statement/data.js | 2 +- test/runtime/samples/script-style-non-top-level/_config.js | 2 +- test/runtime/samples/select-no-whitespace/_config.js | 2 +- test/runtime/samples/self-reference-component/_config.js | 2 +- test/runtime/samples/self-reference-tree/_config.js | 2 +- test/runtime/samples/self-reference/_config.js | 2 +- test/runtime/samples/semicolon-hoisting/_config.js | 2 +- test/runtime/samples/set-after-destroy/_config.js | 2 +- test/runtime/samples/set-null-text-node/_config.js | 2 +- test/runtime/samples/shorthand-method-in-template/_config.js | 2 +- test/runtime/samples/sigil-static-#/_config.js | 2 +- test/runtime/samples/sigil-static-@/_config.js | 2 +- test/runtime/samples/slot-in-custom-element/_config.js | 2 +- test/runtime/samples/state-deconflicted/_config.js | 2 +- .../samples/store-assignment-updates-property/_config.js | 2 +- .../samples/store-assignment-updates-reactive/_config.js | 2 +- test/runtime/samples/store-assignment-updates/_config.js | 2 +- .../store-auto-subscribe-immediate-multiple-vars/_config.js | 2 +- test/runtime/samples/store-auto-subscribe-immediate/_config.js | 2 +- test/runtime/samples/store-auto-subscribe-implicit/_config.js | 2 +- test/runtime/samples/store-auto-subscribe-in-each/_config.js | 2 +- .../store-auto-subscribe-in-reactive-declaration/_config.js | 2 +- test/runtime/samples/store-auto-subscribe-in-script/_config.js | 2 +- .../store-auto-subscribe-missing-global-script/_config.js | 2 +- .../store-auto-subscribe-missing-global-template/_config.js | 2 +- test/runtime/samples/store-auto-subscribe/_config.js | 2 +- test/runtime/samples/store-contextual/_config.js | 2 +- test/runtime/samples/store-dev-mode-error/_config.js | 2 +- test/runtime/samples/store-each-binding-deep/_config.js | 2 +- .../runtime/samples/store-each-binding-destructuring/_config.js | 2 +- test/runtime/samples/store-each-binding/_config.js | 2 +- test/runtime/samples/store-imported-module-b/_config.js | 2 +- test/runtime/samples/store-imported-module-b/foo.js | 2 +- test/runtime/samples/store-imported-module/_config.js | 2 +- test/runtime/samples/store-imported-module/foo.js | 2 +- test/runtime/samples/store-imported/_config.js | 2 +- test/runtime/samples/store-imported/foo.js | 2 +- test/runtime/samples/store-imports-hoisted/_config.js | 2 +- test/runtime/samples/store-imports-hoisted/foo.js | 2 +- .../samples/store-invalidation-while-update-1/_config.js | 2 +- .../samples/store-invalidation-while-update-2/_config.js | 2 +- test/runtime/samples/store-prevent-user-declarations/_config.js | 2 +- test/runtime/samples/store-resubscribe/_config.js | 2 +- test/runtime/samples/store-unreferenced/store.js | 2 +- test/runtime/samples/template/_config.js | 2 +- test/runtime/samples/textarea-children/_config.js | 2 +- test/runtime/samples/textarea-value/_config.js | 2 +- test/runtime/samples/transition-js-delay-in-out/_config.js | 2 +- test/runtime/samples/transition-js-delay/_config.js | 2 +- test/runtime/samples/transition-js-dynamic-component/_config.js | 2 +- .../samples/transition-js-dynamic-if-block-bidi/_config.js | 2 +- .../samples/transition-js-each-block-intro-outro/_config.js | 2 +- test/runtime/samples/transition-js-each-block-intro/_config.js | 2 +- .../transition-js-each-block-keyed-intro-outro/_config.js | 2 +- .../samples/transition-js-each-block-keyed-intro/_config.js | 2 +- .../samples/transition-js-each-block-keyed-outro/_config.js | 2 +- test/runtime/samples/transition-js-each-block-outro/_config.js | 2 +- .../transition-js-each-else-block-intro-outro/_config.js | 2 +- .../samples/transition-js-each-else-block-intro/_config.js | 2 +- .../samples/transition-js-each-else-block-outro/_config.js | 2 +- .../samples/transition-js-each-keyed-unchanged/_config.js | 2 +- test/runtime/samples/transition-js-each-unchanged/_config.js | 2 +- test/runtime/samples/transition-js-events-in-out/_config.js | 2 +- test/runtime/samples/transition-js-events/_config.js | 2 +- test/runtime/samples/transition-js-if-block-bidi/_config.js | 2 +- .../transition-js-if-block-in-each-block-bidi-2/_config.js | 2 +- .../transition-js-if-block-in-each-block-bidi-3/_config.js | 2 +- .../transition-js-if-block-in-each-block-bidi/_config.js | 2 +- .../samples/transition-js-if-block-intro-outro/_config.js | 2 +- test/runtime/samples/transition-js-if-block-intro/_config.js | 2 +- .../samples/transition-js-if-block-outro-timeout/_config.js | 2 +- .../transition-js-if-else-block-dynamic-outro/_config.js | 2 +- .../samples/transition-js-if-else-block-intro/_config.js | 2 +- .../samples/transition-js-if-else-block-outro/_config.js | 2 +- .../samples/transition-js-if-elseif-block-outro/_config.js | 2 +- test/runtime/samples/transition-js-nested-intro/_config.js | 2 +- test/runtime/samples/transition-js-slot/_config.js | 2 +- test/runtime/samples/whitespace-each-block/_config.js | 2 +- test/runtime/samples/whitespace-normal/_config.js | 2 +- test/runtime/samples/window-binding-resize/_config.js | 2 +- test/runtime/samples/window-event-context/_config.js | 2 +- test/runtime/samples/window-event/_config.js | 2 +- test/stats/samples/basic/_config.js | 2 +- test/validator/samples/each-block-multiple-children/_config.js | 2 +- test/validator/samples/event-modifiers-legacy/_config.js | 2 +- test/validator/samples/non-empty-block-dev/_config.js | 2 +- test/vars/samples/$$props-logicless/_config.js | 2 +- test/vars/samples/$$props/_config.js | 2 +- test/vars/samples/component-namespaced/_config.js | 2 +- test/vars/samples/imports/_config.js | 2 +- test/vars/samples/mutated-vs-reassigned-bindings/_config.js | 2 +- test/vars/samples/mutated-vs-reassigned/_config.js | 2 +- test/vars/samples/props/_config.js | 2 +- 353 files changed, 353 insertions(+), 353 deletions(-) diff --git a/package.json b/package.json index b93da0d5f4..240954773b 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@rollup/plugin-sucrase": "^3.0.0", "@rollup/plugin-typescript": "^2.0.1", "@rollup/plugin-virtual": "^2.0.0", - "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.2.0", + "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.4.0", "@types/mocha": "^7.0.0", "@types/node": "^8.10.53", "@typescript-eslint/eslint-plugin": "^3.0.2", diff --git a/src/compiler/compile/css/gather_possible_values.ts b/src/compiler/compile/css/gather_possible_values.ts index 85f2e032c8..4390e23c8d 100644 --- a/src/compiler/compile/css/gather_possible_values.ts +++ b/src/compiler/compile/css/gather_possible_values.ts @@ -15,4 +15,4 @@ export function gather_possible_values(node: Node, set: Set) { else { set.add(UNKNOWN); } -} \ No newline at end of file +} diff --git a/src/compiler/compile/css/interfaces.ts b/src/compiler/compile/css/interfaces.ts index 103bc18d79..b732186de4 100644 --- a/src/compiler/compile/css/interfaces.ts +++ b/src/compiler/compile/css/interfaces.ts @@ -3,4 +3,4 @@ export interface CssNode { start: number; end: number; [prop_name: string]: any; -} \ No newline at end of file +} diff --git a/src/compiler/compile/nodes/Action.ts b/src/compiler/compile/nodes/Action.ts index dc6f080b71..edd2a8d97a 100644 --- a/src/compiler/compile/nodes/Action.ts +++ b/src/compiler/compile/nodes/Action.ts @@ -23,4 +23,4 @@ export default class Action extends Node { this.uses_context = this.expression && this.expression.uses_context; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/nodes/Animation.ts b/src/compiler/compile/nodes/Animation.ts index 66363a5d3b..88c9175d04 100644 --- a/src/compiler/compile/nodes/Animation.ts +++ b/src/compiler/compile/nodes/Animation.ts @@ -37,4 +37,4 @@ export default class Animation extends Node { ? new Expression(component, this, scope, info.expression, true) : null; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/nodes/Class.ts b/src/compiler/compile/nodes/Class.ts index 75000371d9..8d3ee1f265 100644 --- a/src/compiler/compile/nodes/Class.ts +++ b/src/compiler/compile/nodes/Class.ts @@ -15,4 +15,4 @@ export default class Class extends Node { ? new Expression(component, this, scope, info.expression) : null; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/nodes/Comment.ts b/src/compiler/compile/nodes/Comment.ts index 161150bd25..c9b4d548bf 100644 --- a/src/compiler/compile/nodes/Comment.ts +++ b/src/compiler/compile/nodes/Comment.ts @@ -14,4 +14,4 @@ export default class Comment extends Node { const match = pattern.exec(this.data); this.ignores = match ? match[1].split(/[^\S]/).map(x => x.trim()).filter(Boolean) : []; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/nodes/Transition.ts b/src/compiler/compile/nodes/Transition.ts index a01931d63c..7e9f335e24 100644 --- a/src/compiler/compile/nodes/Transition.ts +++ b/src/compiler/compile/nodes/Transition.ts @@ -43,4 +43,4 @@ function describe(transition: Transition) { return transition.directive === 'transition' ? "a 'transition'" : `an '${transition.directive}'`; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/Block.ts b/src/compiler/compile/render_dom/Block.ts index 1562635d07..1352464d4e 100644 --- a/src/compiler/compile/render_dom/Block.ts +++ b/src/compiler/compile/render_dom/Block.ts @@ -486,4 +486,4 @@ export default class Block { } } } -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/invalidate.ts b/src/compiler/compile/render_dom/invalidate.ts index b891b48cb5..f88c566d96 100644 --- a/src/compiler/compile/render_dom/invalidate.ts +++ b/src/compiler/compile/render_dom/invalidate.ts @@ -78,4 +78,4 @@ export function invalidate(renderer: Renderer, scope: Scope, node: Node, names: } return invalidate; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts b/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts index 258376c375..22cb755e51 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/Attribute.ts @@ -387,4 +387,4 @@ function is_indirectly_bound_value(attribute: AttributeWrapper) { (binding) => /checked|group/.test(binding.name) ))); -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/Text.ts b/src/compiler/compile/render_dom/wrappers/Text.ts index 7ef8aebd70..daa3ccfd20 100644 --- a/src/compiler/compile/render_dom/wrappers/Text.ts +++ b/src/compiler/compile/render_dom/wrappers/Text.ts @@ -51,4 +51,4 @@ export default class TextWrapper extends Wrapper { parent_node as Identifier ); } -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/shared/Tag.ts b/src/compiler/compile/render_dom/wrappers/shared/Tag.ts index 10e2a4a18d..8d73b0329d 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/Tag.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/Tag.ts @@ -56,4 +56,4 @@ export default class Tag extends Wrapper { return { init: content }; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts b/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts index c3aa04960e..1b8c4f9db8 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts @@ -94,4 +94,4 @@ export default function bind_this(component: Component, block: Block, binding: B block.chunks.destroy.push(b`${callee}(null);`); return b`${callee}(${variable});`; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.ts b/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.ts index 2abea5a68e..2279c7c845 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.ts @@ -112,4 +112,4 @@ export function get_slot_definition(block: Block, scope: TemplateScope, lets: Le get_context: x`${context_input} => ${context}`, get_changes: x`${changes_input} => ${changes}` }; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.ts b/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.ts index aca2096154..01283943d4 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.ts @@ -9,4 +9,4 @@ export default function is_dynamic(variable: Var) { } return false; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_dom/wrappers/shared/is_head.ts b/src/compiler/compile/render_dom/wrappers/shared/is_head.ts index ebc6e27548..36bf571aad 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/is_head.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/is_head.ts @@ -1,3 +1,3 @@ export function is_head(node) { return node && node.type === 'MemberExpression' && node.object.name === '@_document' && node.property.name === 'head'; -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_ssr/handlers/InlineComponent.ts b/src/compiler/compile/render_ssr/handlers/InlineComponent.ts index 071495eada..e5afbf59cc 100644 --- a/src/compiler/compile/render_ssr/handlers/InlineComponent.ts +++ b/src/compiler/compile/render_ssr/handlers/InlineComponent.ts @@ -106,4 +106,4 @@ function is_empty_template_literal(template_literal) { template_literal.quasis.length === 1 && template_literal.quasis[0].value.raw === '' ); -} \ No newline at end of file +} diff --git a/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.ts b/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.ts index bfde4cc195..1d1a5412a2 100644 --- a/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.ts +++ b/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.ts @@ -18,4 +18,4 @@ export function get_slot_scope(lets: Let[]): ObjectPattern { }; }) }; -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/flatten_reference.ts b/src/compiler/compile/utils/flatten_reference.ts index 6715e68482..b95536d76f 100644 --- a/src/compiler/compile/utils/flatten_reference.ts +++ b/src/compiler/compile/utils/flatten_reference.ts @@ -36,4 +36,4 @@ function to_string(node: Node) { case 'Identifier': return node.name; } -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/get_name_from_filename.ts b/src/compiler/compile/utils/get_name_from_filename.ts index d144c1749b..b05605b5ee 100644 --- a/src/compiler/compile/utils/get_name_from_filename.ts +++ b/src/compiler/compile/utils/get_name_from_filename.ts @@ -24,4 +24,4 @@ export default function get_name_from_filename(filename: string) { } return base[0].toUpperCase() + base.slice(1); -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/get_slot_data.ts b/src/compiler/compile/utils/get_slot_data.ts index a118d52023..c7f70aa488 100644 --- a/src/compiler/compile/utils/get_slot_data.ts +++ b/src/compiler/compile/utils/get_slot_data.ts @@ -28,4 +28,4 @@ function get_value(block: Block, attribute: Attribute) { } return value; -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/hash.ts b/src/compiler/compile/utils/hash.ts index 4ead475dbc..c0ea2b3d88 100644 --- a/src/compiler/compile/utils/hash.ts +++ b/src/compiler/compile/utils/hash.ts @@ -6,4 +6,4 @@ export default function hash(str: string): string { while (i--) hash = ((hash << 5) - hash) ^ str.charCodeAt(i); return (hash >>> 0).toString(36); -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/replace_object.ts b/src/compiler/compile/utils/replace_object.ts index 42bfa611ec..2de1dbc24a 100644 --- a/src/compiler/compile/utils/replace_object.ts +++ b/src/compiler/compile/utils/replace_object.ts @@ -11,4 +11,4 @@ export default function replace_object(node: Node, replacement: Node) { } parent.object = replacement; return ancestor; -} \ No newline at end of file +} diff --git a/src/compiler/compile/utils/reserved_keywords.ts b/src/compiler/compile/utils/reserved_keywords.ts index 2a9375233b..a68819a493 100644 --- a/src/compiler/compile/utils/reserved_keywords.ts +++ b/src/compiler/compile/utils/reserved_keywords.ts @@ -2,4 +2,4 @@ export const reserved_keywords = new Set(['$$props', '$$restProps', '$$slots']); export function is_reserved_keyword(name) { return reserved_keywords.has(name); -} \ No newline at end of file +} diff --git a/src/compiler/config.ts b/src/compiler/config.ts index e37ef1aaee..e6d0f65a76 100644 --- a/src/compiler/config.ts +++ b/src/compiler/config.ts @@ -1 +1 @@ -export const test = typeof process !== 'undefined' && process.env.TEST; \ No newline at end of file +export const test = typeof process !== 'undefined' && process.env.TEST; diff --git a/src/compiler/parse/acorn.ts b/src/compiler/parse/acorn.ts index 58031c1a1c..bab8de7ce4 100644 --- a/src/compiler/parse/acorn.ts +++ b/src/compiler/parse/acorn.ts @@ -11,4 +11,4 @@ export const parse_expression_at = (source: string, index: number): Node => code sourceType: 'module', ecmaVersion: 12, locations: true -}); \ No newline at end of file +}); diff --git a/src/compiler/parse/utils/bracket.ts b/src/compiler/parse/utils/bracket.ts index de24cbf8ba..30e522c305 100644 --- a/src/compiler/parse/utils/bracket.ts +++ b/src/compiler/parse/utils/bracket.ts @@ -25,4 +25,4 @@ export function get_bracket_close(open) { if (open === CURLY_BRACKET_OPEN) { return CURLY_BRACKET_CLOSE; } -} \ No newline at end of file +} diff --git a/src/compiler/utils/error.ts b/src/compiler/utils/error.ts index e05ea66df1..882ff54ebe 100644 --- a/src/compiler/utils/error.ts +++ b/src/compiler/utils/error.ts @@ -37,4 +37,4 @@ export default function error(message: string, props: { error.frame = get_code_frame(props.source, start.line - 1, start.column); throw error; -} \ No newline at end of file +} diff --git a/src/compiler/utils/full_char_code_at.ts b/src/compiler/utils/full_char_code_at.ts index b5187693eb..0469b537fc 100644 --- a/src/compiler/utils/full_char_code_at.ts +++ b/src/compiler/utils/full_char_code_at.ts @@ -7,4 +7,4 @@ export default function full_char_code_at(str: string, i: number): number { const next = str.charCodeAt(i + 1); return (code << 10) + next - 0x35fdc00; -} \ No newline at end of file +} diff --git a/src/compiler/utils/nodes_match.ts b/src/compiler/utils/nodes_match.ts index 2b6f998c19..ff841d5f02 100644 --- a/src/compiler/utils/nodes_match.ts +++ b/src/compiler/utils/nodes_match.ts @@ -29,4 +29,4 @@ export function nodes_match(a, b) { } return a === b; -} \ No newline at end of file +} diff --git a/src/runtime/internal/spread.ts b/src/runtime/internal/spread.ts index 203b0b11e9..2acb98fd3f 100644 --- a/src/runtime/internal/spread.ts +++ b/src/runtime/internal/spread.ts @@ -38,4 +38,4 @@ export function get_spread_update(levels, updates) { export function get_spread_object(spread_props) { return typeof spread_props === 'object' && spread_props !== null ? spread_props : {}; -} \ No newline at end of file +} diff --git a/src/runtime/internal/ssr.ts b/src/runtime/internal/ssr.ts index 6f1cdedd8a..2d843abb2f 100644 --- a/src/runtime/internal/ssr.ts +++ b/src/runtime/internal/ssr.ts @@ -134,4 +134,4 @@ export function add_attribute(name, value, boolean) { export function add_classes(classes) { return classes ? ` class="${classes}"` : ''; -} \ No newline at end of file +} diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index 0f97d1341a..09040487f0 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -201,4 +201,4 @@ export function derived(stores: Stores, fn: Function, initial_value?: T): Rea * Get the current value from a store by subscribing and immediately unsubscribing. * @param store readable */ -export { get_store_value as get }; \ No newline at end of file +export { get_store_value as get }; diff --git a/test/css/index.ts b/test/css/index.ts index c12418353d..65b43322b1 100644 --- a/test/css/index.ts +++ b/test/css/index.ts @@ -156,4 +156,4 @@ function read(file) { } catch (err) { return null; } -} \ No newline at end of file +} diff --git a/test/css/samples/empty-class/_config.js b/test/css/samples/empty-class/_config.js index 725d805d65..ef5c5c1cc5 100644 --- a/test/css/samples/empty-class/_config.js +++ b/test/css/samples/empty-class/_config.js @@ -22,4 +22,4 @@ export default { 5: color: red; 6: }` }] -}; \ No newline at end of file +}; diff --git a/test/css/samples/empty-rule-dev/_config.js b/test/css/samples/empty-rule-dev/_config.js index bdadb774d1..5b9d5ecf1a 100644 --- a/test/css/samples/empty-rule-dev/_config.js +++ b/test/css/samples/empty-rule-dev/_config.js @@ -2,4 +2,4 @@ export default { compileOptions: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/css/samples/nested/_config.js b/test/css/samples/nested/_config.js index e90f873ac1..5678e73bed 100644 --- a/test/css/samples/nested/_config.js +++ b/test/css/samples/nested/_config.js @@ -2,4 +2,4 @@ export default { props: { dynamic: 'x' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js index 2e954ca8e9..f0dad3b273 100644 --- a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js +++ b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js @@ -2,4 +2,4 @@ export default { props: { dynamic: 'whatever' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js b/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js b/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js b/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js b/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js b/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-descendant/_config.js b/test/css/samples/omit-scoping-attribute-descendant/_config.js index b69a9041a5..4b70a48802 100644 --- a/test/css/samples/omit-scoping-attribute-descendant/_config.js +++ b/test/css/samples/omit-scoping-attribute-descendant/_config.js @@ -21,4 +21,4 @@ export default { 9: color: red; 10: }` }] -}; \ No newline at end of file +}; diff --git a/test/css/samples/omit-scoping-attribute-global/_config.js b/test/css/samples/omit-scoping-attribute-global/_config.js index 1ae834ca0d..50317168a6 100644 --- a/test/css/samples/omit-scoping-attribute-global/_config.js +++ b/test/css/samples/omit-scoping-attribute-global/_config.js @@ -2,4 +2,4 @@ export default { props: { raw: '

raw

' } -}; \ No newline at end of file +}; diff --git a/test/css/samples/unused-selector-leading/_config.js b/test/css/samples/unused-selector-leading/_config.js index 487e704c92..8d1c41af1c 100644 --- a/test/css/samples/unused-selector-leading/_config.js +++ b/test/css/samples/unused-selector-leading/_config.js @@ -48,4 +48,4 @@ export default { 6: }` } ] -}; \ No newline at end of file +}; diff --git a/test/css/samples/unused-selector-ternary/_config.js b/test/css/samples/unused-selector-ternary/_config.js index 95b09ab891..7009e60cc0 100644 --- a/test/css/samples/unused-selector-ternary/_config.js +++ b/test/css/samples/unused-selector-ternary/_config.js @@ -26,4 +26,4 @@ export default { 17: color: green; 18: }` }] -}; \ No newline at end of file +}; diff --git a/test/css/samples/unused-selector/_config.js b/test/css/samples/unused-selector/_config.js index b3acb2c78e..ed1a2032ca 100644 --- a/test/css/samples/unused-selector/_config.js +++ b/test/css/samples/unused-selector/_config.js @@ -22,4 +22,4 @@ export default { 9: color: blue; 10: }` }] -}; \ No newline at end of file +}; diff --git a/test/custom-elements/assert.js b/test/custom-elements/assert.js index 0edbd31124..b8add0dadc 100644 --- a/test/custom-elements/assert.js +++ b/test/custom-elements/assert.js @@ -30,4 +30,4 @@ export function equal(a, b, message) { export function ok(condition, message) { if (!condition) throw new Error(message || `Expected ${condition} to be truthy`); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/custom-method/test.js b/test/custom-elements/samples/custom-method/test.js index e274786079..08c58c3383 100644 --- a/test/custom-elements/samples/custom-method/test.js +++ b/test/custom-elements/samples/custom-method/test.js @@ -9,4 +9,4 @@ export default async function (target) { const p = el.shadowRoot.querySelector('p'); assert.equal(p.textContent, '42'); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/escaped-css/test.js b/test/custom-elements/samples/escaped-css/test.js index 3696ee8c1b..6277ccba32 100644 --- a/test/custom-elements/samples/escaped-css/test.js +++ b/test/custom-elements/samples/escaped-css/test.js @@ -10,4 +10,4 @@ export default function (target) { const before = getComputedStyle(icon, '::before'); assert.equal(before.content, JSON.stringify(String.fromCharCode(0xff))); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/extended-builtin/custom-button.js b/test/custom-elements/samples/extended-builtin/custom-button.js index 9134b2af9f..19fe4aa0e7 100644 --- a/test/custom-elements/samples/extended-builtin/custom-button.js +++ b/test/custom-elements/samples/extended-builtin/custom-button.js @@ -1,2 +1,2 @@ class CustomButton extends HTMLButtonElement {} -customElements.define('custom-button', CustomButton, { extends: 'button' }); \ No newline at end of file +customElements.define('custom-button', CustomButton, { extends: 'button' }); diff --git a/test/custom-elements/samples/extended-builtin/test.js b/test/custom-elements/samples/extended-builtin/test.js index 3886ae1149..a2f253e5d4 100644 --- a/test/custom-elements/samples/extended-builtin/test.js +++ b/test/custom-elements/samples/extended-builtin/test.js @@ -12,4 +12,4 @@ export default function (target) { const button = el.shadowRoot.querySelector('button'); assert.ok(button instanceof customElements.get('custom-button')); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/html-slots/test.js b/test/custom-elements/samples/html-slots/test.js index bb38a83eab..06d18d9944 100644 --- a/test/custom-elements/samples/html-slots/test.js +++ b/test/custom-elements/samples/html-slots/test.js @@ -14,4 +14,4 @@ export default function (target) { assert.equal(slot0.assignedNodes()[1], target.querySelector('strong')); assert.equal(slot1.assignedNodes().length, 0); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/html/test.js b/test/custom-elements/samples/html/test.js index 1638ead784..4e38fd6c2d 100644 --- a/test/custom-elements/samples/html/test.js +++ b/test/custom-elements/samples/html/test.js @@ -9,4 +9,4 @@ export default function (target) { const h1 = el.shadowRoot.querySelector('h1'); assert.equal(h1.textContent, 'Hello world!'); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/nested.skip/test.js b/test/custom-elements/samples/nested.skip/test.js index 0052e19ad0..09edc38f54 100644 --- a/test/custom-elements/samples/nested.skip/test.js +++ b/test/custom-elements/samples/nested.skip/test.js @@ -14,4 +14,4 @@ export default async function (target) { assert.equal(counter.count, 1); assert.equal(counter.shadowRoot.innerHTML, ''); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/new-styled/test.js b/test/custom-elements/samples/new-styled/test.js index f027121009..72c2cecd10 100644 --- a/test/custom-elements/samples/new-styled/test.js +++ b/test/custom-elements/samples/new-styled/test.js @@ -16,4 +16,4 @@ export default function (target) { assert.equal(getComputedStyle(unstyled).color, 'rgb(0, 0, 0)'); assert.equal(getComputedStyle(styled).color, 'rgb(255, 0, 0)'); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/new/test.js b/test/custom-elements/samples/new/test.js index 1137495e35..88ba69ab69 100644 --- a/test/custom-elements/samples/new/test.js +++ b/test/custom-elements/samples/new/test.js @@ -15,4 +15,4 @@ export default function (target) { const h1 = el.shadowRoot.querySelector('h1'); assert.equal(h1.textContent, 'Hello world!'); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/no-missing-prop-warnings/_config.js b/test/custom-elements/samples/no-missing-prop-warnings/_config.js index e26996239d..083edcd210 100644 --- a/test/custom-elements/samples/no-missing-prop-warnings/_config.js +++ b/test/custom-elements/samples/no-missing-prop-warnings/_config.js @@ -1,3 +1,3 @@ export default { dev: true -}; \ No newline at end of file +}; diff --git a/test/custom-elements/samples/no-missing-prop-warnings/test.js b/test/custom-elements/samples/no-missing-prop-warnings/test.js index c3296afde0..6f15b63920 100644 --- a/test/custom-elements/samples/no-missing-prop-warnings/test.js +++ b/test/custom-elements/samples/no-missing-prop-warnings/test.js @@ -16,4 +16,4 @@ export default function (target) { ]); console.warn = warn; -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/oncreate/test.js b/test/custom-elements/samples/oncreate/test.js index 11d76078f2..c33f8a6a10 100644 --- a/test/custom-elements/samples/oncreate/test.js +++ b/test/custom-elements/samples/oncreate/test.js @@ -5,4 +5,4 @@ export default function (target) { target.innerHTML = ''; const el = target.querySelector('my-app'); assert.ok(el.wasCreated); -} \ No newline at end of file +} diff --git a/test/custom-elements/samples/props/test.js b/test/custom-elements/samples/props/test.js index 9c7e44c3a3..fc8c01c623 100644 --- a/test/custom-elements/samples/props/test.js +++ b/test/custom-elements/samples/props/test.js @@ -20,4 +20,4 @@ export default function (target) { assert.equal(p1.textContent, '5 items'); assert.equal(p2.textContent, 'd, e, f, g, h'); -} \ No newline at end of file +} diff --git a/test/helpers.ts b/test/helpers.ts index 6452dbae1a..78f000c274 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -259,4 +259,4 @@ export function mkdirp(dir) { } catch (err) { // do nothing } -} \ No newline at end of file +} diff --git a/test/hydration/samples/basic/_config.js b/test/hydration/samples/basic/_config.js index 79d91d0d8a..81d01322e4 100644 --- a/test/hydration/samples/basic/_config.js +++ b/test/hydration/samples/basic/_config.js @@ -14,4 +14,4 @@ export default { assert.equal(h1, snapshot.h1); assert.equal(h1.childNodes[0], snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/binding-input/_config.js b/test/hydration/samples/binding-input/_config.js index 9004d06490..ac3a6be43a 100644 --- a/test/hydration/samples/binding-input/_config.js +++ b/test/hydration/samples/binding-input/_config.js @@ -26,4 +26,4 @@ export default {

Hello everybody!

`); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/component-in-element/_config.js b/test/hydration/samples/component-in-element/_config.js index 790b026400..557fe068c4 100644 --- a/test/hydration/samples/component-in-element/_config.js +++ b/test/hydration/samples/component-in-element/_config.js @@ -18,4 +18,4 @@ export default { assert.equal(p, snapshot.p); assert.equal(p.childNodes[0], snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/component/_config.js b/test/hydration/samples/component/_config.js index c26b3c7ad0..4435b2f86e 100644 --- a/test/hydration/samples/component/_config.js +++ b/test/hydration/samples/component/_config.js @@ -14,4 +14,4 @@ export default { assert.equal(p, snapshot.p); assert.equal(p.childNodes[0], snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/dynamic-text-changed/_config.js b/test/hydration/samples/dynamic-text-changed/_config.js index 467aef49ac..c42e251464 100644 --- a/test/hydration/samples/dynamic-text-changed/_config.js +++ b/test/hydration/samples/dynamic-text-changed/_config.js @@ -18,4 +18,4 @@ export default { assert.equal(h1, snapshot.h1); assert.equal(h1.childNodes[0], snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/dynamic-text/_config.js b/test/hydration/samples/dynamic-text/_config.js index a7f0fc3d8b..47e095d4ca 100644 --- a/test/hydration/samples/dynamic-text/_config.js +++ b/test/hydration/samples/dynamic-text/_config.js @@ -18,4 +18,4 @@ export default { assert.equal(h1, snapshot.h1); assert.equal(h1.childNodes[0], snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/each-block/_config.js b/test/hydration/samples/each-block/_config.js index 5c58a4c232..81f0a75831 100644 --- a/test/hydration/samples/each-block/_config.js +++ b/test/hydration/samples/each-block/_config.js @@ -26,4 +26,4 @@ export default { assert.equal(lis[1], snapshot.lis[1]); assert.equal(lis[2], snapshot.lis[2]); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-attribute-added/_config.js b/test/hydration/samples/element-attribute-added/_config.js index fb4a90bd3d..a662743c2c 100644 --- a/test/hydration/samples/element-attribute-added/_config.js +++ b/test/hydration/samples/element-attribute-added/_config.js @@ -16,4 +16,4 @@ export default { assert.equal(div, snapshot.div); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-attribute-changed/_config.js b/test/hydration/samples/element-attribute-changed/_config.js index 05881f748f..d402e35d7b 100644 --- a/test/hydration/samples/element-attribute-changed/_config.js +++ b/test/hydration/samples/element-attribute-changed/_config.js @@ -16,4 +16,4 @@ export default { assert.equal(div, snapshot.div); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-attribute-removed/_config.js b/test/hydration/samples/element-attribute-removed/_config.js index 05881f748f..d402e35d7b 100644 --- a/test/hydration/samples/element-attribute-removed/_config.js +++ b/test/hydration/samples/element-attribute-removed/_config.js @@ -16,4 +16,4 @@ export default { assert.equal(div, snapshot.div); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-attribute-unchanged/_config.js b/test/hydration/samples/element-attribute-unchanged/_config.js index d41f5db0fb..d9d220b6e5 100644 --- a/test/hydration/samples/element-attribute-unchanged/_config.js +++ b/test/hydration/samples/element-attribute-unchanged/_config.js @@ -12,4 +12,4 @@ export default { assert.equal(div, snapshot.div); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-nested/_config.js b/test/hydration/samples/element-nested/_config.js index 0965bc39c6..cd34008c04 100644 --- a/test/hydration/samples/element-nested/_config.js +++ b/test/hydration/samples/element-nested/_config.js @@ -14,4 +14,4 @@ export default { assert.equal(div, snapshot.div); assert.equal(div.querySelector('p'), snapshot.p); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/element-ref/_config.js b/test/hydration/samples/element-ref/_config.js index 3182207293..80d681f7c5 100644 --- a/test/hydration/samples/element-ref/_config.js +++ b/test/hydration/samples/element-ref/_config.js @@ -13,4 +13,4 @@ export default { assert.equal(h1, snapshot.h1); assert.equal(component.h1, h1); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/event-handler/_config.js b/test/hydration/samples/event-handler/_config.js index cdf7431836..027b2bd15b 100644 --- a/test/hydration/samples/event-handler/_config.js +++ b/test/hydration/samples/event-handler/_config.js @@ -23,4 +23,4 @@ export default {

clicked!

`); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/if-block-anchor/_config.js b/test/hydration/samples/if-block-anchor/_config.js index ee5ed39ad9..ab519c913b 100644 --- a/test/hydration/samples/if-block-anchor/_config.js +++ b/test/hydration/samples/if-block-anchor/_config.js @@ -23,4 +23,4 @@ export default { assert.equal(ps[0], snapshot.p0); assert.equal(ps[1], snapshot.p1); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/if-block-false/_config.js b/test/hydration/samples/if-block-false/_config.js index 6be30614f8..a11d800e45 100644 --- a/test/hydration/samples/if-block-false/_config.js +++ b/test/hydration/samples/if-block-false/_config.js @@ -16,4 +16,4 @@ export default { assert.equal(p, snapshot.p); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/if-block-update/_config.js b/test/hydration/samples/if-block-update/_config.js index 260ae62d53..fb4a723145 100644 --- a/test/hydration/samples/if-block-update/_config.js +++ b/test/hydration/samples/if-block-update/_config.js @@ -21,4 +21,4 @@ export default { component.bar = true; assert.htmlEqual(target.innerHTML, '

bar!

'); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/if-block/_config.js b/test/hydration/samples/if-block/_config.js index 7aca2ce55d..bd89748dc0 100644 --- a/test/hydration/samples/if-block/_config.js +++ b/test/hydration/samples/if-block/_config.js @@ -16,4 +16,4 @@ export default { assert.equal(p, snapshot.p); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/raw/_config.js b/test/hydration/samples/raw/_config.js index a43f634906..f4fb2889cd 100644 --- a/test/hydration/samples/raw/_config.js +++ b/test/hydration/samples/raw/_config.js @@ -24,4 +24,4 @@ export default { assert.equal(ps[1], snapshot.p1); assert.equal(ps[1].firstChild, snapshot.text1); } -}; \ No newline at end of file +}; diff --git a/test/hydration/samples/top-level-text/_config.js b/test/hydration/samples/top-level-text/_config.js index e8a81e7ca1..2ccf126555 100644 --- a/test/hydration/samples/top-level-text/_config.js +++ b/test/hydration/samples/top-level-text/_config.js @@ -10,4 +10,4 @@ export default { assert.equal(text, snapshot.text); } -}; \ No newline at end of file +}; diff --git a/test/js/samples/capture-inject-dev-only/_config.js b/test/js/samples/capture-inject-dev-only/_config.js index 1e0819f22e..1f2b217a9a 100644 --- a/test/js/samples/capture-inject-dev-only/_config.js +++ b/test/js/samples/capture-inject-dev-only/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: false } -}; \ No newline at end of file +}; diff --git a/test/js/samples/component-static-immutable/_config.js b/test/js/samples/component-static-immutable/_config.js index 06713941e0..e9026d8223 100644 --- a/test/js/samples/component-static-immutable/_config.js +++ b/test/js/samples/component-static-immutable/_config.js @@ -2,4 +2,4 @@ export default { options: { immutable: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/component-static-immutable2/_config.js b/test/js/samples/component-static-immutable2/_config.js index 06713941e0..e9026d8223 100644 --- a/test/js/samples/component-static-immutable2/_config.js +++ b/test/js/samples/component-static-immutable2/_config.js @@ -2,4 +2,4 @@ export default { options: { immutable: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/component-store-file-invalidate/store.js b/test/js/samples/component-store-file-invalidate/store.js index 99e27e5584..b799c0ffc4 100644 --- a/test/js/samples/component-store-file-invalidate/store.js +++ b/test/js/samples/component-store-file-invalidate/store.js @@ -1,3 +1,3 @@ import { writable } from '../../../../store'; -export const count = writable(0); \ No newline at end of file +export const count = writable(0); diff --git a/test/js/samples/css-shadow-dom-keyframes/_config.js b/test/js/samples/css-shadow-dom-keyframes/_config.js index 735dd07e62..e8a05d399c 100644 --- a/test/js/samples/css-shadow-dom-keyframes/_config.js +++ b/test/js/samples/css-shadow-dom-keyframes/_config.js @@ -2,4 +2,4 @@ export default { options: { customElement: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/debug-empty/_config.js b/test/js/samples/debug-empty/_config.js index b1f2518e8a..414b026a97 100644 --- a/test/js/samples/debug-empty/_config.js +++ b/test/js/samples/debug-empty/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/debug-foo-bar-baz-things/_config.js b/test/js/samples/debug-foo-bar-baz-things/_config.js index b1f2518e8a..414b026a97 100644 --- a/test/js/samples/debug-foo-bar-baz-things/_config.js +++ b/test/js/samples/debug-foo-bar-baz-things/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/debug-foo/_config.js b/test/js/samples/debug-foo/_config.js index b1f2518e8a..414b026a97 100644 --- a/test/js/samples/debug-foo/_config.js +++ b/test/js/samples/debug-foo/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/debug-no-dependencies/_config.js b/test/js/samples/debug-no-dependencies/_config.js index b1f2518e8a..414b026a97 100644 --- a/test/js/samples/debug-no-dependencies/_config.js +++ b/test/js/samples/debug-no-dependencies/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/debug-ssr-foo/_config.js b/test/js/samples/debug-ssr-foo/_config.js index 39bfbe7e62..c4070b9a3b 100644 --- a/test/js/samples/debug-ssr-foo/_config.js +++ b/test/js/samples/debug-ssr-foo/_config.js @@ -3,4 +3,4 @@ export default { generate: 'ssr', dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/dev-warning-missing-data-computed/_config.js b/test/js/samples/dev-warning-missing-data-computed/_config.js index b1f2518e8a..414b026a97 100644 --- a/test/js/samples/dev-warning-missing-data-computed/_config.js +++ b/test/js/samples/dev-warning-missing-data-computed/_config.js @@ -2,4 +2,4 @@ export default { options: { dev: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/hydrated-void-element/_config.js b/test/js/samples/hydrated-void-element/_config.js index 84c0d733ef..af1bf11a52 100644 --- a/test/js/samples/hydrated-void-element/_config.js +++ b/test/js/samples/hydrated-void-element/_config.js @@ -2,4 +2,4 @@ export default { options: { hydratable: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/legacy-input-type/_config.js b/test/js/samples/legacy-input-type/_config.js index b5141be9ab..67924a4ffe 100644 --- a/test/js/samples/legacy-input-type/_config.js +++ b/test/js/samples/legacy-input-type/_config.js @@ -2,4 +2,4 @@ export default { options: { legacy: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/src-attribute-check/_config.js b/test/js/samples/src-attribute-check/_config.js index 84c0d733ef..af1bf11a52 100644 --- a/test/js/samples/src-attribute-check/_config.js +++ b/test/js/samples/src-attribute-check/_config.js @@ -2,4 +2,4 @@ export default { options: { hydratable: true } -}; \ No newline at end of file +}; diff --git a/test/js/samples/ssr-no-oncreate-etc/_config.js b/test/js/samples/ssr-no-oncreate-etc/_config.js index 803712adec..bee4ab630c 100644 --- a/test/js/samples/ssr-no-oncreate-etc/_config.js +++ b/test/js/samples/ssr-no-oncreate-etc/_config.js @@ -2,4 +2,4 @@ export default { options: { generate: 'ssr' } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/dependencies/_config.js b/test/preprocess/samples/dependencies/_config.js index fa2d8b40c9..4656cd98f9 100644 --- a/test/preprocess/samples/dependencies/_config.js +++ b/test/preprocess/samples/dependencies/_config.js @@ -12,4 +12,4 @@ export default { }, dependencies: ['./foo.css'] -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/filename/_config.js b/test/preprocess/samples/filename/_config.js index c71cdafcac..2656a835d7 100644 --- a/test/preprocess/samples/filename/_config.js +++ b/test/preprocess/samples/filename/_config.js @@ -17,4 +17,4 @@ export default { }; } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/ignores-null/_config.js b/test/preprocess/samples/ignores-null/_config.js index 042ee89aed..08ba71c748 100644 --- a/test/preprocess/samples/ignores-null/_config.js +++ b/test/preprocess/samples/ignores-null/_config.js @@ -2,4 +2,4 @@ export default { preprocess: { script: () => null } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/markup/_config.js b/test/preprocess/samples/markup/_config.js index 857da608af..13044d4132 100644 --- a/test/preprocess/samples/markup/_config.js +++ b/test/preprocess/samples/markup/_config.js @@ -6,4 +6,4 @@ export default { }; } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/multiple-preprocessors/_config.js b/test/preprocess/samples/multiple-preprocessors/_config.js index 8a57567f6b..d6226203cc 100644 --- a/test/preprocess/samples/multiple-preprocessors/_config.js +++ b/test/preprocess/samples/multiple-preprocessors/_config.js @@ -11,4 +11,4 @@ export default { style: ({ content }) => ({ code: content.replace(/three/g, 'four') }) } ] -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/script-multiple/_config.js b/test/preprocess/samples/script-multiple/_config.js index d6656ff48e..a523efe9bc 100644 --- a/test/preprocess/samples/script-multiple/_config.js +++ b/test/preprocess/samples/script-multiple/_config.js @@ -6,4 +6,4 @@ export default { }; } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/script/_config.js b/test/preprocess/samples/script/_config.js index 8e8ac1d2f9..1a21045465 100644 --- a/test/preprocess/samples/script/_config.js +++ b/test/preprocess/samples/script/_config.js @@ -6,4 +6,4 @@ export default { }; } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/style-async/_config.js b/test/preprocess/samples/style-async/_config.js index a91f8f4307..00298a0bfb 100644 --- a/test/preprocess/samples/style-async/_config.js +++ b/test/preprocess/samples/style-async/_config.js @@ -6,4 +6,4 @@ export default { }); } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/style-attributes/_config.js b/test/preprocess/samples/style-attributes/_config.js index 7a619054bd..ac2955397b 100644 --- a/test/preprocess/samples/style-attributes/_config.js +++ b/test/preprocess/samples/style-attributes/_config.js @@ -11,4 +11,4 @@ export default { return { code: 'PROCESSED' }; } } -}; \ No newline at end of file +}; diff --git a/test/preprocess/samples/style/_config.js b/test/preprocess/samples/style/_config.js index 59040eccdd..19da7ea384 100644 --- a/test/preprocess/samples/style/_config.js +++ b/test/preprocess/samples/style/_config.js @@ -6,4 +6,4 @@ export default { }; } } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/animation-css/_config.js b/test/runtime/samples/animation-css/_config.js index 9410fb91e7..b80545de3a 100644 --- a/test/runtime/samples/animation-css/_config.js +++ b/test/runtime/samples/animation-css/_config.js @@ -54,4 +54,4 @@ export default { divs[4].style.animation ], ['', '']); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/animation-js-delay/_config.js b/test/runtime/samples/animation-js-delay/_config.js index 6bd02d17e6..931d37817b 100644 --- a/test/runtime/samples/animation-js-delay/_config.js +++ b/test/runtime/samples/animation-js-delay/_config.js @@ -57,4 +57,4 @@ export default { assert.equal(divs[0].dy, 0); assert.equal(divs[4].dy, 0); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/animation-js-easing/_config.js b/test/runtime/samples/animation-js-easing/_config.js index 415af042a9..e466309f57 100644 --- a/test/runtime/samples/animation-js-easing/_config.js +++ b/test/runtime/samples/animation-js-easing/_config.js @@ -53,4 +53,4 @@ export default { assert.equal(divs[0].dy, 0); assert.equal(divs[4].dy, 0); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/animation-js-easing/easing.js b/test/runtime/samples/animation-js-easing/easing.js index fecc4d96f6..6399b8858c 100644 --- a/test/runtime/samples/animation-js-easing/easing.js +++ b/test/runtime/samples/animation-js-easing/easing.js @@ -1,3 +1,3 @@ export function linear(t) { return t; -} \ No newline at end of file +} diff --git a/test/runtime/samples/animation-js/_config.js b/test/runtime/samples/animation-js/_config.js index 521753633d..5c5e874b3e 100644 --- a/test/runtime/samples/animation-js/_config.js +++ b/test/runtime/samples/animation-js/_config.js @@ -74,4 +74,4 @@ export default { assert.equal(divs[0].dy, 0); assert.equal(divs[4].dy, 0); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/assignment-in-init/_config.js b/test/runtime/samples/assignment-in-init/_config.js index bcf227f8e6..52428c607d 100644 --- a/test/runtime/samples/assignment-in-init/_config.js +++ b/test/runtime/samples/assignment-in-init/_config.js @@ -3,4 +3,4 @@ export default { assert.equal(component.get_foo(), 1); assert.equal(component.get_bar(), 2); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/assignment-to-computed-property/_config.js b/test/runtime/samples/assignment-to-computed-property/_config.js index 7ba090abe9..25f94c844e 100644 --- a/test/runtime/samples/assignment-to-computed-property/_config.js +++ b/test/runtime/samples/assignment-to-computed-property/_config.js @@ -2,4 +2,4 @@ export default { test({ assert, component }) { assert.deepEqual(component.foo, { baz: 1 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/attribute-boolean-indeterminate/_config.js b/test/runtime/samples/attribute-boolean-indeterminate/_config.js index 0e24f92c51..d16cb5f96b 100644 --- a/test/runtime/samples/attribute-boolean-indeterminate/_config.js +++ b/test/runtime/samples/attribute-boolean-indeterminate/_config.js @@ -18,4 +18,4 @@ export default { component.indeterminate = false; assert.ok(!input.indeterminate); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/attribute-namespaced/_config.js b/test/runtime/samples/attribute-namespaced/_config.js index f8c0cb03fb..275a198219 100644 --- a/test/runtime/samples/attribute-namespaced/_config.js +++ b/test/runtime/samples/attribute-namespaced/_config.js @@ -11,4 +11,4 @@ export default { const use = target.querySelector( 'use' ); assert.equal( use.getAttributeNS( 'http://www.w3.org/1999/xlink', 'href' ), '#bar' ); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/attribute-static-at-symbol/_config.js b/test/runtime/samples/attribute-static-at-symbol/_config.js index b2fb3afb87..0be19f091f 100644 --- a/test/runtime/samples/attribute-static-at-symbol/_config.js +++ b/test/runtime/samples/attribute-static-at-symbol/_config.js @@ -1,3 +1,3 @@ export default { html: "email" -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/attribute-static-quotemarks/_config.js b/test/runtime/samples/attribute-static-quotemarks/_config.js index 3d389c2273..e908052b4f 100644 --- a/test/runtime/samples/attribute-static-quotemarks/_config.js +++ b/test/runtime/samples/attribute-static-quotemarks/_config.js @@ -5,4 +5,4 @@ export default { bar ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/attribute-unknown-without-value/_config.js b/test/runtime/samples/attribute-unknown-without-value/_config.js index 4f7cf1cbbf..9645e86ef4 100644 --- a/test/runtime/samples/attribute-unknown-without-value/_config.js +++ b/test/runtime/samples/attribute-unknown-without-value/_config.js @@ -1,3 +1,3 @@ export default { html: '
' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-catch-shorthand/_config.js b/test/runtime/samples/await-catch-shorthand/_config.js index aea2eb0905..fc65773107 100644 --- a/test/runtime/samples/await-catch-shorthand/_config.js +++ b/test/runtime/samples/await-catch-shorthand/_config.js @@ -38,4 +38,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-component-oncreate/_config.js b/test/runtime/samples/await-component-oncreate/_config.js index 3cb8fa0864..1de86c9f44 100644 --- a/test/runtime/samples/await-component-oncreate/_config.js +++ b/test/runtime/samples/await-component-oncreate/_config.js @@ -13,4 +13,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-conservative-update/_config.js b/test/runtime/samples/await-conservative-update/_config.js index 4e81ff8e37..20a9448ebd 100644 --- a/test/runtime/samples/await-conservative-update/_config.js +++ b/test/runtime/samples/await-conservative-update/_config.js @@ -13,4 +13,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-conservative-update/sleep.js b/test/runtime/samples/await-conservative-update/sleep.js index 994f85f38a..be592a4ea4 100644 --- a/test/runtime/samples/await-conservative-update/sleep.js +++ b/test/runtime/samples/await-conservative-update/sleep.js @@ -8,4 +8,4 @@ export const sleep = ms => new Promise(f => { if (stopped) return; f(); }, ms); -}); \ No newline at end of file +}); diff --git a/test/runtime/samples/await-containing-if/_config.js b/test/runtime/samples/await-containing-if/_config.js index 5bf94ed012..a81b040a12 100644 --- a/test/runtime/samples/await-containing-if/_config.js +++ b/test/runtime/samples/await-containing-if/_config.js @@ -32,4 +32,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-in-dynamic-component/_config.js b/test/runtime/samples/await-in-dynamic-component/_config.js index 797298c554..d92757b68b 100644 --- a/test/runtime/samples/await-in-dynamic-component/_config.js +++ b/test/runtime/samples/await-in-dynamic-component/_config.js @@ -2,4 +2,4 @@ export default { test({ component }) { component.flag = false; } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-in-each/_config.js b/test/runtime/samples/await-in-each/_config.js index 6c7da69ee3..a648bbe38a 100644 --- a/test/runtime/samples/await-in-each/_config.js +++ b/test/runtime/samples/await-in-each/_config.js @@ -28,4 +28,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-in-removed-if/_config.js b/test/runtime/samples/await-in-removed-if/_config.js index 0746a66fa0..18b2ac7b74 100644 --- a/test/runtime/samples/await-in-removed-if/_config.js +++ b/test/runtime/samples/await-in-removed-if/_config.js @@ -19,4 +19,4 @@ export default { assert.htmlEqual(target.innerHTML, ''); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-set-simultaneous-reactive/_config.js b/test/runtime/samples/await-set-simultaneous-reactive/_config.js index acbd7aea1f..0b5c0b8c74 100644 --- a/test/runtime/samples/await-set-simultaneous-reactive/_config.js +++ b/test/runtime/samples/await-set-simultaneous-reactive/_config.js @@ -10,4 +10,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-set-simultaneous/_config.js b/test/runtime/samples/await-set-simultaneous/_config.js index d928e39c23..fb75a9f6f0 100644 --- a/test/runtime/samples/await-set-simultaneous/_config.js +++ b/test/runtime/samples/await-set-simultaneous/_config.js @@ -15,4 +15,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch-event/_config.js b/test/runtime/samples/await-then-catch-event/_config.js index e42d16c4d8..0f4ce27628 100644 --- a/test/runtime/samples/await-then-catch-event/_config.js +++ b/test/runtime/samples/await-then-catch-event/_config.js @@ -42,4 +42,4 @@ export default { assert.equal(component.clicked, 43); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch-in-slot/_config.js b/test/runtime/samples/await-then-catch-in-slot/_config.js index b0600a0f27..14f3e7fdf5 100644 --- a/test/runtime/samples/await-then-catch-in-slot/_config.js +++ b/test/runtime/samples/await-then-catch-in-slot/_config.js @@ -44,4 +44,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch-multiple/_config.js b/test/runtime/samples/await-then-catch-multiple/_config.js index 2daac524a2..8d2de596df 100644 --- a/test/runtime/samples/await-then-catch-multiple/_config.js +++ b/test/runtime/samples/await-then-catch-multiple/_config.js @@ -48,4 +48,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch-non-promise/_config.js b/test/runtime/samples/await-then-catch-non-promise/_config.js index dbc2f5eddc..c05236cc5f 100644 --- a/test/runtime/samples/await-then-catch-non-promise/_config.js +++ b/test/runtime/samples/await-then-catch-non-promise/_config.js @@ -14,4 +14,4 @@ export default {

the value is still not a promise

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch-static/_config.js b/test/runtime/samples/await-then-catch-static/_config.js index ada0dcc75b..35fc865d44 100644 --- a/test/runtime/samples/await-then-catch-static/_config.js +++ b/test/runtime/samples/await-then-catch-static/_config.js @@ -42,4 +42,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-catch/_config.js b/test/runtime/samples/await-then-catch/_config.js index b0600a0f27..14f3e7fdf5 100644 --- a/test/runtime/samples/await-then-catch/_config.js +++ b/test/runtime/samples/await-then-catch/_config.js @@ -44,4 +44,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-if/_config.js b/test/runtime/samples/await-then-if/_config.js index b26688d9f3..f9e81dd2cc 100644 --- a/test/runtime/samples/await-then-if/_config.js +++ b/test/runtime/samples/await-then-if/_config.js @@ -22,4 +22,4 @@ export default {

promise array is empty

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-then-shorthand/_config.js b/test/runtime/samples/await-then-shorthand/_config.js index be517af70d..ca07dd19e0 100644 --- a/test/runtime/samples/await-then-shorthand/_config.js +++ b/test/runtime/samples/await-then-shorthand/_config.js @@ -40,4 +40,4 @@ export default { `); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/await-without-catch/_config.js b/test/runtime/samples/await-without-catch/_config.js index 1b7da5c0be..5bc291bf1f 100644 --- a/test/runtime/samples/await-without-catch/_config.js +++ b/test/runtime/samples/await-without-catch/_config.js @@ -42,4 +42,4 @@ export default { assert.htmlEqual(target.innerHTML, ''); }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/binding-indirect-computed/_config.js b/test/runtime/samples/binding-indirect-computed/_config.js index 7519c4b0ed..68be22d1f8 100644 --- a/test/runtime/samples/binding-indirect-computed/_config.js +++ b/test/runtime/samples/binding-indirect-computed/_config.js @@ -31,4 +31,4 @@ export default { B `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/binding-indirect/_config.js b/test/runtime/samples/binding-indirect/_config.js index a0a610f43f..e0f10b94bd 100644 --- a/test/runtime/samples/binding-indirect/_config.js +++ b/test/runtime/samples/binding-indirect/_config.js @@ -87,4 +87,4 @@ export default {

shake it all about

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/binding-using-props/_config.js b/test/runtime/samples/binding-using-props/_config.js index dcb34c4357..2e5fef1f4f 100644 --- a/test/runtime/samples/binding-using-props/_config.js +++ b/test/runtime/samples/binding-using-props/_config.js @@ -11,4 +11,4 @@ export default {

changed

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bindings-before-onmount/_config.js b/test/runtime/samples/bindings-before-onmount/_config.js index d21751c528..1d2ac64fe8 100644 --- a/test/runtime/samples/bindings-before-onmount/_config.js +++ b/test/runtime/samples/bindings-before-onmount/_config.js @@ -2,4 +2,4 @@ export default { test({ assert, component }) { assert.equal(component.one.snapshot, 2); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bindings-coalesced/_config.js b/test/runtime/samples/bindings-coalesced/_config.js index 164d0b42e7..14ffd3ed89 100644 --- a/test/runtime/samples/bindings-coalesced/_config.js +++ b/test/runtime/samples/bindings-coalesced/_config.js @@ -14,4 +14,4 @@ export default { assert.deepEqual(values, ['6']); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bindings-global-dependency/_config.js b/test/runtime/samples/bindings-global-dependency/_config.js index f5ab04de78..1180424e81 100644 --- a/test/runtime/samples/bindings-global-dependency/_config.js +++ b/test/runtime/samples/bindings-global-dependency/_config.js @@ -1,3 +1,3 @@ export default { html: '' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-2/_config.js b/test/runtime/samples/bitmask-overflow-2/_config.js index 1b0f475e94..781c493245 100644 --- a/test/runtime/samples/bitmask-overflow-2/_config.js +++ b/test/runtime/samples/bitmask-overflow-2/_config.js @@ -1,3 +1,3 @@ export default { error: 'potato is not defined' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-3/_config.js b/test/runtime/samples/bitmask-overflow-3/_config.js index 7c237c48f6..bd415bfd49 100644 --- a/test/runtime/samples/bitmask-overflow-3/_config.js +++ b/test/runtime/samples/bitmask-overflow-3/_config.js @@ -1,3 +1,3 @@ export default { error: 'A is not defined' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot-2/_config.js b/test/runtime/samples/bitmask-overflow-slot-2/_config.js index 08c0c2f902..1f9613711a 100644 --- a/test/runtime/samples/bitmask-overflow-slot-2/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot-2/_config.js @@ -93,4 +93,4 @@ export default { _1: 2 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot-3/_config.js b/test/runtime/samples/bitmask-overflow-slot-3/_config.js index 93e548e5f7..7921253e18 100644 --- a/test/runtime/samples/bitmask-overflow-slot-3/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot-3/_config.js @@ -27,4 +27,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot-4/_config.js b/test/runtime/samples/bitmask-overflow-slot-4/_config.js index cdaa5de77f..5aa339afd6 100644 --- a/test/runtime/samples/bitmask-overflow-slot-4/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot-4/_config.js @@ -38,4 +38,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot-5/_config.js b/test/runtime/samples/bitmask-overflow-slot-5/_config.js index 7dedb8f7eb..80900d0042 100644 --- a/test/runtime/samples/bitmask-overflow-slot-5/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot-5/_config.js @@ -46,4 +46,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot-6/_config.js b/test/runtime/samples/bitmask-overflow-slot-6/_config.js index 8cd8c07a65..7cf7538b69 100644 --- a/test/runtime/samples/bitmask-overflow-slot-6/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot-6/_config.js @@ -29,4 +29,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow-slot/_config.js b/test/runtime/samples/bitmask-overflow-slot/_config.js index 9b24d5541f..a14ef3270f 100644 --- a/test/runtime/samples/bitmask-overflow-slot/_config.js +++ b/test/runtime/samples/bitmask-overflow-slot/_config.js @@ -121,4 +121,4 @@ export default { _40: 1 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/bitmask-overflow/_config.js b/test/runtime/samples/bitmask-overflow/_config.js index ada3195c81..e5e54ac10e 100644 --- a/test/runtime/samples/bitmask-overflow/_config.js +++ b/test/runtime/samples/bitmask-overflow/_config.js @@ -119,4 +119,4 @@ export default { _40: 1 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/component-name-deconflicted-globals/_config.js b/test/runtime/samples/component-name-deconflicted-globals/_config.js index 842b6a3a11..66d1d1a8f1 100644 --- a/test/runtime/samples/component-name-deconflicted-globals/_config.js +++ b/test/runtime/samples/component-name-deconflicted-globals/_config.js @@ -2,4 +2,4 @@ export default { preserveIdentifiers: true, error: 'Countdown is not defined' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/component-name-deconflicted/_config.js b/test/runtime/samples/component-name-deconflicted/_config.js index 97ea2290b6..5813042745 100644 --- a/test/runtime/samples/component-name-deconflicted/_config.js +++ b/test/runtime/samples/component-name-deconflicted/_config.js @@ -12,4 +12,4 @@ export default { 4 `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/component-namespaced/_config.js b/test/runtime/samples/component-namespaced/_config.js index b91795d6c8..35a5e46d47 100644 --- a/test/runtime/samples/component-namespaced/_config.js +++ b/test/runtime/samples/component-namespaced/_config.js @@ -19,4 +19,4 @@ export default {

foo 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/component-namespaced/components.js b/test/runtime/samples/component-namespaced/components.js index 832d2412ee..7dcfcf157c 100644 --- a/test/runtime/samples/component-namespaced/components.js +++ b/test/runtime/samples/component-namespaced/components.js @@ -1,3 +1,3 @@ import Foo from './Foo.svelte'; -export default { Foo }; \ No newline at end of file +export default { Foo }; diff --git a/test/runtime/samples/component-slot-named-inherits-default-lets/_config.js b/test/runtime/samples/component-slot-named-inherits-default-lets/_config.js index a07a1482bc..8297162b91 100644 --- a/test/runtime/samples/component-slot-named-inherits-default-lets/_config.js +++ b/test/runtime/samples/component-slot-named-inherits-default-lets/_config.js @@ -22,4 +22,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/context-api-b/_config.js b/test/runtime/samples/context-api-b/_config.js index 70dff54c06..314fd9f481 100644 --- a/test/runtime/samples/context-api-b/_config.js +++ b/test/runtime/samples/context-api-b/_config.js @@ -3,4 +3,4 @@ export default {
foo/bar
foo/baz
` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/context-api/_config.js b/test/runtime/samples/context-api/_config.js index 1bc475a156..3856aa5424 100644 --- a/test/runtime/samples/context-api/_config.js +++ b/test/runtime/samples/context-api/_config.js @@ -70,4 +70,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/context-in-await/_config.js b/test/runtime/samples/context-in-await/_config.js index 221f5fbcca..fc498a36c2 100644 --- a/test/runtime/samples/context-in-await/_config.js +++ b/test/runtime/samples/context-in-await/_config.js @@ -10,4 +10,4 @@ export default {

Context value: 123

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/contextual-callback/_config.js b/test/runtime/samples/contextual-callback/_config.js index f0ec07f6c9..b27a7fc868 100644 --- a/test/runtime/samples/contextual-callback/_config.js +++ b/test/runtime/samples/contextual-callback/_config.js @@ -9,4 +9,4 @@ export default { assert.equal(component.clicked, 'x'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-builtins-2/_config.js b/test/runtime/samples/deconflict-builtins-2/_config.js index 1bef35b2bd..e136b0410d 100644 --- a/test/runtime/samples/deconflict-builtins-2/_config.js +++ b/test/runtime/samples/deconflict-builtins-2/_config.js @@ -1,4 +1,4 @@ export default { html: 'hello world', preserveIdentifiers: true -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-builtins/_config.js b/test/runtime/samples/deconflict-builtins/_config.js index 4e9cbef4b2..3751bfc25d 100644 --- a/test/runtime/samples/deconflict-builtins/_config.js +++ b/test/runtime/samples/deconflict-builtins/_config.js @@ -4,4 +4,4 @@ export default { test({ assert, component }) { assert.equal(component.foo, 'got'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-builtins/get.js b/test/runtime/samples/deconflict-builtins/get.js index cd846d9be9..78477cc40f 100644 --- a/test/runtime/samples/deconflict-builtins/get.js +++ b/test/runtime/samples/deconflict-builtins/get.js @@ -1,3 +1,3 @@ export function get () { return 'got'; -} \ No newline at end of file +} diff --git a/test/runtime/samples/deconflict-component-name-with-global/_config.js b/test/runtime/samples/deconflict-component-name-with-global/_config.js index 0f25c32351..214483fc58 100644 --- a/test/runtime/samples/deconflict-component-name-with-global/_config.js +++ b/test/runtime/samples/deconflict-component-name-with-global/_config.js @@ -6,4 +6,4 @@ export default { preserveIdentifiers: true, html: '

true

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-component-name-with-module-global/_config.js b/test/runtime/samples/deconflict-component-name-with-module-global/_config.js index 0f25c32351..214483fc58 100644 --- a/test/runtime/samples/deconflict-component-name-with-module-global/_config.js +++ b/test/runtime/samples/deconflict-component-name-with-module-global/_config.js @@ -6,4 +6,4 @@ export default { preserveIdentifiers: true, html: '

true

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-component-refs/_config.js b/test/runtime/samples/deconflict-component-refs/_config.js index 8092aed7ca..992066d1e6 100644 --- a/test/runtime/samples/deconflict-component-refs/_config.js +++ b/test/runtime/samples/deconflict-component-refs/_config.js @@ -22,4 +22,4 @@ export default { { name: 'baz', edit: false } ] } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-contexts/_config.js b/test/runtime/samples/deconflict-contexts/_config.js index a32300e58a..5254655d89 100644 --- a/test/runtime/samples/deconflict-contexts/_config.js +++ b/test/runtime/samples/deconflict-contexts/_config.js @@ -6,4 +6,4 @@ export default { props: { components: [ 'foo', 'bar', 'baz' ] } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-ctx/_config.js b/test/runtime/samples/deconflict-ctx/_config.js index 88f3e2efca..b6d8bf51be 100644 --- a/test/runtime/samples/deconflict-ctx/_config.js +++ b/test/runtime/samples/deconflict-ctx/_config.js @@ -2,4 +2,4 @@ export default { html: `

Hello world!

` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-elements-indexes/_config.js b/test/runtime/samples/deconflict-elements-indexes/_config.js index b531603ac7..cb102638f2 100644 --- a/test/runtime/samples/deconflict-elements-indexes/_config.js +++ b/test/runtime/samples/deconflict-elements-indexes/_config.js @@ -19,4 +19,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/deconflict-spread-i/_config.js b/test/runtime/samples/deconflict-spread-i/_config.js index f147a4c1ff..7602cde023 100644 --- a/test/runtime/samples/deconflict-spread-i/_config.js +++ b/test/runtime/samples/deconflict-spread-i/_config.js @@ -1,3 +1,3 @@ export default { preserveIdentifiers: true -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/destroy-twice/_config.js b/test/runtime/samples/destroy-twice/_config.js index 041518d284..1279b2315d 100644 --- a/test/runtime/samples/destroy-twice/_config.js +++ b/test/runtime/samples/destroy-twice/_config.js @@ -3,4 +3,4 @@ export default { component.$destroy(); component.$destroy(); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/destructuring-assignment-array/_config.js b/test/runtime/samples/destructuring-assignment-array/_config.js index ede4552803..5b39a0b86e 100644 --- a/test/runtime/samples/destructuring-assignment-array/_config.js +++ b/test/runtime/samples/destructuring-assignment-array/_config.js @@ -20,4 +20,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/destructuring-between-exports/_config.js b/test/runtime/samples/destructuring-between-exports/_config.js index 56061f510f..3b2ee6e9ee 100644 --- a/test/runtime/samples/destructuring-between-exports/_config.js +++ b/test/runtime/samples/destructuring-between-exports/_config.js @@ -5,4 +5,4 @@ export default { html: `

42

` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/destructuring/_config.js b/test/runtime/samples/destructuring/_config.js index c76a3bf649..93e4ed3936 100644 --- a/test/runtime/samples/destructuring/_config.js +++ b/test/runtime/samples/destructuring/_config.js @@ -22,4 +22,4 @@ export default { assert.equal(count, 1); assert.equal(number, 42); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dev-warning-destroy-twice/_config.js b/test/runtime/samples/dev-warning-destroy-twice/_config.js index 4f6090d4b6..69ef5b1713 100644 --- a/test/runtime/samples/dev-warning-destroy-twice/_config.js +++ b/test/runtime/samples/dev-warning-destroy-twice/_config.js @@ -20,4 +20,4 @@ export default { console.warn = warn; // eslint-disable-line no-console } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dev-warning-readonly-computed/_config.js b/test/runtime/samples/dev-warning-readonly-computed/_config.js index 7d02d82eeb..86037d7e1f 100644 --- a/test/runtime/samples/dev-warning-readonly-computed/_config.js +++ b/test/runtime/samples/dev-warning-readonly-computed/_config.js @@ -15,4 +15,4 @@ export default { assert.equal( err.message, "
: Cannot set read-only property 'foo'" ); } } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dev-warning-readonly-window-binding/_config.js b/test/runtime/samples/dev-warning-readonly-window-binding/_config.js index 01c8717b0c..fc6075aef1 100644 --- a/test/runtime/samples/dev-warning-readonly-window-binding/_config.js +++ b/test/runtime/samples/dev-warning-readonly-window-binding/_config.js @@ -11,4 +11,4 @@ export default { assert.equal(err.message, "
: Cannot set read-only property 'width'"); } } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js b/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js index 0df87f06cd..2f73514e67 100644 --- a/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js +++ b/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js @@ -25,4 +25,4 @@ export default {

green green

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/_config.js b/test/runtime/samples/dynamic-component-bindings-recreated/_config.js index b57c49ed58..7882996a8b 100644 --- a/test/runtime/samples/dynamic-component-bindings-recreated/_config.js +++ b/test/runtime/samples/dynamic-component-bindings-recreated/_config.js @@ -22,4 +22,4 @@ export default {

green two

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-bindings/_config.js b/test/runtime/samples/dynamic-component-bindings/_config.js index 9ef9a87b91..4b76c89237 100644 --- a/test/runtime/samples/dynamic-component-bindings/_config.js +++ b/test/runtime/samples/dynamic-component-bindings/_config.js @@ -28,4 +28,4 @@ export default { assert.equal(component.z, true); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-destroy-null/_config.js b/test/runtime/samples/dynamic-component-destroy-null/_config.js index 3c47aa5bae..00f7d47d0f 100644 --- a/test/runtime/samples/dynamic-component-destroy-null/_config.js +++ b/test/runtime/samples/dynamic-component-destroy-null/_config.js @@ -6,4 +6,4 @@ export default { test({ assert, component }) { component.x = false; } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-events/_config.js b/test/runtime/samples/dynamic-component-events/_config.js index 3c6bf370bb..cc54bef4e5 100644 --- a/test/runtime/samples/dynamic-component-events/_config.js +++ b/test/runtime/samples/dynamic-component-events/_config.js @@ -22,4 +22,4 @@ export default { target.querySelector('button').dispatchEvent(click); assert.equal(component.selected, 'bar'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-in-if/_config.js b/test/runtime/samples/dynamic-component-in-if/_config.js index b481c229c4..0c6829dbcd 100644 --- a/test/runtime/samples/dynamic-component-in-if/_config.js +++ b/test/runtime/samples/dynamic-component-in-if/_config.js @@ -10,4 +10,4 @@ export default {

Bar

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-inside-element/_config.js b/test/runtime/samples/dynamic-component-inside-element/_config.js index 2e363f10da..ba144c96a6 100644 --- a/test/runtime/samples/dynamic-component-inside-element/_config.js +++ b/test/runtime/samples/dynamic-component-inside-element/_config.js @@ -14,4 +14,4 @@ export default {

false, therefore Bar

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js b/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js index 9759ada538..18ccd5f21e 100644 --- a/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js +++ b/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js @@ -2,4 +2,4 @@ export default { test({ component }) { component.visible = true; } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-nulled-out/_config.js b/test/runtime/samples/dynamic-component-nulled-out/_config.js index 7dc48c82b6..7e928aba86 100644 --- a/test/runtime/samples/dynamic-component-nulled-out/_config.js +++ b/test/runtime/samples/dynamic-component-nulled-out/_config.js @@ -16,4 +16,4 @@ export default {

Foo

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-slot/_config.js b/test/runtime/samples/dynamic-component-slot/_config.js index 58f413e3c4..aedf8bbb5b 100644 --- a/test/runtime/samples/dynamic-component-slot/_config.js +++ b/test/runtime/samples/dynamic-component-slot/_config.js @@ -32,4 +32,4 @@ export default {
what goes up must come down
`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/_config.js b/test/runtime/samples/dynamic-component-update-existing-instance/_config.js index 5e3d836382..adca76f5a7 100644 --- a/test/runtime/samples/dynamic-component-update-existing-instance/_config.js +++ b/test/runtime/samples/dynamic-component-update-existing-instance/_config.js @@ -14,4 +14,4 @@ export default {

Foo 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/dynamic-component/_config.js b/test/runtime/samples/dynamic-component/_config.js index fe7ce5d65f..64abb9bd96 100644 --- a/test/runtime/samples/dynamic-component/_config.js +++ b/test/runtime/samples/dynamic-component/_config.js @@ -14,4 +14,4 @@ export default {

false, therefore Bar

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/each-block-empty-outro/_config.js b/test/runtime/samples/each-block-empty-outro/_config.js index fe1657aa0c..0acf1f572f 100644 --- a/test/runtime/samples/each-block-empty-outro/_config.js +++ b/test/runtime/samples/each-block-empty-outro/_config.js @@ -15,4 +15,4 @@ export default { assert.htmlEqual(target.innerHTML, ''); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/element-source-location/_config.js b/test/runtime/samples/element-source-location/_config.js index 61ae36d107..101cc2cad1 100644 --- a/test/runtime/samples/element-source-location/_config.js +++ b/test/runtime/samples/element-source-location/_config.js @@ -23,4 +23,4 @@ export default { char: 7 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/empty-dom/_config.js b/test/runtime/samples/empty-dom/_config.js index 7da2831db4..22dc25b41e 100644 --- a/test/runtime/samples/empty-dom/_config.js +++ b/test/runtime/samples/empty-dom/_config.js @@ -1,3 +1,3 @@ export default { html: '' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/flush-before-bindings/_config.js b/test/runtime/samples/flush-before-bindings/_config.js index 7bb6ebfc15..4f20299771 100644 --- a/test/runtime/samples/flush-before-bindings/_config.js +++ b/test/runtime/samples/flush-before-bindings/_config.js @@ -20,4 +20,4 @@ export default { // TODO minimise the number of recomputations during oncreate // assert.equal(counter.count, 1); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/flush-before-bindings/counter.js b/test/runtime/samples/flush-before-bindings/counter.js index 63872cd6a2..f0fc271f84 100644 --- a/test/runtime/samples/flush-before-bindings/counter.js +++ b/test/runtime/samples/flush-before-bindings/counter.js @@ -1,3 +1,3 @@ export default { count: 0 -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/function-expression-inline/_config.js b/test/runtime/samples/function-expression-inline/_config.js index 6916be45b1..a5dc3f7080 100644 --- a/test/runtime/samples/function-expression-inline/_config.js +++ b/test/runtime/samples/function-expression-inline/_config.js @@ -19,4 +19,4 @@ export default {

6

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/function-in-expression/_config.js b/test/runtime/samples/function-in-expression/_config.js index 6b6fb29895..d3086863d3 100644 --- a/test/runtime/samples/function-in-expression/_config.js +++ b/test/runtime/samples/function-in-expression/_config.js @@ -10,4 +10,4 @@ export default { assert.htmlEqual(target.innerHTML, '11, 13, 15'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/hash-in-attribute/_config.js b/test/runtime/samples/hash-in-attribute/_config.js index 5e5726c48f..a6fe8eb909 100644 --- a/test/runtime/samples/hash-in-attribute/_config.js +++ b/test/runtime/samples/hash-in-attribute/_config.js @@ -23,4 +23,4 @@ export default { x#f `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/head-title-dynamic-simple/_config.js b/test/runtime/samples/head-title-dynamic-simple/_config.js index 682a841fcd..cc2301a2f9 100644 --- a/test/runtime/samples/head-title-dynamic-simple/_config.js +++ b/test/runtime/samples/head-title-dynamic-simple/_config.js @@ -9,4 +9,4 @@ export default { component.foo = 'Also A Title'; assert.equal(window.document.title, 'Also A Title'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/head-title-dynamic/_config.js b/test/runtime/samples/head-title-dynamic/_config.js index ddb04bf0a3..95d5f8debf 100644 --- a/test/runtime/samples/head-title-dynamic/_config.js +++ b/test/runtime/samples/head-title-dynamic/_config.js @@ -9,4 +9,4 @@ export default { component.adjective = 'different'; assert.equal(window.document.title, 'a different title'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/head-title-empty/_config.js b/test/runtime/samples/head-title-empty/_config.js index 497855156c..5b0785c797 100644 --- a/test/runtime/samples/head-title-empty/_config.js +++ b/test/runtime/samples/head-title-empty/_config.js @@ -2,4 +2,4 @@ export default { test({ assert, window }) { assert.equal(window.document.title, ''); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/head-title-static/_config.js b/test/runtime/samples/head-title-static/_config.js index e6d5d9aaff..ee9a0316b5 100644 --- a/test/runtime/samples/head-title-static/_config.js +++ b/test/runtime/samples/head-title-static/_config.js @@ -2,4 +2,4 @@ export default { test({ assert, component, target, window }) { assert.equal(window.document.title, 'changed'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/html-entities-inside-elements/_config.js b/test/runtime/samples/html-entities-inside-elements/_config.js index a53af0a297..2537da2654 100644 --- a/test/runtime/samples/html-entities-inside-elements/_config.js +++ b/test/runtime/samples/html-entities-inside-elements/_config.js @@ -2,4 +2,4 @@ export default { html: `

this <em>should</em> not be <strong>bold</strong>

` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/html-entities/_config.js b/test/runtime/samples/html-entities/_config.js index c8c2de8403..ddcc318e28 100644 --- a/test/runtime/samples/html-entities/_config.js +++ b/test/runtime/samples/html-entities/_config.js @@ -11,4 +11,4 @@ export default { &notanentity; ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/html-non-entities-inside-elements/_config.js b/test/runtime/samples/html-non-entities-inside-elements/_config.js index bc217d6d02..d8e128a117 100644 --- a/test/runtime/samples/html-non-entities-inside-elements/_config.js +++ b/test/runtime/samples/html-non-entities-inside-elements/_config.js @@ -2,4 +2,4 @@ export default { html: `
'foo'
` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/if-block-conservative-update/_config.js b/test/runtime/samples/if-block-conservative-update/_config.js index 9be7e29fef..f84ccb6b43 100644 --- a/test/runtime/samples/if-block-conservative-update/_config.js +++ b/test/runtime/samples/if-block-conservative-update/_config.js @@ -19,4 +19,4 @@ export default { assert.htmlEqual(target.innerHTML, '

soup

'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/if-block-else-conservative-update/_config.js b/test/runtime/samples/if-block-else-conservative-update/_config.js index bb6cfef05f..da83385dd5 100644 --- a/test/runtime/samples/if-block-else-conservative-update/_config.js +++ b/test/runtime/samples/if-block-else-conservative-update/_config.js @@ -34,4 +34,4 @@ export default { assert.htmlEqual(target.innerHTML, '

SALAD

'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js b/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js index 63872cd6a2..f0fc271f84 100644 --- a/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js +++ b/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js @@ -1,3 +1,3 @@ export default { count: 0 -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ignore-unchanged-attribute/counter.js b/test/runtime/samples/ignore-unchanged-attribute/counter.js index 63872cd6a2..f0fc271f84 100644 --- a/test/runtime/samples/ignore-unchanged-attribute/counter.js +++ b/test/runtime/samples/ignore-unchanged-attribute/counter.js @@ -1,3 +1,3 @@ export default { count: 0 -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ignore-unchanged-raw/counter.js b/test/runtime/samples/ignore-unchanged-raw/counter.js index 63872cd6a2..f0fc271f84 100644 --- a/test/runtime/samples/ignore-unchanged-raw/counter.js +++ b/test/runtime/samples/ignore-unchanged-raw/counter.js @@ -1,3 +1,3 @@ export default { count: 0 -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ignore-unchanged-tag/counter.js b/test/runtime/samples/ignore-unchanged-tag/counter.js index 63872cd6a2..f0fc271f84 100644 --- a/test/runtime/samples/ignore-unchanged-tag/counter.js +++ b/test/runtime/samples/ignore-unchanged-tag/counter.js @@ -1,3 +1,3 @@ export default { count: 0 -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/inline-style-important/_config.js b/test/runtime/samples/inline-style-important/_config.js index b7c8d2c352..53f4e98db3 100644 --- a/test/runtime/samples/inline-style-important/_config.js +++ b/test/runtime/samples/inline-style-important/_config.js @@ -15,4 +15,4 @@ export default { styles = window.getComputedStyle(p); assert.equal(styles.color, 'green'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/inline-style-optimisation-bailout/_config.js b/test/runtime/samples/inline-style-optimisation-bailout/_config.js index 836a3e2e6e..acc41e3160 100644 --- a/test/runtime/samples/inline-style-optimisation-bailout/_config.js +++ b/test/runtime/samples/inline-style-optimisation-bailout/_config.js @@ -17,4 +17,4 @@ export default { assert.equal(styles.color, ''); assert.equal(styles.fontSize, '20px'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/innerhtml-interpolated-literal/_config.js b/test/runtime/samples/innerhtml-interpolated-literal/_config.js index 022c70f717..d2f4d94a31 100644 --- a/test/runtime/samples/innerhtml-interpolated-literal/_config.js +++ b/test/runtime/samples/innerhtml-interpolated-literal/_config.js @@ -4,4 +4,4 @@ export default { ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/innerhtml-with-comments/_config.js b/test/runtime/samples/innerhtml-with-comments/_config.js index 95d4a6fa96..897d54c573 100644 --- a/test/runtime/samples/innerhtml-with-comments/_config.js +++ b/test/runtime/samples/innerhtml-with-comments/_config.js @@ -5,4 +5,4 @@ export default { Bootstrap. ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js b/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js index 450562bebe..32cd6fc22d 100644 --- a/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js +++ b/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js @@ -5,4 +5,4 @@ export default { await component.go(); assert.htmlEqual(target.innerHTML, '[42]'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-script-destructuring/_config.js b/test/runtime/samples/instrumentation-script-destructuring/_config.js index a0b2de9e77..2b677a8b3a 100644 --- a/test/runtime/samples/instrumentation-script-destructuring/_config.js +++ b/test/runtime/samples/instrumentation-script-destructuring/_config.js @@ -26,4 +26,4 @@ export default {

x: 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-script-loop-scope/_config.js b/test/runtime/samples/instrumentation-script-loop-scope/_config.js index 1195055c45..069114c523 100644 --- a/test/runtime/samples/instrumentation-script-loop-scope/_config.js +++ b/test/runtime/samples/instrumentation-script-loop-scope/_config.js @@ -14,4 +14,4 @@ export default {

x: 42

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js b/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js index c5107e4964..1c4663938f 100644 --- a/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js +++ b/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js @@ -25,4 +25,4 @@ export default {

bar: 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-script-update/_config.js b/test/runtime/samples/instrumentation-script-update/_config.js index 4e97140faf..223904ad63 100644 --- a/test/runtime/samples/instrumentation-script-update/_config.js +++ b/test/runtime/samples/instrumentation-script-update/_config.js @@ -14,4 +14,4 @@ export default {

x: 1

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-template-destructuring/_config.js b/test/runtime/samples/instrumentation-template-destructuring/_config.js index a0b2de9e77..2b677a8b3a 100644 --- a/test/runtime/samples/instrumentation-template-destructuring/_config.js +++ b/test/runtime/samples/instrumentation-template-destructuring/_config.js @@ -26,4 +26,4 @@ export default {

x: 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-template-loop-scope/_config.js b/test/runtime/samples/instrumentation-template-loop-scope/_config.js index 1195055c45..069114c523 100644 --- a/test/runtime/samples/instrumentation-template-loop-scope/_config.js +++ b/test/runtime/samples/instrumentation-template-loop-scope/_config.js @@ -14,4 +14,4 @@ export default {

x: 42

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js b/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js index c5107e4964..1c4663938f 100644 --- a/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js +++ b/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js @@ -25,4 +25,4 @@ export default {

bar: 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/instrumentation-template-update/_config.js b/test/runtime/samples/instrumentation-template-update/_config.js index 4e97140faf..223904ad63 100644 --- a/test/runtime/samples/instrumentation-template-update/_config.js +++ b/test/runtime/samples/instrumentation-template-update/_config.js @@ -14,4 +14,4 @@ export default {

x: 1

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/invalidation-in-if-condition/_config.js b/test/runtime/samples/invalidation-in-if-condition/_config.js index c9b551c918..25e7811889 100644 --- a/test/runtime/samples/invalidation-in-if-condition/_config.js +++ b/test/runtime/samples/invalidation-in-if-condition/_config.js @@ -14,4 +14,4 @@ export default { await button.dispatchEvent(click); assert.htmlEqual(target.innerHTML, ''); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/isolated-text/_config.js b/test/runtime/samples/isolated-text/_config.js index ec4332be5c..4dc29eb838 100644 --- a/test/runtime/samples/isolated-text/_config.js +++ b/test/runtime/samples/isolated-text/_config.js @@ -3,4 +3,4 @@ export default { before

after

` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/lifecycle-render-order-for-children/order.js b/test/runtime/samples/lifecycle-render-order-for-children/order.js index 109fa8b38c..d6d1738de6 100644 --- a/test/runtime/samples/lifecycle-render-order-for-children/order.js +++ b/test/runtime/samples/lifecycle-render-order-for-children/order.js @@ -1 +1 @@ -export default []; \ No newline at end of file +export default []; diff --git a/test/runtime/samples/lifecycle-render-order/order.js b/test/runtime/samples/lifecycle-render-order/order.js index 109fa8b38c..d6d1738de6 100644 --- a/test/runtime/samples/lifecycle-render-order/order.js +++ b/test/runtime/samples/lifecycle-render-order/order.js @@ -1 +1 @@ -export default []; \ No newline at end of file +export default []; diff --git a/test/runtime/samples/module-context-export/_config.js b/test/runtime/samples/module-context-export/_config.js index 4d77becea9..4c4595483a 100644 --- a/test/runtime/samples/module-context-export/_config.js +++ b/test/runtime/samples/module-context-export/_config.js @@ -1,3 +1,3 @@ export default { html: '

(42)(99)

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/module-context-with-instance-script/_config.js b/test/runtime/samples/module-context-with-instance-script/_config.js index 4d77becea9..4c4595483a 100644 --- a/test/runtime/samples/module-context-with-instance-script/_config.js +++ b/test/runtime/samples/module-context-with-instance-script/_config.js @@ -1,3 +1,3 @@ export default { html: '

(42)(99)

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/module-context/_config.js b/test/runtime/samples/module-context/_config.js index 947138e795..83138d08f9 100644 --- a/test/runtime/samples/module-context/_config.js +++ b/test/runtime/samples/module-context/_config.js @@ -1,3 +1,3 @@ export default { html: '

42

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js b/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js index 038db6dbbb..8d51c61394 100644 --- a/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js +++ b/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js @@ -9,4 +9,4 @@ export default { assert.htmlEqual(component.div.innerHTML, '
-
-
'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/nbsp/_config.js b/test/runtime/samples/nbsp/_config.js index f5636bfebd..5cfbc4ca35 100644 --- a/test/runtime/samples/nbsp/_config.js +++ b/test/runtime/samples/nbsp/_config.js @@ -5,4 +5,4 @@ export default { const text = target.querySelector( 'span' ).textContent; assert.equal( text.charCodeAt( 0 ), 160 ); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/observable-auto-subscribe/_config.js b/test/runtime/samples/observable-auto-subscribe/_config.js index b5b1e8b974..5570413395 100644 --- a/test/runtime/samples/observable-auto-subscribe/_config.js +++ b/test/runtime/samples/observable-auto-subscribe/_config.js @@ -46,4 +46,4 @@ export default { assert.equal(subscribers.length, 0); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ondestroy-before-cleanup/_config.js b/test/runtime/samples/ondestroy-before-cleanup/_config.js index 80cc54bd6b..e33b154b64 100644 --- a/test/runtime/samples/ondestroy-before-cleanup/_config.js +++ b/test/runtime/samples/ondestroy-before-cleanup/_config.js @@ -9,4 +9,4 @@ export default { component.visible = false; assert.equal(container.div, div); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ondestroy-before-cleanup/container.js b/test/runtime/samples/ondestroy-before-cleanup/container.js index 7c645e42fb..ff8b4c5632 100644 --- a/test/runtime/samples/ondestroy-before-cleanup/container.js +++ b/test/runtime/samples/ondestroy-before-cleanup/container.js @@ -1 +1 @@ -export default {}; \ No newline at end of file +export default {}; diff --git a/test/runtime/samples/ondestroy-deep/_config.js b/test/runtime/samples/ondestroy-deep/_config.js index 4431a2e163..3f82e8b601 100644 --- a/test/runtime/samples/ondestroy-deep/_config.js +++ b/test/runtime/samples/ondestroy-deep/_config.js @@ -7,4 +7,4 @@ export default { reset(); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/ondestroy-deep/destroyed.js b/test/runtime/samples/ondestroy-deep/destroyed.js index fe05c1d241..45845cbd83 100644 --- a/test/runtime/samples/ondestroy-deep/destroyed.js +++ b/test/runtime/samples/ondestroy-deep/destroyed.js @@ -1,3 +1,3 @@ export const destroyed = []; -export const reset = () => destroyed.length = 0; \ No newline at end of file +export const reset = () => destroyed.length = 0; diff --git a/test/runtime/samples/onmount-sibling-order/result.js b/test/runtime/samples/onmount-sibling-order/result.js index 109fa8b38c..d6d1738de6 100644 --- a/test/runtime/samples/onmount-sibling-order/result.js +++ b/test/runtime/samples/onmount-sibling-order/result.js @@ -1 +1 @@ -export default []; \ No newline at end of file +export default []; diff --git a/test/runtime/samples/option-without-select/_config.js b/test/runtime/samples/option-without-select/_config.js index 75d4d6583f..9925069bb1 100644 --- a/test/runtime/samples/option-without-select/_config.js +++ b/test/runtime/samples/option-without-select/_config.js @@ -11,4 +11,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/preload/_config.js b/test/runtime/samples/preload/_config.js index 1b35ebbe74..d7d5fd0851 100644 --- a/test/runtime/samples/preload/_config.js +++ b/test/runtime/samples/preload/_config.js @@ -2,4 +2,4 @@ export default { test({ assert, mod }) { assert.deepEqual(mod.preload({ foo: 1 }), { bar: 2 }); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-const/_config.js b/test/runtime/samples/prop-const/_config.js index 489a48476f..991063a754 100644 --- a/test/runtime/samples/prop-const/_config.js +++ b/test/runtime/samples/prop-const/_config.js @@ -20,4 +20,4 @@ export default {

b: 2

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-not-action/_config.js b/test/runtime/samples/prop-not-action/_config.js index 17ab47b584..1f4ffa4749 100644 --- a/test/runtime/samples/prop-not-action/_config.js +++ b/test/runtime/samples/prop-not-action/_config.js @@ -6,4 +6,4 @@ export default { html: `

Hello world!

` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-quoted/_config.js b/test/runtime/samples/prop-quoted/_config.js index e3e553ded8..aa2f2ec329 100644 --- a/test/runtime/samples/prop-quoted/_config.js +++ b/test/runtime/samples/prop-quoted/_config.js @@ -9,4 +9,4 @@ export default { component.foo = 2; assert.htmlEqual(target.innerHTML, '2'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-subscribable/_config.js b/test/runtime/samples/prop-subscribable/_config.js index 84cde8c9af..fcd8fb8b07 100644 --- a/test/runtime/samples/prop-subscribable/_config.js +++ b/test/runtime/samples/prop-subscribable/_config.js @@ -8,4 +8,4 @@ export default { html: ` 42 ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-without-semicolon-b/_config.js b/test/runtime/samples/prop-without-semicolon-b/_config.js index 3ded1a72d8..6cdc86c521 100644 --- a/test/runtime/samples/prop-without-semicolon-b/_config.js +++ b/test/runtime/samples/prop-without-semicolon-b/_config.js @@ -4,4 +4,4 @@ export default { }, html: '

Hello world!

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/prop-without-semicolon/_config.js b/test/runtime/samples/prop-without-semicolon/_config.js index 0655d02a2c..26b3554f9f 100644 --- a/test/runtime/samples/prop-without-semicolon/_config.js +++ b/test/runtime/samples/prop-without-semicolon/_config.js @@ -1,3 +1,3 @@ export default { html: '

Hello world!

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/props-reactive-b/_config.js b/test/runtime/samples/props-reactive-b/_config.js index 43eaee23aa..541fd26e02 100644 --- a/test/runtime/samples/props-reactive-b/_config.js +++ b/test/runtime/samples/props-reactive-b/_config.js @@ -27,4 +27,4 @@ export default {

c: 9

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/props-reactive/_config.js b/test/runtime/samples/props-reactive/_config.js index a44687069e..4c27ac0618 100644 --- a/test/runtime/samples/props-reactive/_config.js +++ b/test/runtime/samples/props-reactive/_config.js @@ -17,4 +17,4 @@ export default {

5

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/props/_config.js b/test/runtime/samples/props/_config.js index fc3c71d6f0..64015cdc6b 100644 --- a/test/runtime/samples/props/_config.js +++ b/test/runtime/samples/props/_config.js @@ -14,4 +14,4 @@ export default {

{"x":2}

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js b/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js index cb79802589..0402f34a2f 100644 --- a/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js +++ b/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js @@ -1,3 +1,3 @@ export default { html: '

1 1

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js b/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js index 3fd83aa9b2..a22aa878ff 100644 --- a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js +++ b/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js @@ -6,4 +6,4 @@ export default { await component.update(); assert.htmlEqual(target.innerHTML, '

11 11 yyy 12 13 14 15 11

'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js b/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js index b57ae31d48..6a613f73c4 100644 --- a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js +++ b/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js @@ -6,4 +6,4 @@ export default { await component.update(); assert.htmlEqual(target.innerHTML, '

11 11 yyy 12 13 14 15 11

'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js b/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js index a24254044a..0636620619 100644 --- a/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js +++ b/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js @@ -1,3 +1,3 @@ export default { html: '

2 2

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-declaration/_config.js b/test/runtime/samples/reactive-assignment-in-declaration/_config.js index cb79802589..0402f34a2f 100644 --- a/test/runtime/samples/reactive-assignment-in-declaration/_config.js +++ b/test/runtime/samples/reactive-assignment-in-declaration/_config.js @@ -1,3 +1,3 @@ export default { html: '

1 1

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js b/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js index 01dcabe073..8f57423d5c 100644 --- a/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js +++ b/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js @@ -1,3 +1,3 @@ export default { html: '

0 0

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-block-break/_config.js b/test/runtime/samples/reactive-block-break/_config.js index a7fdffaaf1..e00bb9f480 100644 --- a/test/runtime/samples/reactive-block-break/_config.js +++ b/test/runtime/samples/reactive-block-break/_config.js @@ -1,3 +1,3 @@ export default { html: '

1 2

' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/reactive-import-statement/data.js b/test/runtime/samples/reactive-import-statement/data.js index ad494c7cb0..22f2f374ab 100644 --- a/test/runtime/samples/reactive-import-statement/data.js +++ b/test/runtime/samples/reactive-import-statement/data.js @@ -1 +1 @@ -export const numbers = [1, 2, 3, 4]; \ No newline at end of file +export const numbers = [1, 2, 3, 4]; diff --git a/test/runtime/samples/script-style-non-top-level/_config.js b/test/runtime/samples/script-style-non-top-level/_config.js index 86eddf4611..22186b345d 100644 --- a/test/runtime/samples/script-style-non-top-level/_config.js +++ b/test/runtime/samples/script-style-non-top-level/_config.js @@ -5,4 +5,4 @@ export default { ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/select-no-whitespace/_config.js b/test/runtime/samples/select-no-whitespace/_config.js index 7388527849..fbd4990317 100644 --- a/test/runtime/samples/select-no-whitespace/_config.js +++ b/test/runtime/samples/select-no-whitespace/_config.js @@ -3,4 +3,4 @@ export default { const select = target.querySelector( 'select' ); assert.equal( select.childNodes.length, 3 ); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/self-reference-component/_config.js b/test/runtime/samples/self-reference-component/_config.js index e9cd0ac440..c3456b59c2 100644 --- a/test/runtime/samples/self-reference-component/_config.js +++ b/test/runtime/samples/self-reference-component/_config.js @@ -1,3 +1,3 @@ export default { html: '5 4 3 2 1 0' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/self-reference-tree/_config.js b/test/runtime/samples/self-reference-tree/_config.js index 581f03eade..cfa7528d31 100644 --- a/test/runtime/samples/self-reference-tree/_config.js +++ b/test/runtime/samples/self-reference-tree/_config.js @@ -62,4 +62,4 @@ export default { ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/self-reference/_config.js b/test/runtime/samples/self-reference/_config.js index 69be606bbe..1bcb660621 100644 --- a/test/runtime/samples/self-reference/_config.js +++ b/test/runtime/samples/self-reference/_config.js @@ -11,4 +11,4 @@ export default { 1 0 ` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/semicolon-hoisting/_config.js b/test/runtime/samples/semicolon-hoisting/_config.js index 7da2831db4..22dc25b41e 100644 --- a/test/runtime/samples/semicolon-hoisting/_config.js +++ b/test/runtime/samples/semicolon-hoisting/_config.js @@ -1,3 +1,3 @@ export default { html: '' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/set-after-destroy/_config.js b/test/runtime/samples/set-after-destroy/_config.js index 9d79329546..063c133b87 100644 --- a/test/runtime/samples/set-after-destroy/_config.js +++ b/test/runtime/samples/set-after-destroy/_config.js @@ -7,4 +7,4 @@ export default { component.$destroy(); component.x = 2; } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/set-null-text-node/_config.js b/test/runtime/samples/set-null-text-node/_config.js index 6bc775f3b7..a106ee9069 100644 --- a/test/runtime/samples/set-null-text-node/_config.js +++ b/test/runtime/samples/set-null-text-node/_config.js @@ -10,4 +10,4 @@ export default { component.foo = null; assert.htmlEqual(target.innerHTML, 'foo is null'); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/shorthand-method-in-template/_config.js b/test/runtime/samples/shorthand-method-in-template/_config.js index ddd282644d..b097a46716 100644 --- a/test/runtime/samples/shorthand-method-in-template/_config.js +++ b/test/runtime/samples/shorthand-method-in-template/_config.js @@ -1,3 +1,3 @@ export default { html: '42' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/sigil-static-#/_config.js b/test/runtime/samples/sigil-static-#/_config.js index 2f75f5cda2..3bf2601f70 100644 --- a/test/runtime/samples/sigil-static-#/_config.js +++ b/test/runtime/samples/sigil-static-#/_config.js @@ -1,3 +1,3 @@ export default { html: '#foo' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/sigil-static-@/_config.js b/test/runtime/samples/sigil-static-@/_config.js index 7155a3d1d0..8d88d1fd08 100644 --- a/test/runtime/samples/sigil-static-@/_config.js +++ b/test/runtime/samples/sigil-static-@/_config.js @@ -1,3 +1,3 @@ export default { html: '@foo' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/slot-in-custom-element/_config.js b/test/runtime/samples/slot-in-custom-element/_config.js index f17cc9adcb..a0b97ec6d0 100644 --- a/test/runtime/samples/slot-in-custom-element/_config.js +++ b/test/runtime/samples/slot-in-custom-element/_config.js @@ -4,4 +4,4 @@ export default {
header header header
` -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/state-deconflicted/_config.js b/test/runtime/samples/state-deconflicted/_config.js index 3258754400..ff1b10b481 100644 --- a/test/runtime/samples/state-deconflicted/_config.js +++ b/test/runtime/samples/state-deconflicted/_config.js @@ -49,4 +49,4 @@ export default { ` ); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-assignment-updates-property/_config.js b/test/runtime/samples/store-assignment-updates-property/_config.js index 65df38f9e4..168f7d27a0 100644 --- a/test/runtime/samples/store-assignment-updates-property/_config.js +++ b/test/runtime/samples/store-assignment-updates-property/_config.js @@ -29,4 +29,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-assignment-updates-reactive/_config.js b/test/runtime/samples/store-assignment-updates-reactive/_config.js index e81b3bb180..a9606d9d68 100644 --- a/test/runtime/samples/store-assignment-updates-reactive/_config.js +++ b/test/runtime/samples/store-assignment-updates-reactive/_config.js @@ -39,4 +39,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-assignment-updates/_config.js b/test/runtime/samples/store-assignment-updates/_config.js index 1b36d92863..c4a09a978e 100644 --- a/test/runtime/samples/store-assignment-updates/_config.js +++ b/test/runtime/samples/store-assignment-updates/_config.js @@ -28,4 +28,4 @@ export default {

doubled: 84

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js b/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js index 9cfd765cde..fdaa951666 100644 --- a/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js +++ b/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js @@ -6,4 +6,4 @@ export default { async test({ assert, component }) { assert.equal(component.initial_foo, 42); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-immediate/_config.js b/test/runtime/samples/store-auto-subscribe-immediate/_config.js index 9cfd765cde..fdaa951666 100644 --- a/test/runtime/samples/store-auto-subscribe-immediate/_config.js +++ b/test/runtime/samples/store-auto-subscribe-immediate/_config.js @@ -6,4 +6,4 @@ export default { async test({ assert, component }) { assert.equal(component.initial_foo, 42); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-implicit/_config.js b/test/runtime/samples/store-auto-subscribe-implicit/_config.js index eca1f314ff..f132901bf0 100644 --- a/test/runtime/samples/store-auto-subscribe-implicit/_config.js +++ b/test/runtime/samples/store-auto-subscribe-implicit/_config.js @@ -25,4 +25,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-in-each/_config.js b/test/runtime/samples/store-auto-subscribe-in-each/_config.js index a49dbab85c..8c8fa001d8 100644 --- a/test/runtime/samples/store-auto-subscribe-in-each/_config.js +++ b/test/runtime/samples/store-auto-subscribe-in-each/_config.js @@ -37,4 +37,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js b/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js index 2240425d91..cf1bdce68a 100644 --- a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js +++ b/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js @@ -25,4 +25,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-in-script/_config.js b/test/runtime/samples/store-auto-subscribe-in-script/_config.js index cfd4475240..7ea7eac87b 100644 --- a/test/runtime/samples/store-auto-subscribe-in-script/_config.js +++ b/test/runtime/samples/store-auto-subscribe-in-script/_config.js @@ -23,4 +23,4 @@ export default { await count.set(42); assert.equal(component.get_count(), 42); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js b/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js index c4eb72b553..f3df26c0de 100644 --- a/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js +++ b/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js @@ -1,3 +1,3 @@ export default { error: 'missingGlobal is not defined' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js b/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js index c4eb72b553..f3df26c0de 100644 --- a/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js +++ b/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js @@ -1,3 +1,3 @@ export default { error: 'missingGlobal is not defined' -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-auto-subscribe/_config.js b/test/runtime/samples/store-auto-subscribe/_config.js index eca1f314ff..f132901bf0 100644 --- a/test/runtime/samples/store-auto-subscribe/_config.js +++ b/test/runtime/samples/store-auto-subscribe/_config.js @@ -25,4 +25,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-contextual/_config.js b/test/runtime/samples/store-contextual/_config.js index 5600f9a661..2a4f8fef8d 100644 --- a/test/runtime/samples/store-contextual/_config.js +++ b/test/runtime/samples/store-contextual/_config.js @@ -73,4 +73,4 @@ export default { `); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-dev-mode-error/_config.js b/test/runtime/samples/store-dev-mode-error/_config.js index 420aa0c54a..74f4189c36 100644 --- a/test/runtime/samples/store-dev-mode-error/_config.js +++ b/test/runtime/samples/store-dev-mode-error/_config.js @@ -8,4 +8,4 @@ export default { }, error: "'count' is not a store with a 'subscribe' method" -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-each-binding-deep/_config.js b/test/runtime/samples/store-each-binding-deep/_config.js index 70776940dd..c5f2402ae2 100644 --- a/test/runtime/samples/store-each-binding-deep/_config.js +++ b/test/runtime/samples/store-each-binding-deep/_config.js @@ -11,4 +11,4 @@ export default {

changed

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-each-binding-destructuring/_config.js b/test/runtime/samples/store-each-binding-destructuring/_config.js index 70776940dd..c5f2402ae2 100644 --- a/test/runtime/samples/store-each-binding-destructuring/_config.js +++ b/test/runtime/samples/store-each-binding-destructuring/_config.js @@ -11,4 +11,4 @@ export default {

changed

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-each-binding/_config.js b/test/runtime/samples/store-each-binding/_config.js index 70776940dd..c5f2402ae2 100644 --- a/test/runtime/samples/store-each-binding/_config.js +++ b/test/runtime/samples/store-each-binding/_config.js @@ -11,4 +11,4 @@ export default {

changed

`); } -}; \ No newline at end of file +}; diff --git a/test/runtime/samples/store-imported-module-b/_config.js b/test/runtime/samples/store-imported-module-b/_config.js index 7c503c3905..f3c168e4c1 100644 --- a/test/runtime/samples/store-imported-module-b/_config.js +++ b/test/runtime/samples/store-imported-module-b/_config.js @@ -1,3 +1,3 @@ export default { error: 'Cannot reference store value inside