27 lines
406 B
JavaScript
27 lines
406 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
'plugin:react/recommended',
|
|
'xo',
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 12,
|
|
sourceType: 'module',
|
|
},
|
|
plugins: [
|
|
'react',
|
|
"@typescript-eslint"
|
|
],
|
|
rules: {
|
|
"arrow-parens": ["error", "always"],
|
|
"indent": ["error", 4]
|
|
},
|
|
};
|