fix(space): Quick Controls 사운드 복원과 HUD 피드백 정합성 수정
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
|
||||
import storybook from "eslint-plugin-storybook";
|
||||
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
import nextVitals from "eslint-config-next/core-web-vitals";
|
||||
import nextTs from "eslint-config-next/typescript";
|
||||
|
||||
let storybookConfig = [];
|
||||
|
||||
try {
|
||||
// Optional dependency: lint should still run when Storybook plugin is not installed.
|
||||
const storybook = await import("eslint-plugin-storybook");
|
||||
storybookConfig = storybook.default?.configs?.["flat/recommended"] ?? [];
|
||||
} catch {}
|
||||
|
||||
const eslintConfig = defineConfig([
|
||||
...nextVitals,
|
||||
...nextTs,
|
||||
@@ -16,7 +21,7 @@ const eslintConfig = defineConfig([
|
||||
"build/**",
|
||||
"next-env.d.ts",
|
||||
]),
|
||||
...storybook.configs["flat/recommended"]
|
||||
...storybookConfig
|
||||
]);
|
||||
|
||||
export default eslintConfig;
|
||||
|
||||
Reference in New Issue
Block a user