Skip to content

Commit 63a22d5

Browse files
authored
Merge pull request #225 from NFDI4Chem/feat-nmrium-v59
feat: update NMRium to version 0.59.0
2 parents 2767263 + 45b7ff4 commit 63a22d5

8 files changed

Lines changed: 4387 additions & 4232 deletions

File tree

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import react from 'eslint-config-cheminfo-react/base';
2+
import ts from 'eslint-config-cheminfo-typescript/base';
3+
import unicorn from 'eslint-config-cheminfo-typescript/unicorn';
4+
5+
export default [
6+
{
7+
ignores: [
8+
'dist',
9+
'build',
10+
'coverage',
11+
'lib',
12+
'lib-cjs',
13+
'node_modules',
14+
'playwright-report',
15+
'public',
16+
'vite.config.ts'
17+
],
18+
},
19+
...ts,
20+
...unicorn,
21+
...react,
22+
{
23+
rules: {
24+
'import/default': 'off',
25+
'import/no-unresolved': 'off',
26+
'react-refresh/only-export-components': 'off',
27+
'@typescript-eslint/no-explicit-any': 'off',
28+
'@typescript-eslint/naming-convention': 'off',
29+
'@typescript-eslint/no-implied-eval': 'off',
30+
'@typescript-eslint/no-misused-promises': 'off',
31+
'@typescript-eslint/restrict-plus-operands': 'off',
32+
'react/no-unstable-nested-components': 'off',
33+
'no-restricted-imports': [
34+
'error',
35+
{
36+
name: 'lodash',
37+
message: "Use a deep import instead, like for example 'lodash/get'",
38+
},
39+
{
40+
name: '@simbathesailor/use-what-changed',
41+
message: 'Remove use-what-changed before committing the code',
42+
}
43+
],
44+
'react/no-unknown-property': ['error', { ignore: ['css'] }],
45+
},
46+
},
47+
];

0 commit comments

Comments
 (0)