diff --git a/java/code/src/com/suse/manager/webui/Router.java b/java/code/src/com/suse/manager/webui/Router.java index 1ef001adad58..ffc0dd911478 100644 --- a/java/code/src/com/suse/manager/webui/Router.java +++ b/java/code/src/com/suse/manager/webui/Router.java @@ -59,10 +59,10 @@ import com.suse.manager.webui.controllers.SetController; import com.suse.manager.webui.controllers.SsmController; import com.suse.manager.webui.controllers.StatesAPI; +import com.suse.manager.webui.controllers.StorybookController; import com.suse.manager.webui.controllers.SubscriptionMatchingController; import com.suse.manager.webui.controllers.SystemsController; import com.suse.manager.webui.controllers.TaskoTop; -import com.suse.manager.webui.controllers.StorybookController; import com.suse.manager.webui.controllers.VirtualHostManagerController; import com.suse.manager.webui.controllers.activationkeys.ActivationKeysController; import com.suse.manager.webui.controllers.activationkeys.ActivationKeysViewsController; diff --git a/web/html/src/build/plugins/generate-stories-plugin.js b/web/html/src/build/plugins/generate-stories-plugin.js index fb36f2532d8a..425aeb6caa9f 100644 --- a/web/html/src/build/plugins/generate-stories-plugin.js +++ b/web/html/src/build/plugins/generate-stories-plugin.js @@ -1,9 +1,6 @@ const fs = require("fs").promises; const path = require("path"); -// eslint-disable-next-line no-unused-vars -const webpack = require("webpack"); - /** Automatically gather all imports for story files */ module.exports = class GenerateStoriesPlugin { didApply = false; @@ -17,7 +14,7 @@ module.exports = class GenerateStoriesPlugin { } /** - * @param {webpack.Compiler} compiler + * @param {import("webpack").Compiler} compiler */ apply(compiler) { // See https://webpack.js.org/api/compiler-hooks/#hooks @@ -31,7 +28,7 @@ module.exports = class GenerateStoriesPlugin { /** * - * @param {webpack.Compiler} compiler + * @param {import("webpack").Compiler} compiler * @param {Function} callback */ async beforeOrWatchRun(compiler, callback) { @@ -73,7 +70,7 @@ module.exports = class GenerateStoriesPlugin { }; const storyTemplate = (filePath, safeName, groupName) => -` + ` import ${safeName}_component from "${filePath}"; import ${safeName}_raw from "${filePath}?raw"; @@ -87,7 +84,7 @@ export const ${safeName} = { `; const fileTemplate = (content) => -` + ` /** * NB! This is a generated file! * Any changes you make here will be lost. diff --git a/web/html/src/components/input/check/Check.stories.tsx b/web/html/src/components/input/check/Check.stories.tsx index e31b1193b42e..f068ac33c6a4 100644 --- a/web/html/src/components/input/check/Check.stories.tsx +++ b/web/html/src/components/input/check/Check.stories.tsx @@ -11,7 +11,7 @@ export default () => { return (