Shared Prettier configuration for usage within the fullstax Gmbh & CO. KG.
npm install --save-dev @fullstax/prettier-configPlease choose ONE of the following options:
{
"name": "β¦",
"version": "β¦",
"prettier": "@fullstax/prettier-config"
}This option is useful, if you want to overwrite the common config with a project-specific one.
module.exports = {
...require("@fullstax/prettier-config"),
"printWidth": 80,
};settings.json
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.detectIndentation": true,
"editor.insertSpaces": false,
"editor.tabSize": 2,
"editor.wordWrapColumn": 100,
"editor.selectionClipboard": false,
"markdownlint.config": {
"line-length": false,
"no-duplicate-heading": false,
"no-hard-tabs": false
},
"[javascript]": {
"editor.formatOnSave": true
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}