2020-08-12 19:24:32 +08:00
|
|
|
module.exports = {
|
|
|
|
extends: [
|
2020-08-12 20:08:06 +08:00
|
|
|
'plugin:react/recommended',
|
2020-08-12 19:24:32 +08:00
|
|
|
'@antfu/eslint-config-ts',
|
|
|
|
],
|
2021-03-13 21:09:53 +08:00
|
|
|
settings: {
|
|
|
|
react: {
|
2021-03-15 01:53:40 +08:00
|
|
|
version: '17.0',
|
2021-03-13 21:09:53 +08:00
|
|
|
},
|
|
|
|
},
|
2020-08-12 20:08:06 +08:00
|
|
|
rules: {
|
|
|
|
'jsx-quotes': [
|
|
|
|
'error',
|
|
|
|
'prefer-double',
|
|
|
|
],
|
|
|
|
},
|
2020-08-12 19:24:32 +08:00
|
|
|
}
|