Skip to content

Instantly share code, notes, and snippets.

@softwarespot
Created August 9, 2015 16:21
Show Gist options
  • Save softwarespot/6aec5acf7f5cbbf567c9 to your computer and use it in GitHub Desktop.
Save softwarespot/6aec5acf7f5cbbf567c9 to your computer and use it in GitHub Desktop.
Visual Studio Code settings
// Place your settings in this file to overwrite the default settings
{
// Controls the font family.
"editor.fontFamily": "Source Code Pro",
// When enabled, will trim trailing whitespace when you save a file.
"files.trimTrailingWhitespace": true,
// Don't spare curly brackets.
"javascript.validate.lint.curlyBracketsMustNotBeOmitted": "error",
// Empty block should have a comment.
"javascript.validate.lint.emptyBlocksWithoutComment": "warning",
// Use '!==' and '===' instead of '!=' and '=='.
"javascript.validate.lint.comparisonOperatorsNotStrict": "error",
// Missing semicolon.
"javascript.validate.lint.missingSemicolon": "error",
// Function inside loop.
"javascript.validate.lint.functionsInsideLoops": "error",
// Unused local function.
"javascript.validate.lint.unusedFunctions": "warning",
// Don't use an unknown property.
"javascript.validate.lint.unknownProperty": "warning"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment