Created
May 17, 2018 07:30
-
-
Save taksenov/078e8c6e95aa58049adaa644a32790df to your computer and use it in GitHub Desktop.
Настройки VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Monokai Dimmed", | |
"window.zoomLevel": 0, | |
"workbench.statusBar.visible": true, | |
// Управляет размером шрифта в пикселях. | |
"editor.fontSize": 18, | |
// Подсветка TODOs | |
"todohighlight.isEnable": true, | |
"todohighlight.isCaseSensitive": true, | |
"todohighlight.keywords": [ | |
"IDEA:" | |
], | |
"emmet.syntaxProfiles": { | |
"javascript": [ | |
"jsx", | |
"tsx" | |
], | |
"postcss": "css" | |
}, | |
// Включает сокращения Emmet в языках, которые не поддерживаются по умолчанию. Здесь можно указать связь между не поддерживаемым и поддерживаемым языками. | |
// Пример: {"vue-html": "html", "javascript": "javascriptreact"} | |
"emmet.includeLanguages": { | |
"javascript": [ | |
"javascriptreact", | |
"typescriptreact" | |
], | |
"postcss": "css" | |
}, | |
"editor.renderWhitespace": "all", | |
// Символ конца строки по умолчанию. Используйте \n для LF и \r\n для CRLF. | |
"files.eol": "\n", | |
"workbench.iconTheme": "vscode-great-icons", | |
"eslint.options": { | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 2017, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
} | |
}, | |
"rules": { | |
"indent": [ | |
"error", | |
2, | |
{ | |
"SwitchCase": 1 | |
} | |
] | |
} | |
}, | |
"sublimeTextKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true, | |
"files.associations": { | |
"*.pcss": "postcss" | |
}, | |
//Prettier AirBnb friendly ================================================== | |
// Форматирование файла при сохранении. Модуль форматирования должен быть доступен, файл не должен сохраняться автоматически, а работа редактора не должна завершаться. | |
"editor.formatOnSave": true, | |
// Use 'prettier-eslint' instead of 'prettier'. | |
// Other settings will only be fallbacks in case | |
// they could not be inferred from eslint rules. | |
"prettier.eslintIntegration": false, | |
// Use 'prettier-stylelint' instead of 'prettier'. | |
// Other settings will only be fallbacks in case they | |
// could not be inferred from stylelint rules. | |
"prettier.stylelintIntegration": false, | |
// Path to a .prettierignore or similar file | |
"prettier.ignorePath": ".prettierignore", | |
// Fit code within this line limit | |
"prettier.printWidth": 80, | |
// Number of spaces it should use per tab | |
"prettier.tabWidth": 2, | |
// If true, will use single instead of double quotes | |
"prettier.singleQuote": true, | |
// Controls the printing of trailing | |
// commas wherever possible | |
"prettier.trailingComma": "all", | |
// Controls the printing of spaces | |
// inside object literals | |
"prettier.bracketSpacing": true, | |
// If true, puts the > of a multi-line jsx element | |
// at the end of the last line instead of | |
// being alone on the next line | |
"prettier.jsxBracketSameLine": false, | |
// Override the parser. You shouldn't have to change this setting. | |
"prettier.parser": "babylon", | |
// Whether to add a semicolon at the end of every line | |
"prettier.semi": true, | |
// Indent lines with tabs | |
"prettier.useTabs": false, | |
// Advanced feature. Enable and use 'prettier.parser' parser for those language ids. Restart required | |
"prettier.javascriptEnable": [ | |
"javascript", | |
"javascriptreact" | |
], | |
// Advanced feature. Enable and use typescript parser for those language ids. Restart required | |
"prettier.typescriptEnable": [ | |
"typescript", | |
"typescriptreact" | |
], | |
// Advanced feature. Enable and use postcss parser for those language ids. Restart required | |
"prettier.cssEnable": [ | |
"css", | |
"less", | |
"scss" | |
], | |
// Advanced feature. Enable and use json parser for those language ids. Restart required | |
"prettier.jsonEnable": [ | |
"json" | |
], | |
// Advanced feature. Enable and use graphql parser for those language ids. Restart required | |
"prettier.graphqlEnable": [ | |
"graphql" | |
], | |
//Prettier AirBnb friendly ================================================== | |
// Controls the way folding ranges are computed. 'auto' picks uses a language specific folding strategy, if available. 'indentation' forces that the indentation based folding strategy is used. | |
"editor.foldingStrategy": "indentation" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment