15 lines
354 B
JavaScript
15 lines
354 B
JavaScript
const { defineConfig } = require('eslint/config');
|
|||
|
|
const expoConfig = require('eslint-config-expo/flat');
|
||
|
|
|
||
|
|
module.exports = defineConfig([
|
||
|
|
expoConfig,
|
||
|
|
{
|
||
|
|
ignores: ['dist/**', '.expo/**', '.npm-cache/**', 'coverage/**'],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
files: ['**/*.ts', '**/*.tsx'],
|
||
|
|
rules: {
|
||
|
|
'@typescript-eslint/no-explicit-any': 'error',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
]);
|