[Adonis 41] - How can i configure my VS Code to not add semicolon at end of each line ? #1405
Answered
by
kennedyrs
wemersonrv
asked this question in
Help
-
Hey guys, How can i configure my VS Code to not add semicolon at end of each line ? I know using it or not will not change anything on my app, but i just want to make it works equal to the rest of the code created by adonis-cli. |
Beta Was this translation helpful? Give feedback.
Answered by
kennedyrs
Aug 6, 2020
Replies: 1 comment 1 reply
-
You can use Prettier yarn add -D prettier eslint-config-prettier eslint-plugin-prettier then, create a prettier.config.js at the root of the project with module.exports = {
//singleQuote: true,
//trailingComma: 'all',
//arrowParens: 'avoid',
semi: false,
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wemersonrv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use Prettier
then, create a prettier.config.js at the root of the project with