Version 3 of the kit: - Radix UI replaced with Base UI (using the Shadcn UI patterns) - next-intl replaces react-i18next - enhanceAction deprecated; usage moved to next-safe-action - main layout now wrapped with [locale] path segment - Teams only mode - Layout updates - Zod v4 - Next.js 16.2 - Typescript 6 - All other dependencies updated - Removed deprecated Edge CSRF - Dynamic Github Action runner
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["react", "nextjs", "import"],
|
|
"rules": {
|
|
"no-undef": "off",
|
|
"typescript/triple-slash-reference": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"import/no-anonymous-default-export": "off",
|
|
"import/named": "off",
|
|
"import/namespace": "off",
|
|
"import/default": "off",
|
|
"import/no-unresolved": "off",
|
|
"import/no-named-as-default-member": "off",
|
|
"import/no-named-as-default": "off",
|
|
"import/no-cycle": "off",
|
|
"import/no-unused-modules": "off",
|
|
"import/no-deprecated": "off",
|
|
"typescript/array-type": "off",
|
|
"typescript/no-unsafe-assignment": "off",
|
|
"typescript/no-unsafe-argument": "off",
|
|
"typescript/consistent-type-definitions": "off",
|
|
"typescript/no-unsafe-member-access": "off",
|
|
"typescript/non-nullable-type-assertion-style": "off",
|
|
"typescript/only-throw-error": "off",
|
|
"typescript/prefer-nullish-coalescing": "off",
|
|
"typescript/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"nextjs/no-html-link-for-pages": "off",
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"paths": [
|
|
{
|
|
"name": "react-i18next",
|
|
"importNames": ["Trans"],
|
|
"message": "Please use `@kit/ui/trans` instead"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": [
|
|
"**/node_modules",
|
|
"**/database.types.ts",
|
|
"**/.next",
|
|
"**/public",
|
|
"**/__tests__/",
|
|
"dist",
|
|
"pnpm-lock.yaml",
|
|
"apps/dev-tool",
|
|
"tooling/scripts"
|
|
]
|
|
}
|