Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jan 19, 2024
1 parent 0fc5970 commit 0118843
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ module.exports = {
},
],
'import/extensions': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
},
ignorePatterns: [
'**/node_modules/**',
Expand All @@ -105,6 +106,5 @@ module.exports = {
'templates',
'external',
'.nx',
'**/database.types.ts',
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ export const SharedPresentations = () => {
column.key === 'actions'
? 'text-end'
: column.key === 'title'
? 'text-start'
: 'text-center'
? 'text-start'
: 'text-center'
)}
>
{column.label}
Expand All @@ -229,8 +229,8 @@ export const SharedPresentations = () => {
columnKey === 'actions'
? 'text-end'
: columnKey === 'title'
? 'text-start'
: 'text-center'
? 'text-start'
: 'text-center'
)}
>
{renderCell(item, columnKey)}
Expand Down
44 changes: 22 additions & 22 deletions packages/dapp/src/utils/supabase/database.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ export type Tables<
? R
: never
: PublicTableNameOrOptions extends keyof (Database['public']['Tables'] &
Database['public']['Views'])
? (Database['public']['Tables'] &
Database['public']['Views'])[PublicTableNameOrOptions] extends {
Row: infer R;
}
? R
: never
: never;
Database['public']['Views'])
? (Database['public']['Tables'] &
Database['public']['Views'])[PublicTableNameOrOptions] extends {
Row: infer R;
}
? R
: never
: never;

export type TablesInsert<
PublicTableNameOrOptions extends
Expand All @@ -167,12 +167,12 @@ export type TablesInsert<
? I
: never
: PublicTableNameOrOptions extends keyof Database['public']['Tables']
? Database['public']['Tables'][PublicTableNameOrOptions] extends {
Insert: infer I;
}
? I
: never
: never;
? Database['public']['Tables'][PublicTableNameOrOptions] extends {
Insert: infer I;
}
? I
: never
: never;

export type TablesUpdate<
PublicTableNameOrOptions extends
Expand All @@ -188,12 +188,12 @@ export type TablesUpdate<
? U
: never
: PublicTableNameOrOptions extends keyof Database['public']['Tables']
? Database['public']['Tables'][PublicTableNameOrOptions] extends {
Update: infer U;
}
? U
: never
: never;
? Database['public']['Tables'][PublicTableNameOrOptions] extends {
Update: infer U;
}
? U
: never
: never;

export type Enums<
PublicEnumNameOrOptions extends
Expand All @@ -205,5 +205,5 @@ export type Enums<
> = PublicEnumNameOrOptions extends { schema: keyof Database }
? Database[PublicEnumNameOrOptions['schema']]['Enums'][EnumName]
: PublicEnumNameOrOptions extends keyof Database['public']['Enums']
? Database['public']['Enums'][PublicEnumNameOrOptions]
: never;
? Database['public']['Enums'][PublicEnumNameOrOptions]
: never;

0 comments on commit 0118843

Please sign in to comment.