Fix eslintrc

This commit is contained in:
Marc Rousavy 2021-02-20 17:04:30 +01:00
parent 9897eec6aa
commit f80888a075

View File

@ -1,11 +1,9 @@
module.exports = { module.exports = {
root: true, root: true,
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
globals: {
Logger: true,
performance: true,
},
parserOptions: { parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
}, },
@ -82,32 +80,5 @@ module.exports = {
}, },
env: { env: {
node: true, node: true,
'react-native/react-native': true,
},
settings: {
react: {
version: 'latest',
},
'import/resolver': {
extensions: [
'.js',
'.jsx',
'.ts',
'.tsx',
'.d.ts',
'.android.js',
'.android.jsx',
'.android.ts',
'.android.tsx',
'.ios.js',
'.ios.jsx',
'.ios.ts',
'.ios.tsx',
'.web.js',
'.web.jsx',
'.web.ts',
'.web.tsx',
],
},
}, },
}; };