Skip to content

Commit

Permalink
Merge pull request #225 from NFDI4Chem/feat-nmrium-v59
Browse files Browse the repository at this point in the history
feat: update NMRium to version 0.59.0
  • Loading branch information
CS76 authored Aug 14, 2024
2 parents 2767263 + 45b7ff4 commit 63a22d5
Show file tree
Hide file tree
Showing 8 changed files with 4,387 additions and 4,232 deletions.
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .eslintrc.yml

This file was deleted.

47 changes: 47 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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',
'coverage',
'lib',
'lib-cjs',
'node_modules',
'playwright-report',
'public',
'vite.config.ts'
],
},
...ts,
...unicorn,
...react,
{
rules: {
'import/default': 'off',
'import/no-unresolved': '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',
'no-restricted-imports': [
'error',
{
name: 'lodash',
message: "Use a deep import instead, like for example 'lodash/get'",
},
{
name: '@simbathesailor/use-what-changed',
message: 'Remove use-what-changed before committing the code',
}
],
'react/no-unknown-property': ['error', { ignore: ['css'] }],
},
},
];
Loading

0 comments on commit 63a22d5

Please sign in to comment.