26 lines
646 B
JavaScript
26 lines
646 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
ignorePatterns: [
|
|
'node_modules/',
|
|
'.expo/',
|
|
'dist/',
|
|
'metro.config.ts',
|
|
'babel.config.js',
|
|
'.eslintrc.js',
|
|
'.prettierrc',
|
|
],
|
|
};
|