.eslintrc.js
module.exports = {
extends: ['taro/react'],
rules: {
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
"quotes": ["error", "double"],
"jsx-quotes": [
"error",
"prefer-double",
]
},
};
.prettierrc
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": false
}