eslint-plugin-yml 1.19.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +60 -66
  2. package/lib/chunk-15K8U1wQ.mjs +18 -0
  3. package/lib/index.d.mts +217 -0
  4. package/lib/index.mjs +5909 -0
  5. package/package.json +31 -24
  6. package/lib/configs/base.d.ts +0 -13
  7. package/lib/configs/base.js +0 -15
  8. package/lib/configs/flat/base.d.ts +0 -22
  9. package/lib/configs/flat/base.js +0 -56
  10. package/lib/configs/flat/prettier.d.ts +0 -35
  11. package/lib/configs/flat/prettier.js +0 -25
  12. package/lib/configs/flat/recommended.d.ts +0 -30
  13. package/lib/configs/flat/recommended.js +0 -20
  14. package/lib/configs/flat/standard.d.ts +0 -43
  15. package/lib/configs/flat/standard.js +0 -33
  16. package/lib/configs/prettier.d.ts +0 -18
  17. package/lib/configs/prettier.js +0 -24
  18. package/lib/configs/recommended.d.ts +0 -13
  19. package/lib/configs/recommended.js +0 -19
  20. package/lib/configs/standard.d.ts +0 -26
  21. package/lib/configs/standard.js +0 -32
  22. package/lib/index.d.ts +0 -201
  23. package/lib/index.js +0 -66
  24. package/lib/meta.d.ts +0 -2
  25. package/lib/meta.js +0 -5
  26. package/lib/rules/block-mapping-colon-indicator-newline.d.ts +0 -2
  27. package/lib/rules/block-mapping-colon-indicator-newline.js +0 -107
  28. package/lib/rules/block-mapping-question-indicator-newline.d.ts +0 -2
  29. package/lib/rules/block-mapping-question-indicator-newline.js +0 -80
  30. package/lib/rules/block-mapping.d.ts +0 -2
  31. package/lib/rules/block-mapping.js +0 -270
  32. package/lib/rules/block-sequence-hyphen-indicator-newline.d.ts +0 -2
  33. package/lib/rules/block-sequence-hyphen-indicator-newline.js +0 -98
  34. package/lib/rules/block-sequence.d.ts +0 -2
  35. package/lib/rules/block-sequence.js +0 -326
  36. package/lib/rules/file-extension.d.ts +0 -2
  37. package/lib/rules/file-extension.js +0 -64
  38. package/lib/rules/flow-mapping-curly-newline.d.ts +0 -2
  39. package/lib/rules/flow-mapping-curly-newline.js +0 -182
  40. package/lib/rules/flow-mapping-curly-spacing.d.ts +0 -2
  41. package/lib/rules/flow-mapping-curly-spacing.js +0 -192
  42. package/lib/rules/flow-sequence-bracket-newline.d.ts +0 -2
  43. package/lib/rules/flow-sequence-bracket-newline.js +0 -197
  44. package/lib/rules/flow-sequence-bracket-spacing.d.ts +0 -2
  45. package/lib/rules/flow-sequence-bracket-spacing.js +0 -184
  46. package/lib/rules/indent.d.ts +0 -2
  47. package/lib/rules/indent.js +0 -762
  48. package/lib/rules/key-name-casing.d.ts +0 -2
  49. package/lib/rules/key-name-casing.js +0 -99
  50. package/lib/rules/key-spacing.d.ts +0 -2
  51. package/lib/rules/key-spacing.js +0 -465
  52. package/lib/rules/no-empty-document.d.ts +0 -2
  53. package/lib/rules/no-empty-document.js +0 -45
  54. package/lib/rules/no-empty-key.d.ts +0 -2
  55. package/lib/rules/no-empty-key.js +0 -45
  56. package/lib/rules/no-empty-mapping-value.d.ts +0 -2
  57. package/lib/rules/no-empty-mapping-value.js +0 -45
  58. package/lib/rules/no-empty-sequence-entry.d.ts +0 -2
  59. package/lib/rules/no-empty-sequence-entry.js +0 -68
  60. package/lib/rules/no-irregular-whitespace.d.ts +0 -2
  61. package/lib/rules/no-irregular-whitespace.js +0 -93
  62. package/lib/rules/no-multiple-empty-lines.d.ts +0 -2
  63. package/lib/rules/no-multiple-empty-lines.js +0 -131
  64. package/lib/rules/no-tab-indent.d.ts +0 -2
  65. package/lib/rules/no-tab-indent.js +0 -50
  66. package/lib/rules/no-trailing-zeros.d.ts +0 -2
  67. package/lib/rules/no-trailing-zeros.js +0 -97
  68. package/lib/rules/plain-scalar.d.ts +0 -2
  69. package/lib/rules/plain-scalar.js +0 -208
  70. package/lib/rules/quotes.d.ts +0 -2
  71. package/lib/rules/quotes.js +0 -89
  72. package/lib/rules/require-string-key.d.ts +0 -2
  73. package/lib/rules/require-string-key.js +0 -82
  74. package/lib/rules/sort-keys.d.ts +0 -2
  75. package/lib/rules/sort-keys.js +0 -804
  76. package/lib/rules/sort-sequence-values.d.ts +0 -2
  77. package/lib/rules/sort-sequence-values.js +0 -656
  78. package/lib/rules/spaced-comment.d.ts +0 -2
  79. package/lib/rules/spaced-comment.js +0 -164
  80. package/lib/rules/vue-custom-block/no-parsing-error.d.ts +0 -2
  81. package/lib/rules/vue-custom-block/no-parsing-error.js +0 -45
  82. package/lib/types.d.ts +0 -211
  83. package/lib/types.js +0 -2
  84. package/lib/utils/ast-utils.d.ts +0 -14
  85. package/lib/utils/ast-utils.js +0 -42
  86. package/lib/utils/calc-shortest-edit-script.d.ts +0 -15
  87. package/lib/utils/calc-shortest-edit-script.js +0 -44
  88. package/lib/utils/casing.d.ts +0 -15
  89. package/lib/utils/casing.js +0 -134
  90. package/lib/utils/compat.d.ts +0 -5
  91. package/lib/utils/compat.js +0 -11
  92. package/lib/utils/index.d.ts +0 -2
  93. package/lib/utils/index.js +0 -66
  94. package/lib/utils/rules.d.ts +0 -2
  95. package/lib/utils/rules.js +0 -64
  96. package/lib/utils/yaml.d.ts +0 -15
  97. package/lib/utils/yaml.js +0 -265

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.