Closed marian51 closed 3 months ago
During a meeting we decided to use Prettier globally. Semicolons according to Google's TS formatting guide.
It should be easy to set prettier config in project: https://prettier.io/docs/en/configuration
We can set it in package.json
file, eq:
"prettier":{
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"printWidth": 150
}
or in external file named prettier.config.js
const config = {
tabWidth: 2,
semi: true,
singleQuote: false,
printWidth: 150
}
module.exports = config
... and decide whether to use semicolons