diff --git a/web/.storybook/main.ts b/web/.storybook/main.ts index 7fd7646c5..f3cf8cba5 100644 --- a/web/.storybook/main.ts +++ b/web/.storybook/main.ts @@ -1,5 +1,5 @@ import type { StorybookConfig } from '@storybook/nextjs'; -import path from 'path'; +import path from 'node:path'; const config: StorybookConfig = { stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], diff --git a/web/biome.json b/web/biome.json index be73a15ee..9cdbe496e 100644 --- a/web/biome.json +++ b/web/biome.json @@ -7,7 +7,20 @@ }, "files": { "ignoreUnknown": false, - "ignore": [] + "ignore": [ + "**/node_modules/**", + "**/.next/**", + "**/dist/**", + "**/build/**", + "**/test-results/**", + "**/playwright-report/**", + "**/.git/**", + "**/public/**", + "**/.vercel/**", + "**/coverage/**", + "**/storybook-static/**", + "**/playwright-tests/**" + ] }, "formatter": { "enabled": true, @@ -23,13 +36,13 @@ "ignore": ["**/*.test.*", "**/*.spec.*", "**/*.stories.tsx"], "rules": { "recommended": true, - "suspicious":{ + "suspicious": { "noArrayIndexKey": "off" }, "correctness": { "useExhaustiveDependencies": "off", "noChildrenProp": "off" - }, + }, "a11y": { "useKeyWithClickEvents": "off", "noSvgWithoutTitle": "off" diff --git a/web/next.config.mjs b/web/next.config.mjs index d11e09f77..b9499bcfa 100644 --- a/web/next.config.mjs +++ b/web/next.config.mjs @@ -1,6 +1,6 @@ -import path from 'path'; -import { fileURLToPath } from 'url'; -import { dirname } from 'path'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import { dirname } from 'node:path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); diff --git a/web/package.json b/web/package.json index e7faf0396..492809b6a 100644 --- a/web/package.json +++ b/web/package.json @@ -142,8 +142,6 @@ "typescript": "^5" }, "msw": { - "workerDirectory": [ - "public" - ] + "workerDirectory": ["public"] } } diff --git a/web/playwright.config.ts b/web/playwright.config.ts index 5247d85d2..957ed48c8 100644 --- a/web/playwright.config.ts +++ b/web/playwright.config.ts @@ -1,6 +1,6 @@ import { defineConfig, devices } from '@playwright/test'; -import path from 'path'; -import fs from 'fs'; +import path from 'node:path'; +import fs from 'node:fs'; /** * Read environment variables from file. diff --git a/web/postcss.config.mjs b/web/postcss.config.mjs index c7bcb4b1e..0fee6fca6 100644 --- a/web/postcss.config.mjs +++ b/web/postcss.config.mjs @@ -1,5 +1,5 @@ const config = { - plugins: ["@tailwindcss/postcss"], + plugins: ['@tailwindcss/postcss'] }; export default config;