Skip to content

Instantly share code, notes, and snippets.

@pertrai1
Last active April 14, 2022 20:43
Show Gist options
  • Save pertrai1/b33c11e318ff3724f5d6adec30d9d5a1 to your computer and use it in GitHub Desktop.
Save pertrai1/b33c11e318ff3724f5d6adec30d9d5a1 to your computer and use it in GitHub Desktop.
Coc Configuration
// coc-tsserver
// coc-eslint
// coc-prettier
// coc-angular
// coc-json
// coc-explorer
{
"explorer.width": 80,
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false,
"explorer.keyMappings.global": {
"<cr>": ["expandable?", ["expanded?", "collapse", "expand"], "open"],
"v": "open:vsplit"
},
"explorer.file.reveal.auto": true,
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"coc.preferences.formatOnType": true,
"codeLens.enable": true,
"eslint.autoFixOnSave": true,
"eslint.probe": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"eslint.packageManager": "yarn",
"eslint.alwaysShowStatus": true,
"diagnostic.checkCurrentLine": true,
"tsserver.formatOnType": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment