From 68329543c4f40de32bee82ba189de486fc0131fc Mon Sep 17 00:00:00 2001 From: 7PH Date: Fri, 15 Dec 2023 00:41:32 +0100 Subject: [PATCH] Add an option to only copy non-default PowerGlitch options in playground --- .eslintrc.yml | 60 ++++++++-------- docs-src/src/components/ExportPanel.vue | 69 ++++++++++++++++--- docs-src/src/components/ImagePreview.vue | 1 - docs/api-docs/functions/mergeOptions.html | 2 +- docs/api-docs/types/GlitchPartialOptions.html | 2 +- docs/api-docs/types/GlitchResult.html | 2 +- docs/api-docs/types/GlitchableElement.html | 2 +- docs/api-docs/types/LayerDefinition.html | 2 +- docs/api-docs/types/PlayModes.html | 2 +- docs/api-docs/types/PowerGlitchOptions.html | 2 +- docs/api-docs/types/RecursivePartial.html | 2 +- docs/api-docs/variables/PowerGlitch.html | 2 +- package-lock.json | 1 + package.json | 1 + 14 files changed, 102 insertions(+), 48 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 0f5f0b9..05a0b2e 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,35 +1,35 @@ env: - browser: true - es2021: true + browser: true + es2021: true extends: - - eslint:recommended - - plugin:@typescript-eslint/recommended - - plugin:vue/vue3-recommended + - eslint:recommended + - plugin:@typescript-eslint/recommended + - plugin:vue/vue3-recommended parserOptions: - ecmaVersion: latest - parser: '@typescript-eslint/parser' - sourceType: module + ecmaVersion: latest + parser: "@typescript-eslint/parser" + sourceType: module plugins: - - vue - - '@typescript-eslint' + - vue + - "@typescript-eslint" rules: - indent: - - error - - 4 - - SwitchCase: 1 - linebreak-style: - - error - - unix - quotes: - - error - - single - semi: - - error - - always - vue/html-indent: - - warn - - 4 - vue/attribute-hyphenation: - - off - vue/v-on-event-hyphenation: - - off + indent: + - error + - 4 + - SwitchCase: 1 + linebreak-style: + - error + - unix + quotes: + - error + - single + semi: + - error + - always + vue/html-indent: + - warn + - 4 + vue/attribute-hyphenation: + - off + vue/v-on-event-hyphenation: + - off diff --git a/docs-src/src/components/ExportPanel.vue b/docs-src/src/components/ExportPanel.vue index 89a4c85..a5ef4ea 100644 --- a/docs-src/src/components/ExportPanel.vue +++ b/docs-src/src/components/ExportPanel.vue @@ -1,6 +1,9 @@