Skip to content

Commit

Permalink
fix dependencies and add eslint rule to check it
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Mar 24, 2023
1 parent 73907c6 commit 43b7473
Show file tree
Hide file tree
Showing 6 changed files with 869 additions and 213 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ settings:
version: detect
extends:
- 'eslint:recommended'
- 'plugin:import/recommended'
- 'plugin:react/recommended'
- 'plugin:react/jsx-runtime'
- 'plugin:react-hooks/recommended'
rules:
'import/no-extraneous-dependencies':
[error, { devDependencies: ['**/*.config.{js,ts}', 'tests/**'] }]
overrides:
- files: '**/*.js'
env:
Expand All @@ -23,6 +27,7 @@ overrides:
project: ['tsconfig.json']
plugins: ['@typescript-eslint']
extends:
- 'plugin:import/typescript'
- 'plugin:@typescript-eslint/strict'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
Expand Down
Loading

0 comments on commit 43b7473

Please sign in to comment.