Skip to content

Commit

Permalink
Update .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mansi-square committed May 27, 2024
1 parent fdfaa78 commit 2f0d8d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions react-native-in-app-payments-quickstart/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions:{
project: './tsconfig.json',
createDefaultProgram: true,
},
parser: 'babel-eslint',
root: true,
extends: [
'airbnb-typescript',
'airbnb',
'plugin:react-native/all',
],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
moduleDirectory: ['node_modules', './'],
},
},
},
Expand All @@ -21,7 +19,6 @@ module.exports = {
],
env: {
'react-native/react-native': true,
jest: true,
},
rules: {
'react-native/no-unused-styles': 2,
Expand All @@ -34,5 +31,8 @@ module.exports = {
'no-console': 0,
'react/forbid-prop-types': 0,
'class-methods-use-this': 0,
'import/no-extraneous-dependencies': 0,
'import/extensions': 0,
'import/no-unresolved': 2,
},
};

0 comments on commit 2f0d8d8

Please sign in to comment.