Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
334b7f8
feat: load spectra from external sources via `spectra` query param
hamed-musallam Jul 20, 2026
bd31619
chore: update Node and clean up dependencies
hamed-musallam Aug 24, 2026
93ca0c4
chore: update dependencies
hamed-musallam Aug 24, 2026
8e382c6
feat: upgrade NMRium to v2.6.0
hamed-musallam Aug 24, 2026
c083325
feat: add advanced file filtering to spectrum loading
hamed-musallam Aug 24, 2026
ffb97b5
feat: update NMRium to version 2.7.0
hamed-musallam Aug 27, 2026
793067d
feat: add highlightPeak action-request for host-driven peak highlighting
vcnainala Oct 3, 2026
5055420
fix: satisfy ESLint rules in highlight bridge
vcnainala Oct 3, 2026
2193ddf
Merge pull request #315 from NFDI4Chem/feat/highlight-peak-action-req…
vcnainala Oct 4, 2026
7cf9503
Revert "Merge pull request #315 from NFDI4Chem/feat/highlight-peak-ac…
vcnainala Oct 4, 2026
07833b9
Merge pull request #316 from NFDI4Chem/revert/highlight-peak-bridge
vcnainala Oct 6, 2026
d90d4e7
feat: update NMRium to version 3.1
hamed-musallam Oct 8, 2026
0f689c4
chore: update dependencies
hamed-musallam Oct 8, 2026
1f78cd5
feat: highlight peaks and signals via NMRium's controllable highlight…
vcnainala Oct 4, 2026
d8c6142
test(e2e): highlight a signal on another nucleus tab
vcnainala Oct 4, 2026
5b33732
refactor: drive host highlights through NMRium's highlightedIds prop
vcnainala Oct 6, 2026
2997bcb
refactor: pass host-supplied ids straight to highlightedIds
vcnainala Oct 9, 2026
367eca9
test(e2e): select the 1H tab before highlighting 1H ids
vcnainala Oct 9, 2026
d140a46
Merge pull request #317 from NFDI4Chem/feat/highlight-peak-controllable
vcnainala Oct 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .ncurc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Do not update to React 19 because some packages not compatible with React 19
reject:
- react
- react-dom
- '@types/react'
- '@types/react-dom'
# remove this when typescript-eslint supports the current TypeScript version 7.
-typescript
10 changes: 0 additions & 10 deletions babel.config.js

This file was deleted.

85 changes: 61 additions & 24 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,52 +1,89 @@
import { defineConfig, globalIgnores } from 'eslint/config';
import react from 'eslint-config-cheminfo-react/base';
import ts from 'eslint-config-cheminfo-typescript/base';
import unicorn from 'eslint-config-cheminfo-typescript/unicorn';

export default [
{
ignores: [
'dist',
'build',
'releases',
'node_modules',
'playwright-report',
'public',
'vite.config.ts',
],
},
...ts,
...unicorn,
...react,
export default defineConfig(
globalIgnores([
'dist',
'lib',
'releases',
'node_modules',
'playwright-report',
'test-results',
'public',
'vite.config.ts'
]),
ts,
unicorn,
react,
{
files: ['**/*.{ts,tsx,cts,mts}'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-deprecated': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-implied-eval': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/no-useless-default-assignment': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/switch-exhaustiveness-check': 'off',
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
},
},
{
rules: {
'@eslint-react/dom-no-missing-iframe-sandbox': 'off',
'@eslint-react/naming-convention-ref-name': 'off',
'@eslint-react/no-children-count': 'off',
'@eslint-react/no-children-map': 'off',
'@eslint-react/no-children-to-array': 'off',
'@eslint-react/no-clone-element': 'off',
'@eslint-react/no-unstable-default-props': 'off',
'@eslint-react/purity': 'off',
'@eslint-react/refs': 'off',
'@eslint-react/set-state-in-effect': 'off',
'@eslint-react/static-components': 'off',
'@eslint-react/use-state': 'off',
'import/default': 'off',
'import/no-unresolved': 'off',
'react-you-might-not-need-an-effect/no-adjust-state-on-prop-change':
'off',
'react-you-might-not-need-an-effect/no-chain-state-updates': 'off',
'react-you-might-not-need-an-effect/no-derived-state': 'off',
'react-you-might-not-need-an-effect/no-event-handler': 'off',
'react-you-might-not-need-an-effect/no-external-store-subscription':
'off',
'react-you-might-not-need-an-effect/no-pass-data-to-parent': 'off',
'prefer-named-capture-group': 'off',
'react-hooks/preserve-manual-memoization': 'off',
'react-refresh/only-export-components': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-implied-eval': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'react/no-unstable-nested-components': 'off',
'unicorn/consistent-boolean-name': 'off',
'unicorn/max-nested-calls': 'off',
'unicorn/name-replacements': 'off',
'unicorn/no-computed-property-existence-check': 'off',
'unicorn/no-non-function-verb-prefix': 'off',
'unicorn/no-unreadable-for-of-expression': 'off',
'unicorn/no-unreadable-object-destructuring': 'off',
'unicorn/no-unsafe-string-replacement': 'off',
'unicorn/no-useless-else': 'off',
'unicorn/prefer-await': 'off',
'unicorn/prefer-combined-guards': 'off',
'unicorn/prefer-continue': 'off',
'unicorn/prefer-early-return': 'off',
'no-restricted-imports': [
'error',
{
name: 'lodash',
message: "Use a deep import instead, like for example 'lodash/get'",
message:
"Use a deep import instead, like for example 'lodash/merge.js'",
},
{
name: '@simbathesailor/use-what-changed',
message: 'Remove use-what-changed before committing the code',
}
],
'react/no-unknown-property': ['error', { ignore: ['css'] }],
},
},
];
);
Loading
Loading