Skip to content

Commit

Permalink
up-to-date eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Feb 28, 2022
1 parent 65b4fd0 commit fa35cbe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
module.exports = {
root: true,
extends: ['@react-native-community', 'plugin:@typescript-eslint/recommended'],
extends: '@react-native-community',
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/no-shadow': ['error'],
'no-shadow': 'off',
'no-undef': 'off',
},
},
],
};

0 comments on commit fa35cbe

Please sign in to comment.