Skip to content

Commit

Permalink
chore: add settings to workspace settings.json to ensure consistent f…
Browse files Browse the repository at this point in the history
…ormatting for all team members (#5898)
  • Loading branch information
daphne-sfdc authored Oct 15, 2024
1 parent abcf631 commit 2867225
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"printWidth": 80,
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
Expand Down
25 changes: 21 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"**/out": true
},
"typescript.tsdk": "./node_modules/typescript/lib",
"editor.tabSize": 2,
"editor.formatOnSave": true,
"rewrap.wrappingColumn": 80,
"eslint.workingDirectories": [
"./packages/salesforcedx-apex-replay-debugger",
"./packages/salesforcedx-vscode-visualforce",
Expand All @@ -34,5 +31,25 @@
"./packages/salesforcedx-vscode-lightning",
"./packages/salesforcedx-sobjects-faux-generator"
],
"files.insertFinalNewline": true
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.formatOnSave": true,
"eslint.enable": true,
"eslint.run": "onSave",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"prettier.singleQuote": true,
"prettier.trailingComma": "none",
"prettier.tabWidth": 2,
"prettier.useTabs": false,
"prettier.printWidth": 120,
"prettier.arrowParens": "avoid",
"editor.rulers": [
120
]
}

0 comments on commit 2867225

Please sign in to comment.