Skip to content

Instantly share code, notes, and snippets.

@ratul0
Created June 6, 2018 09:28
Show Gist options
  • Save ratul0/9f36d1a56ef0d1b431ee87d2c858b297 to your computer and use it in GitHub Desktop.
Save ratul0/9f36d1a56ef0d1b431ee87d2c858b297 to your computer and use it in GitHub Desktop.
{
"eslint.enable": true, //Enable eslint,
"editor.formatOnSave": true,
"eslint.options": {
"extensions": [ //List of file extensions to activate eslint
".html",
".js",
".vue",
".jsx"
]
},
// An array of language ids which should be validated by ESLint
"eslint.validate": [
"javascript",
{
"language": "vue",
"autoFix": true
}
],
// Run the linter on save (onSave) or on type (onType)
"eslint.run": "onSave",
"eslint.autoFixOnSave": true,
"vetur.format.defaultFormatter.js": "prettier",
"vetur.format.defaultFormatter.css": "prettier",
// relevant for 'prettier-eslint' instead of 'prettier'
"prettier.eslintIntegration": true,
"vetur.format.defaultFormatter.less": "prettier",
"vetur.format.defaultFormatter.postcss": "prettier",
"vetur.format.defaultFormatter.scss": "prettier",
// at the time of this writing there is no stylus support by prettier
"vetur.format.defaultFormatter.stylus": "stylus-supremacy",
"vetur.format.defaultFormatter.ts": "prettier",
"vetur.validation.style": true,
// Validate vue-html in <template> using eslint-plugin-vue
"vetur.validation.template": true,
"explorer.openEditors.visible": 0,
"workbench.statusBar.visible": true,
"editor.minimap.enabled": false,
"workbench.activityBar.visible": false, //Autofix any fixable errors when linting
"editor.fontFamily": "'OperatorMono-LightItalic',Fira Code,Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"window.zoomLevel": 0,
"editor.fontSize": 18,
"php-cs-fixer.onsave": true,
"php.validate.executablePath": "/usr/local/bin/php",
"php-cs-fixer.executablePath": "/Users/rat/.composer/vendor/bin/php-cs-fixer",
"php-cs-fixer.config": "/Users/rat/.vscode/.php_cs",
"window.openFilesInNewWindow": "on",
"workbench.iconTheme": "material-icon-theme",
"javascript.format.enable": false,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"emmet.triggerExpansionOnTab": true,
"editor.renderWhitespace": "all",
"workbench.colorTheme": "Dracula",
"javascript.implicitProjectConfig.checkJs": false,
"sync.gist": "1fefca107dbb1c550ccbe91e98cc928e",
"sync.lastUpload": "2018-03-31T16:53:40.031Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"editor.formatOnPaste": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment