Skip to content

Commit

Permalink
fix: eslint module resolver rules fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0trpietruszewski committed Sep 24, 2020
1 parent fd7e4c5 commit 4cc593c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions examples/expo/.eslintignore
@@ -0,0 +1,3 @@

metro.config.js

2 changes: 1 addition & 1 deletion examples/expo/.eslintrc.js
Expand Up @@ -31,7 +31,7 @@ module.exports = {
'import/prefer-default-export': 0,
'import/no-cycle': [1, { maxDepth: 1 }],
'import/no-unresolved': ['error', { ignore: ['react', 'react-native'] }],
'import/no-extraneous-dependencies': ['error', { packageDir: './' }],
'import/no-extraneous-dependencies': ['warn', { packageDir: ['./'] }],
'no-unused-vars': [2, { argsIgnorePattern: '^_' }],
'no-underscore-dangle': 0,
'max-len': [1, 100],
Expand Down
4 changes: 2 additions & 2 deletions examples/reactNative/.eslintrc.js
Expand Up @@ -30,8 +30,8 @@ module.exports = {
'react-native/no-color-literals': 0,
'import/prefer-default-export': 0,
'import/no-cycle': [1, { maxDepth: 1 }],
'import/no-unresolved': ['error', { ignore: ['react', 'react-native'] }],
'import/no-extraneous-dependencies': ['error', { packageDir: './' }],
'import/no-unresolved': ['error', { ignore: ['react-native-sticky-parallax-header'] }],
'import/no-extraneous-dependencies': ['warn', { packageDir: ['./'] }],
'no-unused-vars': [2, { argsIgnorePattern: '^_' }],
'no-underscore-dangle': 0,
'max-len': [1, 100],
Expand Down

0 comments on commit 4cc593c

Please sign in to comment.