eslint-config/packages/react/index.js

18 lines
247 B
JavaScript
Raw Normal View History

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: {
version: 'detect',
},
},
2020-08-12 20:08:06 +08:00
rules: {
'jsx-quotes': [
'error',
'prefer-double',
],
},
2020-08-12 19:24:32 +08:00
}