Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

139 lignes
3.5 KiB

il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
Major refactor/rework -- many new features and breaking changes Adds all-new, beautiful, highly customizable and themeable, file blame annotations Adds all-new configurability and themeability to the current line blame annotations Adds all-new configurability to the status bar blame information Adds all-new configurability over which commands are added to which menus via the `gitlens.advanced.menus` setting Adds better configurability over where Git code lens will be shown -- both by default and per language Adds an all-new `changes` (diff) hover annotation to the current line - provides instant access to the line's previous version Adds `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) - toggles the current line blame annotations on and off Adds `Show Line Blame Annotations` command (`gitlens.showLineBlame`) - shows the current line blame annotations Adds `Toggle File Blame Annotations` command (`gitlens.toggleFileBlame`) - toggles the file blame annotations on and off Adds `Show File Blame Annotations` command (`gitlens.showFileBlame`) - shows the file blame annotations Adds `Open File in Remote` command (`gitlens.openFileInRemote`) to the `editor/title` context menu Adds `Open Repo in Remote` command (`gitlens.openRepoInRemote`) to the `editor/title` context menu Changes the position of the `Open File in Remote` command (`gitlens.openFileInRemote`) in the context menus - now in the `navigation` group Changes the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to always toggle the Git code lens on and off Removes the on-demand `trailing` file blame annotations -- didn't work out and just ended up with a ton of visual noise Removes `Toggle Blame Annotations` command (`gitlens.toggleBlame`) - replaced by the `Toggle File Blame Annotations` command (`gitlens.toggleFileBlame`) Removes `Show Blame Annotations` command (`gitlens.showBlame`) - replaced by the `Show File Blame Annotations` command (`gitlens.showFileBlame`)
il y a 7 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
il y a 8 ans
  1. {
  2. "rules": {
  3. "adjacent-overload-signatures": true,
  4. "array-type": [
  5. true,
  6. "array"
  7. ],
  8. "arrow-parens": [
  9. true,
  10. "ban-single-arg-parens"
  11. ],
  12. "arrow-return-shorthand": true,
  13. "class-name": true,
  14. "comment-format": [
  15. true,
  16. "check-space"
  17. ],
  18. "curly": [
  19. true,
  20. "ignore-same-line"
  21. ],
  22. "indent": [
  23. true,
  24. "spaces"
  25. ],
  26. "interface-over-type-literal": true,
  27. "new-parens": true,
  28. "no-angle-bracket-type-assertion": true,
  29. "no-consecutive-blank-lines": [
  30. true,
  31. 1
  32. ],
  33. "no-default-export": true,
  34. "no-eval": true,
  35. // "no-for-in-array": true,
  36. "no-inferrable-types": [
  37. true,
  38. "ignore-params",
  39. "ignore-properties"
  40. ],
  41. "no-internal-module": true,
  42. // "no-invalid-template-strings": true,
  43. "no-irregular-whitespace": true,
  44. "no-reference": true,
  45. "no-string-throw": true,
  46. "no-trailing-whitespace": true,
  47. "no-unnecessary-callback-wrapper": true,
  48. // "no-unnecessary-qualifier": true,
  49. // "no-unsafe-any": true,
  50. "no-unsafe-finally": true,
  51. "no-unused-expression": false,
  52. "no-var-keyword": true,
  53. "no-var-requires": false,
  54. "object-literal-key-quotes": [
  55. true,
  56. "as-needed"
  57. ],
  58. "one-line": [
  59. true,
  60. "check-open-brace",
  61. "check-whitespace"
  62. ],
  63. "one-variable-per-declaration": [
  64. true,
  65. "ignore-for-loop"
  66. ],
  67. "ordered-imports": [
  68. true,
  69. {
  70. "import-sources-order": "any",
  71. "named-imports-order": "case-insensitive"
  72. }
  73. ],
  74. "prefer-const": true,
  75. "prefer-for-of": true,
  76. "prefer-template": [
  77. true,
  78. "allow-single-concat"
  79. ],
  80. "quotemark": [
  81. true,
  82. "single",
  83. "avoid-escape"
  84. ],
  85. "radix": true,
  86. "semicolon": [
  87. true,
  88. "always"
  89. ],
  90. "space-before-function-paren": [
  91. true,
  92. {
  93. "anonymous": "never",
  94. "named": "never",
  95. "asyncArrow": "always"
  96. }
  97. ],
  98. // "strict-boolean-expressions": true,
  99. // "strict-type-predicates": true,
  100. "trailing-comma": [
  101. true,
  102. {
  103. "multiline": "never",
  104. "singleline": "never"
  105. }
  106. ],
  107. "triple-equals": [
  108. true,
  109. "allow-null-check"
  110. ],
  111. "typedef-whitespace": [
  112. true,
  113. {
  114. "call-signature": "nospace",
  115. "index-signature": "nospace",
  116. "parameter": "nospace",
  117. "property-declaration": "nospace",
  118. "variable-declaration": "nospace"
  119. }
  120. ],
  121. "typeof-compare": true,
  122. "use-isnan": true,
  123. "variable-name": [
  124. true,
  125. "allow-leading-underscore",
  126. "allow-pascal-case",
  127. "ban-keywords",
  128. "check-format"
  129. ],
  130. "whitespace": [
  131. true,
  132. "check-branch",
  133. "check-decl",
  134. "check-operator",
  135. "check-module",
  136. "check-separator",
  137. "check-type"
  138. ]
  139. }
  140. }