Closed JiangWeixian closed 3 years ago
🙈 there is too much lint error, may i set
"singleQuote": false
in eslintrc.js
eslint doesn't show these errors on my side, not sure what this would be... editor setting?
eslint doesn't show these errors on my side, not sure what this would be... editor setting?
🤔 it's weird, could you execute yarn lint
locally, if there are any lint error like these?
There aren't errors, I'll also note that the default in prettier is double quotes: https://prettier.io/docs/en/rationale.html#strings
There aren't errors, I'll also note that the default in prettier is double quotes: prettier.io/docs/en/rationale.html#strings
thx reply, i clone repo on another pc, not prettier error anymore 🎉.
props.onChange
should be optionalstyle
should defined asReact.CSSProperties