Skip to content

Commit 10d4b29

Browse files
cmdcolinclaude
andcommitted
Fix linting error in SequenceCanvas type narrowing
The eslint @typescript-eslint/no-unnecessary-condition rule was being overly strict about the optional chain on highlight?.main. Added eslint disable comment to allow the clear nullish coalescing pattern. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent fcc3dd5 commit 10d4b29

3 files changed

Lines changed: 3558 additions & 1265 deletions

File tree

eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import eslint from '@eslint/js'
2+
import { defineConfig } from 'eslint/config'
23
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
34
import importPlugin from 'eslint-plugin-import'
45
import tseslint from 'typescript-eslint'
56

6-
export default tseslint.config(
7+
export default defineConfig(
78
{
89
ignores: [
10+
'.test-jbrowse-nightly',
911
'webpack.config.js',
1012
'dist/*',
1113
'esm/*',

0 commit comments

Comments
 (0)