fix linting

This commit is contained in:
Nate Kelley 2025-05-29 07:42:02 -06:00
parent 17cb37c9b1
commit 8e3fbcee24
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
6 changed files with 24 additions and 13 deletions

View File

@ -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)'],

View File

@ -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"

View File

@ -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);

View File

@ -142,8 +142,6 @@
"typescript": "^5"
},
"msw": {
"workerDirectory": [
"public"
]
"workerDirectory": ["public"]
}
}

View File

@ -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.

View File

@ -1,5 +1,5 @@
const config = {
plugins: ["@tailwindcss/postcss"],
plugins: ['@tailwindcss/postcss']
};
export default config;