Advertisement
bal_gennady

vs code settings

Nov 21st, 2019
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 17.07 KB | None | 0 0
  1.  use duplicate style definitions
  2.     "scss.lint.duplicateProperties": "ignore",
  3.  
  4.     // Не используйте пустые наборы правил
  5.     "scss.lint.emptyRules": "warning",
  6.  
  7.     // Операторы импорта не загружаются параллельно
  8.     "scss.lint.importStatement": "ignore",
  9.  
  10.     // Не используйте ширину или высоту при использовании отступов или границы
  11.     "scss.lint.boxModel": "ignore",
  12.  
  13.     // The universal selector (*) is known to be slow
  14.     "scss.lint.universalSelector": "ignore",
  15.  
  16.     // No unit for zero needed
  17.     "scss.lint.zeroUnits": "ignore",
  18.  
  19.     // @font-face rule must define 'src' and 'font-family' properties
  20.     "scss.lint.fontFaceProperties": "warning",
  21.  
  22.     // Hex colors must consist of three or six hex numbers
  23.     "scss.lint.hexColorLength": "error",
  24.  
  25.     // Invalid number of parameters
  26.     "scss.lint.argumentsInColorFunction": "error",
  27.  
  28.     // Unknown property.
  29.     "scss.lint.unknownProperties": "warning",
  30.  
  31.     // IE hacks are only necessary when supporting IE7 and older
  32.     "scss.lint.ieHack": "ignore",
  33.  
  34.     // Unknown vendor specific property.
  35.     "scss.lint.unknownVendorSpecificProperties": "ignore",
  36.  
  37.     // Property is ignored due to the display. E.g. with 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect
  38.     "scss.lint.propertyIgnoredDueToDisplay": "warning",
  39.  
  40.     // Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
  41.     "scss.lint.important": "ignore",
  42.  
  43.     // Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
  44.     "scss.lint.float": "ignore",
  45.  
  46.     // Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
  47.     "scss.lint.idSelector": "ignore",
  48.  
  49.  
  50. // LESS
  51.  
  52.     // Controls LESS validation and problem severities.
  53.  
  54.     // Enables or disables all validations
  55.     "less.validate": true,
  56.  
  57.     // When using a vendor-specific prefix make sure to also include all other vendor-specific properties
  58.     "less.lint.compatibleVendorPrefixes": "ignore",
  59.  
  60.     // When using a vendor-specific prefix also include the standard property
  61.     "less.lint.vendorPrefix": "warning",
  62.  
  63.     // Do not use duplicate style definitions
  64.     "less.lint.duplicateProperties": "ignore",
  65.  
  66.     // Do not use empty rulesets
  67.     "less.lint.emptyRules": "warning",
  68.  
  69.     // Import statements do not load in parallel
  70.     "less.lint.importStatement": "ignore",
  71.  
  72.     // Do not use width or height when using padding or border
  73.     "less.lint.boxModel": "ignore",
  74.  
  75.     // The universal selector (*) is known to be slow
  76.     "less.lint.universalSelector": "ignore",
  77.  
  78.     // No unit for zero needed
  79.     "less.lint.zeroUnits": "ignore",
  80.  
  81.     // @font-face rule must define 'src' and 'font-family' properties
  82.     "less.lint.fontFaceProperties": "warning",
  83.  
  84.     // Hex colors must consist of three or six hex numbers
  85.     "less.lint.hexColorLength": "error",
  86.  
  87.     // Invalid number of parameters
  88.     "less.lint.argumentsInColorFunction": "error",
  89.  
  90.     // Unknown property.
  91.     "less.lint.unknownProperties": "warning",
  92.  
  93.     // IE hacks are only necessary when supporting IE7 and older
  94.     "less.lint.ieHack": "ignore",
  95.  
  96.     // Unknown vendor specific property.
  97.     "less.lint.unknownVendorSpecificProperties": "ignore",
  98.  
  99.     // Property is ignored due to the display. E.g. with 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect
  100.     "less.lint.propertyIgnoredDueToDisplay": "warning",
  101.  
  102.     // Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
  103.     "less.lint.important": "ignore",
  104.  
  105.     // Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
  106.     "less.lint.float": "ignore",
  107.  
  108.     // Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
  109.     "less.lint.idSelector": "ignore",
  110.  
  111.  
  112. // HTML
  113.  
  114.     // Maximum amount of characters per line (0 = disable).
  115.     "html.format.wrapLineLength": 120,
  116.  
  117.     // List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.
  118.     "html.format.unformatted": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, script, select, small, span, strong, sub, sup, textarea, tt, var",
  119.  
  120.     // Indent and sections.
  121.     "html.format.indentInnerHtml": false,
  122.  
  123.     // Whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.
  124.     "html.format.preserveNewLines": true,
  125.  
  126.     // Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited.
  127.     "html.format.maxPreserveNewLines": null,
  128.  
  129.     // Format and indent {{#foo}} and {{/foo}}.
  130.     "html.format.indentHandlebars": false,
  131.  
  132.     // End with a newline.
  133.     "html.format.endWithNewline": false,
  134.  
  135.     // List of tags, comma separated, that should have an extra newline before them. 'null' defaults to "head, body, /html".
  136.     "html.format.extraLiners": "head, body, /html",
  137.  
  138.     // Configures if the built-in HTML language support suggests Angular V1 tags and properties.
  139.     "html.suggest.angular1": true,
  140.  
  141.     // Configures if the built-in HTML language support suggests Ionic tags, properties and values.
  142.     "html.suggest.ionic": true,
  143.  
  144.     // Configures if the built-in HTML language support suggests HTML5 tags, properties and values.
  145.     "html.suggest.html5": true,
  146.  
  147.  
  148. // JSON
  149.  
  150.     // Associate schemas to JSON files in the current project
  151.     "json.schemas": [],
  152.  
  153.  
  154. // Markdown
  155.  
  156.     // A list of URLs or local paths to CSS style sheets to use from the markdown preview. Relative paths are interpreted relative to the folder open in the explorer. If there is no open folder, they are interpreted relative to the location of the markdown file. All '\' need to be written as '\\'.
  157.     "markdown.styles": [],
  158.  
  159.  
  160. // PHP
  161.  
  162.     // Включена ли проверка PHP.
  163.     "php.validate.enable": true,
  164.  
  165.     // Указывает на исполняемый файл PHP.
  166.     "php.validate.executablePath": null,
  167.  
  168.     // Запускается ли Linter при сохранении или в типе.
  169.     "php.validate.run": "onSave",
  170.  
  171.  
  172. // TypeScript
  173.  
  174.     // Указывает путь к папке, содержащей файлы tsserver и lib*.d.ts, которые необходимо использовать.
  175.     "typescript.tsdk": null,
  176.  
  177.     // Проверка наличия версии TypeScript в рабочей области
  178.     "typescript.check.workspaceVersion": true,
  179.  
  180.     // Проверка отличия компилятора TypeScript глобальной установки (например, tsc) от используемой языковой службы TypeScript.
  181.     "typescript.check.tscVersion": true,
  182.  
  183.     // Включение трассировки сообщений, отправленных на сервер TS
  184.     "typescript.tsserver.trace": "off",
  185.  
  186.     // Дополните функции сигнатурами их параметров.
  187.     "typescript.useCodeSnippetsOnMethodSuggest": false,
  188.  
  189.     // Включить или отключить проверку TypeScript
  190.     "typescript.validate.enable": true,
  191.  
  192.     // Определяет метод обработки пробелов после разделителя-запятой
  193.     "typescript.format.insertSpaceAfterCommaDelimiter": true,
  194.  
  195.     //  Определяет метод обработки пробелов после точки с запятой в операторе for
  196.     "typescript.format.insertSpaceAfterSemicolonInForStatements": true,
  197.  
  198.     // Определяет метод обработки пробелов после двоичного оператора
  199.     "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
  200.  
  201.     // Определяет метод обработки пробелов после ключевых слов в операторе потока управления
  202.     "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
  203.  
  204.     // Определяет метод обработки пробелов после ключевого слова анонимной функции
  205.     "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
  206.  
  207.     // Определяет метод обработки пробелов после открытия и до закрытия непустых круглых скобок
  208.     "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
  209.  
  210.     // Определяет метод обработки пробелов после открытия и до закрытия непустых квадратных скобок
  211.     "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
  212.  
  213.     // Определяет, помещается ли открывающая фигурная скобка в новую строку для функций
  214.     "typescript.format.placeOpenBraceOnNewLineForFunctions": false,
  215.  
  216.     // Определяет, помещается ли открывающая фигурная скобка в новую строку для управляющих блоков
  217.     "typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
  218.  
  219.     // Включить или отключить проверку JavaScript
  220.     "javascript.validate.enable": true,
  221.  
  222.     // Определяет метод обработки пробелов после разделителя-запятой
  223.     "javascript.format.insertSpaceAfterCommaDelimiter": true,
  224.  
  225.     //  Определяет метод обработки пробелов после точки с запятой в операторе for
  226.     "javascript.format.insertSpaceAfterSemicolonInForStatements": true,
  227.  
  228.     // Определяет метод обработки пробелов после двоичного оператора
  229.     "javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
  230.  
  231.     // Определяет метод обработки пробелов после ключевых слов в операторе потока управления
  232.     "javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
  233.  
  234.     // Определяет метод обработки пробелов после ключевого слова анонимной функции
  235.     "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
  236.  
  237.     // Определяет метод обработки пробелов после открытия и до закрытия непустых круглых скобок
  238.     "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
  239.  
  240.     // Определяет метод обработки пробелов после открытия и до закрытия непустых квадратных скобок
  241.     "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
  242.  
  243.     // Определяет, помещается ли открывающая фигурная скобка в новую строку для функций
  244.     "javascript.format.placeOpenBraceOnNewLineForFunctions": false,
  245.  
  246.     // Определяет, помещается ли открывающая фигурная скобка в новую строку для управляющих блоков
  247.     "javascript.format.placeOpenBraceOnNewLineForControlBlocks": false,
  248.  
  249.  
  250. // Расширения
  251.  
  252.     // Автоматически обновлять расширения
  253.     "extensions.autoUpdate": false,
  254.  
  255.  
  256. // Внешний терминал
  257.  
  258.     // Настройка терминала, который будет запущен в Windows.
  259.     "terminal.external.windowsExec": "%COMSPEC%",
  260.  
  261.     // Настройка приложения терминала для запуска в OS X.
  262.     "terminal.external.osxExec": "Terminal.app",
  263.  
  264.     // Настройка терминала для запуска в Linux.
  265.     "terminal.external.linuxExec": "xterm",
  266.  
  267.  
  268. // Интегрированный терминал
  269.  
  270.     // Путь оболочки, который используется терминалом в Linux.
  271.     "terminal.integrated.shell.linux": "sh",
  272.  
  273.     // Аргументы командной строки, которые следует использовать в терминале Linux.
  274.     "terminal.integrated.shellArgs.linux": [],
  275.  
  276.     // Путь оболочки, который используется терминалом в OS X.
  277.     "terminal.integrated.shell.osx": "sh",
  278.  
  279.     // Аргументы командной строки, которые следует использовать в терминале OS X.
  280.     "terminal.integrated.shellArgs.osx": [],
  281.  
  282.     // Путь оболочки, который используется терминалом в Windows. При работе с оболочкой, поставляемой с Windows (cmd, PowerShell или Bash на Ubuntu), укажите C:Windowssysnative вместо C:WindowsSystem32 для использования 64-разрядных версий.
  283.     "terminal.integrated.shell.windows": "C:\\WINDOWS\\system32\\cmd.exe",
  284.  
  285.     // Определяет семейство шрифтов терминала, значение по умолчанию — editor.fontFamily.
  286.     "terminal.integrated.fontFamily": "",
  287.  
  288.     // Определяет, будут ли включены лигатуры шрифтов для терминала.
  289.     "terminal.integrated.fontLigatures": false,
  290.  
  291.     // Определяет размер шрифта (в пикселях) для терминала; значение по умолчанию — editor.fontSize.
  292.     "terminal.integrated.fontSize": 0,
  293.  
  294.     // Определяет высоту строки терминала; это число умножается на размер шрифта терминала, что дает фактическую высоту строки в пикселях.
  295.     "terminal.integrated.lineHeight": 1.2,
  296.  
  297.     // Управляет миганием курсора терминала.
  298.     "terminal.integrated.cursorBlinking": false,
  299.  
  300.     // Управляет заданием переменных при запуске терминала, значение по умолчанию: "True" для OS X и "False" для других платформ.
  301.     "terminal.integrated.setLocaleVariables": false,
  302.  
  303.     // Набор идентификаторов команд, настраиваемые сочетания клавиш которых не будут передаваться в оболочку, а вместо этого будут всегда обрабатываться Code. Это позволяет использовать настраиваемые сочетания клавиш, которые при обычных условиях были бы использованы оболочкой и работали бы так же, как если бы терминал не имел фокуса, например клавиши CTRL+P запускали бы Quick Open.
  304.     "terminal.integrated.commandsToSkipShell": [
  305.         "editor.action.toggleTabFocusMode",
  306.         "workbench.action.quickOpen",
  307.         "workbench.action.showCommands",
  308.         "workbench.action.terminal.clear",
  309.         "workbench.action.terminal.copySelection",
  310.         "workbench.action.terminal.focus",
  311.         "workbench.action.terminal.focusNext",
  312.         "workbench.action.terminal.focusPrevious",
  313.         "workbench.action.terminal.kill",
  314.         "workbench.action.terminal.new",
  315.         "workbench.action.terminal.paste",
  316.         "workbench.action.terminal.runSelectedText",
  317.         "workbench.action.terminal.scrollDown",
  318.         "workbench.action.terminal.scrollDownPage",
  319.         "workbench.action.terminal.scrollUp",
  320.         "workbench.action.terminal.scrollUpPage",
  321.         "workbench.action.terminal.toggleTerminal"
  322.     ],
  323.  
  324.  
  325. // Представление "Проблемы"
  326.  
  327.     // Определяет, следует ли представлению "Проблемы" отображать файлы при их открытии
  328.     "problems.autoReveal": true,
  329.  
  330.  
  331. // Телеметрия
  332.  
  333.     // Разрешить отправку сведений об использовании и ошибках в корпорацию Майкрософт.
  334.     "telemetry.enableTelemetry": true,
  335.  
  336.     // Разрешить отправку отчетов о сбоях в корпорацию Майкрософт.
  337.     // Чтобы этот параметр вступил в силу, требуется перезагрузка.
  338.     "telemetry.enableCrashReporter": true
  339.  
  340. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement