2021-07-28 22:15:52 +09:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'plugin:react/recommended',
|
|
|
|
'airbnb',
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
|
|
|
},
|
|
|
|
ecmaVersion: 12,
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
'react',
|
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
'linebreak-style': 0,
|
|
|
|
'no-underscore-dangle': 0,
|
2022-02-05 21:19:51 +09:00
|
|
|
'react/no-unstable-nested-components': [
|
|
|
|
'error',
|
|
|
|
{ allowAsProps: true },
|
|
|
|
],
|
2021-07-28 22:15:52 +09:00
|
|
|
},
|
|
|
|
};
|