Workstation Settings

Feel free to use them if you’d like a copy of my editor config.

Angular/Ionic Framework tslint.json

{
  "defaultSeverity": "warning",
  "extends": "tslint:recommended",
  "rules": {
    "max-classes-per-file": false,
    "max-line-length": [
      true,
      140
    ],
    "member-access": false,
    "no-console": false,
    "no-empty": false,
    "no-string-literal": false,
    "object-literal-sort-keys": false,
    "ordered-imports": false,
    "quotemark": false,
    "trailing-comma": false,
    "variable-name": false
  }
}

Angular/Ionic Framework .editorconfig

# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = crlf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.{scss,css,htm,html,js,json,ts}]
indent_style = space
indent_size = 2

Visual Studio Code Settings (JSON)

// Settings by Earl Peter G
// Last Updated: 09 Jan., 2019
{
    "breadcrumbs.symbolSortOrder": "name",

    "editor.insertSpaces": false,
    "editor.minimap.enabled": false,
    "editor.tabSize": 4,
    "editor.wordWrap": "on",
    "explorer.confirmDragAndDrop": false,    "explorer.confirmDelete": false,

    "files.autoSave": "onWindowChange",
    "files.exclude": {
        ".vscode/": true,
        "node_modules/": true,
        "vendor/": true,
    },

    "npm.enableScriptExplorer": true,

    "php.suggest.basic": false,
    "phpfmt.cakephp": true,
    "phpfmt.psr1": false,
    "phpfmt.psr2": false,
    "phpunit.execPath": "C:\\ProgramData\\ComposerSetup\\bin\\phpunit.cmd",

    "search.showLineNumbers": true,
    "search.useGlobalIgnoreFiles": true,

    "terminal.external.windowsExec": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
    "terminal.integrated.rendererType": "dom",
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",

    "todo-tree.defaultHighlight": {
        "foreground": "green",
        "type": "none"
    },
    "todo-tree.customHighlight": {
        "TODO": {},
        "FIXME": {}
    },
    "todo-tree.expanded": true,
    "todo-tree.flat": true,

    "window.title": "${activeEditorShort}${separator}${rootName}${separator}${appName}",
    "window.zoomLevel": 0,
    "workbench.colorTheme": "Nord",
    "workbench.editor.highlightModifiedTabs": true,
}

Visual Studio 2017 Editor Config

root = true

[*]
charset = utf-8
end_of_line = crlf
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# c# coding style
[*.cs]
csharp_prefer_braces = true:warning
csharp_new_line_before_open_brace = methods,types
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true