Skip to content

Instantly share code, notes, and snippets.

@mojoaxel
Last active October 27, 2021 08:52
Show Gist options
  • Save mojoaxel/c1d2d478c6967a3accf6ee9ed5084bed to your computer and use it in GitHub Desktop.
Save mojoaxel/c1d2d478c6967a3accf6ee9ed5084bed to your computer and use it in GitHub Desktop.
prettier.io settings for fullstax projects
{
"singleQuote": true,
"useTabs": true,
"semi": true,
"printWidth": 100,
"trailingComma": "none",
"arrowParens": "avoid"
}
{
"recommendations": [
"nrwl.angular-console",
"angular.ng-template",
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode",
"mtxr.sqltools",
"doi.fileHeaderComment"
]
}
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"editor.detectIndentation": true,
"editor.insertSpaces": false,
"editor.tabSize": 2,
"editor.wordWrapColumn": 100,
"markdownlint.config": {
"line-length": false,
"no-hard-tabs": false
},
"[javascript]": {
"editor.formatOnSave": true
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[handlebars]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[sql]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "mtxr.sqltools"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment