Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 0 additions & 89 deletions .eslintrc.cjs

This file was deleted.

15 changes: 9 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
node_modules
.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/
**/.next/
**/out/

# production
**/build
Expand Down Expand Up @@ -38,10 +38,13 @@ yarn-error.log*


# testing
playwright/test-results
**/playwright/test-results/

# env
.env

# storybook
build-storybook.log
build-storybook.log

# turborepo
.turbo
60 changes: 0 additions & 60 deletions .prettierignore

This file was deleted.

31 changes: 0 additions & 31 deletions .prettierrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"typescript.tsdk": "node_modules/typescript/lib",
"javascript.validate.enable": true,
"editor.formatOnSave": true,
"prettier.configPath": ".prettierrc.cjs",
"eslint.workingDirectories": [{ "mode": "auto" }],
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions .storybook/preview.tsx → apps/web/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@
import superjson from 'superjson'
import { z } from 'zod'

import {
EnvProvider,
FeatureContext,
type EnvContextReturn,
} from '~/components/AppProviders'
import type { EnvContextReturn } from '~/components/AppProviders'
import { EnvProvider, FeatureContext } from '~/components/AppProviders'
import { DefaultFallback } from '~/components/ErrorBoundary'
import Suspense from '~/components/Suspense'
import { env } from '~/env.mjs'
Expand Down Expand Up @@ -164,7 +161,7 @@
return story()
}

mockdate.set(parameters.mockdate)

Check failure on line 164 in apps/web/.storybook/preview.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe argument of type `any` assigned to a parameter of type `string | number | Date`

const mockedDate = format(parameters.mockdate, 'dd-mm-yyyy HH:mma')

Expand Down
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions apps/web/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import baseConfig, { restrictEnvAccess } from '@starter-kit/eslint-config/base'
import nextjsConfig from '@starter-kit/eslint-config/nextjs'
import reactConfig from '@starter-kit/eslint-config/react'

/** @type {import('typescript-eslint').Config} */
export default [
{
ignores: ['.next/**', '!.storybook/**'],
},
...baseConfig,
...reactConfig,
...nextjsConfig,
...restrictEnvAccess,
{
files: ['**/*.ts', '**/*.tsx'],
rules: {
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{ ignorePrimitives: true },
],
},
},
]
File renamed without changes.
File renamed without changes.
Loading
Loading