Brandon Presley
31f1528c35
The settings context was having a big performance impact on the app. We only truly need the theme + color to be a global context.
22 lines
509 B
JavaScript
22 lines
509 B
JavaScript
module.exports = {
|
|
root: true,
|
|
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',
|
|
semi: 'off',
|
|
curly: 'off',
|
|
'react/react-in-jsx-scope': 'off',
|
|
'react-native/no-inline-styles': 'off',
|
|
'no-spaced-func': 'off',
|
|
},
|
|
},
|
|
],
|
|
}
|