-
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 #139 from NFDI4Chem/refactor-eslint-rules
refactor: apply the ESlint rules for ( react and typescript ) from ch…
- Loading branch information
Showing
18 changed files
with
802 additions
and
1,238 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist | ||
node_modules | ||
public | ||
public | ||
src/*.json |
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,22 @@ | ||
root: true | ||
extends: | ||
- cheminfo-react/base | ||
- cheminfo-typescript/base | ||
- cheminfo-typescript/unicorn | ||
rules: | ||
'import/default': off | ||
'import/no-unresolved': off | ||
'react-refresh/only-export-components': off | ||
'@typescript-eslint/naming-convention': off | ||
'@typescript-eslint/restrict-plus-operands': off | ||
'react/no-unstable-nested-components': off | ||
no-restricted-imports: | ||
- error | ||
- name: '@simbathesailor/use-what-changed' | ||
message: 'Remove use-what-changed before committing the code' | ||
react/no-unknown-property: | ||
- error | ||
- ignore: | ||
- 'css' | ||
parserOptions: | ||
sourceType: module |
Oops, something went wrong.