mirror of https://github.com/sylv/micro.git
24 lines
654 B
JavaScript
24 lines
654 B
JavaScript
module.exports = {
|
|
extends: require.resolve('@atlasbot/configs/eslint/react'),
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
'jsx-a11y/no-autofocus': 'off',
|
|
'jsx-a11y/media-has-caption': 'off',
|
|
'unicorn/consistent-destructuring': 'off',
|
|
'react/react-in-jsx-scope': 'off',
|
|
'unicorn/filename-case': 'off',
|
|
'import/no-default-export': 'off',
|
|
'@typescript-eslint/consistent-type-imports': [
|
|
'error',
|
|
{
|
|
prefer: 'type-imports',
|
|
disallowTypeAnnotations: false,
|
|
fixStyle: 'separate-type-imports',
|
|
},
|
|
],
|
|
},
|
|
};
|