Skip to content

Commit

Permalink
chore: add vscode settings file (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Mar 12, 2022
1 parent a23168d commit 3fe8ec2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ pnpm-lock.yaml
!.ncurc.js
!.github
!.husky
!.vscode
29 changes: 29 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// These are Visual Studio Code settings that should apply to this particular repository
{
// ----------------
// Vanilla settings
// ----------------

// This matches the Canonical ESLint Config
// https://www.npmjs.com/package/eslint-config-canonical
"editor.rulers": [100],
"editor.tabSize": 2,

// Linux line endings are used in this project
"files.eol": "\n",

// Automatically removing all trailing whitespace when saving a file
"files.trimTrailingWhitespace": true,

// ----------
// JavaScript
// ----------

// Automatically run the formatter when a JavaScript file is saved
"[javascript]": {
"editor.codeActionsOnSave": [
"source.fixAll.eslint",
],
"editor.tabSize": 2,
},
}

0 comments on commit 3fe8ec2

Please sign in to comment.