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