Skip to content

Commit

Permalink
refactor: apply the ESlint rules for ( react and typescript ) from ch…
Browse files Browse the repository at this point in the history
…eminfo
  • Loading branch information
hamed-musallam committed Aug 30, 2023
1 parent 4f3248d commit 10869fa
Show file tree
Hide file tree
Showing 18 changed files with 802 additions and 1,238 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
node_modules
public
public
src/*.json
93 changes: 0 additions & 93 deletions .eslintrc.json

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.yml
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
Loading

0 comments on commit 10869fa

Please sign in to comment.