Skip to content

Instantly share code, notes, and snippets.

@bardware
Created March 19, 2018 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bardware/fbfe98a5922059c84f3d7929e9542815 to your computer and use it in GitHub Desktop.
Save bardware/fbfe98a5922059c84f3d7929e9542815 to your computer and use it in GitHub Desktop.
VSCode
{
"extends": ["plugin:prettier/recommended"],
"rules": {
"newline-after-var": "error"
}
}
{
"printWidth": 120,
"useTabs": true,
"tabWidth": 4,
"singleQuote": true,
"overrides": [
{
"files": [".prettierrc", ".eslintrc"],
"options": { "parser": "json" }
},
{
"files": ["*.scss"],
"options": {
"singleQuote": false
}
}
]
}
{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"editor.renderWhitespace": "all",
"files.associations": {
".eslintrc": "json",
".prettierrc": "json"
},
"editor.fontSize": 12,
"editor.fontLigatures": true,
"editor.fontFamily": "Fira Code",
"editor.cursorStyle": "line",
"editor.rulers": [
80,
120
],
"files.trimTrailingWhitespace": true,
"php.executablePath": "C:/Program Files/php/7_2-nts/php.exe",
"php.suggest.basic": false,
"php.validate.executablePath": "C:/Program Files/php/7_2-nts/php.exe",
"php.validate.run": "onType",
"gitlens.keymap": "alternate",
"php.validate.enable": true,
"phpfmt.indent_with_space": false,
"editor.formatOnSave": true,
"[php]": {
"editor.formatOnSave": true
},
"[javascript]": {
"editor.formatOnSave": false
},
"eslint.enable": true,
"eslint.autoFixOnSave": true,
"eslint.alwaysShowStatus": true,
"prettier.disableLanguages": [
"javascript"
],
"workbench.colorTheme": "Cobalt2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment