You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
506 B
26 lines
506 B
3 years ago
|
module.exports = {
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
||
|
extends: [
|
||
|
'plugin:@typescript-eslint/recommended',
|
||
|
'plugin:react/recommended',
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 2018,
|
||
|
sourceType: 'module',
|
||
|
ecmaFeatures: {
|
||
|
jsx: true,
|
||
|
},
|
||
|
},
|
||
|
rules: {
|
||
|
'react/prop-types': 'off',
|
||
|
'linebreak-style': 'off',
|
||
|
},
|
||
|
ignorePatterns: ['node_modules', 'lib'],
|
||
|
settings: {
|
||
|
react: {
|
||
|
version: 'detect',
|
||
|
},
|
||
|
},
|
||
|
};
|