1. Fixed docs navigation (#119)

2. Removed rule "@typescript-eslint/ prefer-nullish-coalescing", it's a source of bugs
This commit is contained in:
Giancarlo Buomprisco
2025-01-28 17:19:19 +07:00
committed by GitHub
parent 1ef522d373
commit 31a35319fd
3 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ function Node({
prefix: string; prefix: string;
}) { }) {
const url = `${prefix}/${node.slug}`; const url = `${prefix}/${node.slug}`;
const label = node.label ?? node.title; const label = node.label ? node.label : node.title;
const Container = (props: React.PropsWithChildren) => { const Container = (props: React.PropsWithChildren) => {
if (node.collapsible) { if (node.collapsible) {

View File

@@ -1,6 +1,6 @@
{ {
"name": "next-supabase-saas-kit-turbo", "name": "next-supabase-saas-kit-turbo",
"version": "2.0.1", "version": "2.0.2",
"private": true, "private": true,
"sideEffects": false, "sideEffects": false,
"engines": { "engines": {

View File

@@ -25,6 +25,7 @@ const config = {
'@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/non-nullable-type-assertion-style': 'off', '@typescript-eslint/non-nullable-type-assertion-style': 'off',
'@typescript-eslint/only-throw-error': 'off', '@typescript-eslint/only-throw-error': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-unused-vars': [ '@typescript-eslint/no-unused-vars': [
'error', 'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, { argsIgnorePattern: '^_', varsIgnorePattern: '^_' },