Skip to content

Commit

Permalink
Merge pull request #299 from kn-ms/code_formatting
Browse files Browse the repository at this point in the history
Code formatting
  • Loading branch information
kondratyev-nv authored Sep 9, 2023
2 parents 2d3a15a + d120daf commit cabe47d
Show file tree
Hide file tree
Showing 66 changed files with 1,349 additions and 1,309 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"ms-vscode.vscode-typescript-tslint-plugin"
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
}
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"name": "Run extension",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/out"],
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "npm: build",
"env": {
"SOME_PROCESS_VARIABLE": "HelloFromProcessEnv"
Expand Down
19 changes: 12 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
"typescript.implementationsCodeLens.enabled": true,
"tslint.enable": true,
"tslint.alwaysShowStatus": true,
"tslint.autoFixOnSave": true,
"editor.rulers": [120]
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
"typescript.implementationsCodeLens.enabled": true,
"tslint.enable": true,
"tslint.alwaysShowStatus": true,
"tslint.autoFixOnSave": true,
"editor.rulers": [120],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.format.enable": true,
"prettier.enable": true,
"prettier.prettierPath": "./node_modules/prettier",
"prettier.requireConfig": true
}
147 changes: 147 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cabe47d

Please sign in to comment.