Closed yangyile1990 closed 1 month ago
I know it is better to program not use chinese. while as you see, my english is very not good. so I have to write chinese function name in my code. maybe I can use pinyin but it is not easy to read. so could you please help me to fix this problem.
even I set "semi": false
while not work.
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 4,
"singleQuote": true,
"printWidth": 120,
"bracketSameLine": false,
"trailingComma": "all"
}
please help me. thank you.
Duplicate of #13647
ok. thankyou.
Before use prettier my code is this:
while after use "format": "prettier --write src" my code is:
so it is wrong to add ";" at the end of the function name. this make my produre can not work. so please help me to fix it.
now my code is this and it can avoid this problem when use format: