File tree Expand file tree Collapse file tree 7 files changed +9
-8
lines changed
Expand file tree Collapse file tree 7 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11{
2- "$schema" : " https://biomejs.dev/schemas/2.3.11 /schema.json" ,
2+ "$schema" : " https://biomejs.dev/schemas/2.3.13 /schema.json" ,
33 "linter" : {
44 "enabled" : true ,
55 "rules" : {
4848 " !src-web/routeTree.gen.ts" ,
4949 " !packages/plugin-runtime-types/lib" ,
5050 " !**/bindings" ,
51- " !flatpak"
51+ " !flatpak" ,
52+ " !npm"
5253 ]
5354 }
5455}
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { Link } from '../core/Link';
1313import { PlainInput } from '../core/PlainInput' ;
1414import { Separator } from '../core/Separator' ;
1515import { HStack , VStack } from '../core/Stacks' ;
16- import { LocalImage } from '../LocalImage' ;
1716
1817export function SettingsLicense ( ) {
1918 return (
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { useMemo } from 'react';
55import { Overlay } from '../Overlay' ;
66import { Heading } from './Heading' ;
77import { IconButton } from './IconButton' ;
8- import { DialogSize } from '@yaakapp-internal/plugins' ;
8+ import type { DialogSize } from '@yaakapp-internal/plugins' ;
99
1010export interface DialogProps {
1111 children : ReactNode ;
Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ function EditorInner({
327327 ) ;
328328
329329 // Update the language extension when the language changes
330+ // biome-ignore lint/correctness/useExhaustiveDependencies: intentionally limited deps
330331 useEffect ( ( ) => {
331332 if ( cm . current === null ) return ;
332333 const { view, languageCompartment } = cm . current ;
@@ -360,6 +361,7 @@ function EditorInner({
360361 ] ) ;
361362
362363 // Initialize the editor when ref mounts
364+ // biome-ignore lint/correctness/useExhaustiveDependencies: only reinitialize when necessary
363365 const initEditorRef = useCallback (
364366 function initEditorRef ( container : HTMLDivElement | null ) {
365367 if ( container === null ) {
Original file line number Diff line number Diff line change 1- import { useCachedNode } from '@dnd-kit/core/dist/hooks/utilities' ;
1+
22import type { GitStatusEntry } from '@yaakapp-internal/git' ;
33import { useGit } from '@yaakapp-internal/git' ;
44import type {
@@ -12,7 +12,6 @@ import type {
1212import classNames from 'classnames' ;
1313import { useCallback , useMemo , useState } from 'react' ;
1414import { modelToYaml } from '../../lib/diffYaml' ;
15- import { isSubEnvironment } from '../../lib/model_util' ;
1615import { resolvedModelName } from '../../lib/resolvedModelName' ;
1716import { showErrorToast } from '../../lib/toast' ;
1817import { Banner } from '../core/Banner' ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function SyncDropdownWithSyncDir({ syncDir }: { syncDir: string }) {
7575
7676 const currentBranch = status . data . headRefShorthand ;
7777 const hasChanges = status . data . entries . some ( ( e ) => e . status !== 'current' ) ;
78- const hasRemotes = ( status . data . origins ?? [ ] ) . length > 0 ;
78+ const _hasRemotes = ( status . data . origins ?? [ ] ) . length > 0 ;
7979 const { ahead, behind } = status . data ;
8080
8181 const tryCheckout = ( branch : string , force : boolean ) => {
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ function bannerColorVariables(color: YaakColor | null): Partial<CSSVariables> {
138138 } ;
139139}
140140
141- function inputCSS ( color : YaakColor | null ) : Partial < CSSVariables > {
141+ function _inputCSS ( color : YaakColor | null ) : Partial < CSSVariables > {
142142 if ( color == null ) return { } ;
143143
144144 const theme : Partial < ThemeComponentColors > = {
You can’t perform that action at this time.
0 commit comments