Skip to content

Instantly share code, notes, and snippets.

@simon-lang
Created January 12, 2022 10:41
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 simon-lang/4640f12a49b2000a30f404388b6fb980 to your computer and use it in GitHub Desktop.
Save simon-lang/4640f12a49b2000a30f404388b6fb980 to your computer and use it in GitHub Desktop.
{
// Require .prettierrc
"prettier.requireConfig": true,
// Show diagnostics for current line
"diagnostic.checkCurrentLine": true,
// Tslint on save
"tslint.enable": true,
"tslint.autoFixOnSave": true,
// Run prettier (and others)
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"Markdown",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment