Skip to content

Instantly share code, notes, and snippets.

@steverydz
Last active November 26, 2020 11:40
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 steverydz/d1d084a9e700a292aee15349930e5f6d to your computer and use it in GitHub Desktop.
Save steverydz/d1d084a9e700a292aee15349930e5f6d to your computer and use it in GitHub Desktop.
VS Code setup
  • EditorConfig for VS Code
  • ESLint
  • Prettier - Code formatter
  • Python
  • stylelint
{
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length",
"79"
],
"[python]": {
"editor.tabSize": 4
},
"editor.formatOnSave": true,
"[html]": {
"editor.formatOnSave": false
},
"[markdown]": {
"editor.formatOnSave": false
},
"html.format.wrapLineLength": 0,
"html.format.wrapAttributes": "aligned-multiple",
"html.format.indentHandlebars": true,
"html.format.preserveNewLines": false,
"editor.tabSize": 2,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment