1. Fixed docs navigation (#119)
2. Removed rule "@typescript-eslint/ prefer-nullish-coalescing", it's a source of bugs
This commit is contained in:
committed by
GitHub
parent
1ef522d373
commit
31a35319fd
@@ -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) {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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: '^_' },
|
||||||
|
|||||||
Reference in New Issue
Block a user