mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
38 lines
825 B
JavaScript
38 lines
825 B
JavaScript
module.exports = {
|
|
extends: ['../../.eslintrc.js'],
|
|
ignorePatterns: ['/*.js', '/*.d.ts'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
|
|
rules: {},
|
|
},
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
rules: {},
|
|
},
|
|
{
|
|
files: ['*.js', '*.jsx'],
|
|
rules: {},
|
|
},
|
|
],
|
|
rules: {
|
|
'react/jsx-uses-react': 'off',
|
|
'react/react-in-jsx-scope': 'off',
|
|
'react/require-default-props': 'off',
|
|
'react/destructuring-assignment': 'off',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
endOfLine: 'auto',
|
|
},
|
|
],
|
|
'react/jsx-filename-extension': [
|
|
'error',
|
|
{ extensions: ['.js', '.tsx', '.jsx'] },
|
|
],
|
|
'react/jsx-props-no-spreading': 'off',
|
|
'react/no-unstable-nested-components': 'off',
|
|
'no-use-before-define': 'off',
|
|
},
|
|
};
|