-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from NFDI4Chem/feat-nmrium-v59
feat: update NMRium to version 0.59.0
- Loading branch information
Showing
8 changed files
with
4,387 additions
and
4,232 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] }], | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.