Search Posts

My default vscode setting

// Place your settings in this file to overwrite the default settings
{
    "material-icon-theme.showWelcomeMessage": false,
    "team.showWelcomeMessage": false,
    "workbench.startupEditor": "newUntitledFile",
    "workbench.iconTheme": "material-icon-theme",
    "editor.renderIndentGuides": false,
    "explorer.confirmDelete": false,
    "editor.tabSize": 4,
    "editor.insertSpaces": false,
    "editor.detectIndentation": false,
    "workbench.editor.enablePreview": false,
    "workbench.list.openMode": "doubleClick",
    "explorer.autoReveal": false
}

tslint.json

{
  "$schema": "https://dev.office.com/json-schemas/core-build/tslint.schema.json",
  // Display errors as warnings
  "displayAsWarning": true,
  // The TSLint task may have been configured with several custom lint rules
  // before this config file is read (for example lint rules from the tslint-microsoft-contrib
  // project). If true, this flag will deactivate any of these rules.
  "removeExistingRules": true,
  // When true, the TSLint task is configured with some default TSLint "rules.":
  "useDefaultConfigAsBase": false,
  // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules
  // which are active, other than the list of rules below.
  "lintConfig": {
    // Opt-in to Lint rules which help to eliminate bugs in JavaScript
    "rules": {
	  "quotemark": [true, "single"]
    }
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *