@alexlit/lint-kit 107.2.2 → 108.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 (256) hide show
  1. package/.eslintrc.cjs +9 -0
  2. package/.linthtmlrc.cjs +5 -0
  3. package/{.commitlintrc.js → commitlint.config.js} +1 -1
  4. package/package.json +11 -10
  5. package/packages/config-commitlint/LICENSE +20 -0
  6. package/packages/config-commitlint/README.md +5 -9
  7. package/packages/config-commitlint/index.js +1 -1
  8. package/packages/config-commitlint/package.json +4 -3
  9. package/packages/config-eslint/LICENSE +20 -0
  10. package/packages/config-eslint/dictionaries/index.js +2 -1
  11. package/packages/config-eslint/index.js +14 -3
  12. package/packages/config-eslint/package.json +25 -25
  13. package/packages/config-eslint/plugins/typescript/index.js +1 -1
  14. package/packages/config-eslint/plugins/unicorn.js +2 -0
  15. package/packages/config-eslint/plugins/vue.js +34 -2
  16. package/packages/config-hooks/LICENSE +20 -0
  17. package/packages/config-hooks/README.md +18 -12
  18. package/packages/config-hooks/index.js +2 -0
  19. package/packages/config-hooks/lint-staged.js +4 -4
  20. package/packages/config-hooks/package.json +6 -5
  21. package/packages/config-htmllint/LICENSE +20 -0
  22. package/packages/config-markdownlint/LICENSE +20 -0
  23. package/packages/config-markdownlint/README.md +5 -5
  24. package/packages/config-markdownlint/index.json +17 -0
  25. package/packages/config-markdownlint/package.json +5 -5
  26. package/packages/config-npmlint/LICENSE +20 -0
  27. package/packages/config-npmlint/package.json +2 -2
  28. package/packages/config-prettier/LICENSE +20 -0
  29. package/packages/config-prettier/README.md +8 -3
  30. package/packages/config-prettier/index.js +14 -10
  31. package/packages/config-prettier/package.json +16 -12
  32. package/packages/config-prettier/plugins/jsdoc.js +1 -1
  33. package/packages/config-prettier/plugins/pug.js +1 -1
  34. package/packages/config-prettier/plugins/sort-json.js +1 -1
  35. package/packages/config-prettier/plugins/svelte.js +1 -1
  36. package/packages/config-prettier/plugins/tailwindcss.js +1 -1
  37. package/packages/config-prettier/plugins/xml.js +1 -1
  38. package/packages/config-stylelint/LICENSE +20 -0
  39. package/packages/config-stylelint/README.md +5 -4
  40. package/packages/config-stylelint/index.js +22 -25
  41. package/packages/config-stylelint/package.json +22 -18
  42. package/packages/config-stylelint/plugins/a11y.js +1 -1
  43. package/packages/config-stylelint/plugins/at-rule-no-children.js +1 -1
  44. package/packages/config-stylelint/plugins/color-format.js +1 -1
  45. package/packages/config-stylelint/plugins/declaration-block-no-ignored-properties.js +1 -1
  46. package/packages/config-stylelint/plugins/high-performance-animation.js +1 -1
  47. package/packages/config-stylelint/plugins/no-nested-media.js +1 -1
  48. package/packages/config-stylelint/plugins/no-unresolved-module.js +1 -1
  49. package/packages/config-stylelint/plugins/no-unsupported-browser-features.js +1 -1
  50. package/packages/config-stylelint/plugins/optional/gamut.js +1 -1
  51. package/packages/config-stylelint/plugins/optional/logical-css.js +1 -1
  52. package/packages/config-stylelint/plugins/optional/no-indistinguishable-colors.js +1 -1
  53. package/packages/config-stylelint/plugins/order.js +1 -1
  54. package/packages/config-stylelint/plugins/prettier.js +1 -1
  55. package/packages/config-stylelint/plugins/scss.js +1 -1
  56. package/packages/config-stylelint/plugins/selector-no-empty.js +1 -1
  57. package/packages/config-stylelint/plugins/use-nesting.js +1 -1
  58. package/packages/config-stylelint/plugins/vue.js +1 -1
  59. package/prettier.config.js +5 -0
  60. package/scripts/lint.eslint.sh +1 -1
  61. package/scripts/lint.markdownlint.sh +1 -1
  62. package/stylelint.config.js +14 -0
  63. package/.eslintrc.js +0 -3
  64. package/.huskyrc.js +0 -3
  65. package/.linthtmlrc.js +0 -3
  66. package/.lintstagedrc.js +0 -3
  67. package/.markdownlintrc.js +0 -3
  68. package/.prettierrc.js +0 -3
  69. package/.stylelintrc.js +0 -4
  70. package/packages/config-hooks/husky.js +0 -6
  71. package/packages/config-markdownlint/index.js +0 -17
  72. package/packages/config-markdownlint/node_modules/markdown-it/LICENSE +0 -22
  73. package/packages/config-markdownlint/node_modules/markdown-it/README.md +0 -309
  74. package/packages/config-markdownlint/node_modules/markdown-it/bin/markdown-it.js +0 -117
  75. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.js +0 -8441
  76. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
  77. package/packages/config-markdownlint/node_modules/markdown-it/index.js +0 -4
  78. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/entities.js +0 -6
  79. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_blocks.js +0 -70
  80. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_re.js +0 -28
  81. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/utils.js +0 -317
  82. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/index.js +0 -7
  83. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -80
  84. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -48
  85. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -55
  86. package/packages/config-markdownlint/node_modules/markdown-it/lib/index.js +0 -582
  87. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_block.js +0 -131
  88. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_core.js +0 -61
  89. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_inline.js +0 -192
  90. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/commonmark.js +0 -81
  91. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/default.js +0 -41
  92. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/zero.js +0 -63
  93. package/packages/config-markdownlint/node_modules/markdown-it/lib/renderer.js +0 -341
  94. package/packages/config-markdownlint/node_modules/markdown-it/lib/ruler.js +0 -352
  95. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -226
  96. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/code.js +0 -34
  97. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/fence.js +0 -98
  98. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/heading.js +0 -55
  99. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/hr.js +0 -45
  100. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/html_block.js +0 -74
  101. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/lheading.js +0 -83
  102. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/list.js +0 -362
  103. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -51
  104. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/reference.js +0 -198
  105. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/state_block.js +0 -231
  106. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/table.js +0 -221
  107. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/block.js +0 -16
  108. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/inline.js +0 -13
  109. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/linkify.js +0 -142
  110. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/normalize.js +0 -21
  111. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/replacements.js +0 -105
  112. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -201
  113. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/state_core.js +0 -20
  114. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/text_join.js +0 -45
  115. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
  116. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -63
  117. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -130
  118. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -130
  119. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/entity.js +0 -55
  120. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/escape.js +0 -71
  121. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -41
  122. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -58
  123. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/image.js +0 -152
  124. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/link.js +0 -150
  125. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -62
  126. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/newline.js +0 -46
  127. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
  128. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -130
  129. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/text.js +0 -89
  130. package/packages/config-markdownlint/node_modules/markdown-it/lib/token.js +0 -201
  131. package/packages/config-markdownlint/node_modules/markdown-it/package.json +0 -87
  132. package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +0 -428
  133. package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +0 -92
  134. package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +0 -21
  135. package/packages/config-markdownlint/node_modules/markdownlint/README.md +0 -1026
  136. package/packages/config-markdownlint/node_modules/markdownlint/demo/markdownlint-browser.js +0 -6814
  137. package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +0 -376
  138. package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +0 -27
  139. package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
  140. package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +0 -2335
  141. package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +0 -37
  142. package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +0 -59
  143. package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +0 -49
  144. package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +0 -53
  145. package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +0 -52
  146. package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +0 -51
  147. package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +0 -56
  148. package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +0 -30
  149. package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +0 -38
  150. package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +0 -57
  151. package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +0 -54
  152. package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +0 -27
  153. package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +0 -28
  154. package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +0 -29
  155. package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +0 -31
  156. package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +0 -52
  157. package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +0 -33
  158. package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +0 -47
  159. package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +0 -49
  160. package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +0 -40
  161. package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +0 -24
  162. package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +0 -40
  163. package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +0 -98
  164. package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +0 -82
  165. package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +0 -50
  166. package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +0 -55
  167. package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +0 -27
  168. package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +0 -50
  169. package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +0 -42
  170. package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +0 -45
  171. package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +0 -37
  172. package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +0 -40
  173. package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +0 -21
  174. package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +0 -52
  175. package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +0 -49
  176. package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +0 -32
  177. package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +0 -69
  178. package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +0 -35
  179. package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +0 -40
  180. package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +0 -40
  181. package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +0 -34
  182. package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +0 -41
  183. package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +0 -32
  184. package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +0 -32
  185. package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +0 -61
  186. package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +0 -40
  187. package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +0 -38
  188. package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +0 -100
  189. package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +0 -21
  190. package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +0 -70
  191. package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.js +0 -1025
  192. package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark.cjs +0 -426
  193. package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +0 -26
  194. package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.js +0 -10
  195. package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.js +0 -21
  196. package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +0 -1152
  197. package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.js +0 -14
  198. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.ts +0 -406
  199. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.js +0 -1476
  200. package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.js +0 -22
  201. package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.js +0 -42
  202. package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.js +0 -76
  203. package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.js +0 -73
  204. package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.js +0 -86
  205. package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.js +0 -86
  206. package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.js +0 -60
  207. package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.js +0 -46
  208. package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.js +0 -32
  209. package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.js +0 -96
  210. package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.js +0 -53
  211. package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.js +0 -34
  212. package/packages/config-markdownlint/node_modules/markdownlint/lib/md019.js +0 -39
  213. package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.js +0 -62
  214. package/packages/config-markdownlint/node_modules/markdownlint/lib/md021.js +0 -62
  215. package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.js +0 -108
  216. package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.js +0 -38
  217. package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.js +0 -38
  218. package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.js +0 -32
  219. package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.js +0 -50
  220. package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.js +0 -56
  221. package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.js +0 -30
  222. package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.js +0 -67
  223. package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.js +0 -61
  224. package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.js +0 -40
  225. package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.js +0 -78
  226. package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.js +0 -39
  227. package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.js +0 -79
  228. package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.js +0 -24
  229. package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.js +0 -56
  230. package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.js +0 -91
  231. package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.js +0 -97
  232. package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.js +0 -67
  233. package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.js +0 -37
  234. package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.js +0 -42
  235. package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.js +0 -49
  236. package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.js +0 -64
  237. package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.js +0 -107
  238. package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.js +0 -60
  239. package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.js +0 -33
  240. package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.js +0 -28
  241. package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.js +0 -30
  242. package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.js +0 -89
  243. package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.js +0 -172
  244. package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.js +0 -39
  245. package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.js +0 -59
  246. package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.js +0 -125
  247. package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.js +0 -65
  248. package/packages/config-markdownlint/node_modules/markdownlint/package.json +0 -109
  249. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -297
  250. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +0 -266
  251. package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -1762
  252. package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +0 -5
  253. package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +0 -22
  254. package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +0 -26
  255. package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +0 -12
  256. /package/packages/config-eslint/plugins/{security.js → optional/security.js} +0 -0
package/.eslintrc.cjs ADDED
@@ -0,0 +1,9 @@
1
+ const config = require('@alexlit/config-eslint');
2
+
3
+ module.exports = {
4
+ ...config,
5
+
6
+ rules: {
7
+ ...config.rules,
8
+ },
9
+ };
@@ -0,0 +1,5 @@
1
+ const config = require('@alexlit/config-htmllint');
2
+
3
+ module.exports = {
4
+ ...config,
5
+ };
@@ -1,3 +1,3 @@
1
- module.exports = {
1
+ export default {
2
2
  extends: ['@alexlit/config-commitlint'],
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "107.2.2",
3
+ "version": "108.0.0",
4
4
  "private": false,
5
5
  "description": "Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)",
6
6
  "keywords": [
@@ -34,18 +34,18 @@
34
34
  "url": "https://alexlit.gitlab.io"
35
35
  }
36
36
  ],
37
+ "type": "module",
37
38
  "main": "README.md",
38
39
  "files": [
39
- ".commitlintrc.js",
40
- ".eslintrc.js",
41
- ".huskyrc.js",
42
- ".linthtmlrc.js",
43
- ".lintstagedrc.js",
44
- ".markdownlintrc.js",
40
+ ".eslintrc.cjs",
41
+ ".linthtmlrc.cjs",
42
+ ".lintstagedrc.cjs",
43
+ ".markdownlintrc.cjs",
45
44
  ".npmpackagejsonlintrc.json",
46
45
  ".npmrc",
47
- ".prettierrc.js",
48
- ".stylelintrc.js",
46
+ "commitlint.config.js",
47
+ "prettier.config.js",
48
+ "stylelint.config.js",
49
49
  "packages",
50
50
  "scripts"
51
51
  ],
@@ -60,11 +60,12 @@
60
60
  "lint:markdownlint": "time ./scripts/lint.markdownlint.sh",
61
61
  "lint:npmlint": "time ./scripts/lint.npmlint.sh",
62
62
  "lint:stylelint": "time ./scripts/lint.stylelint.sh",
63
+ "prepare": "husky",
63
64
  "semver": "./scripts/semver.sh",
64
65
  "up": "./scripts/up.sh"
65
66
  },
66
67
  "devDependencies": {
67
68
  "changelogen": "latest",
68
- "typescript": "^5.2.2"
69
+ "typescript": "^5.3.2"
69
70
  }
70
71
  }
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Alexey Litovchenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -12,17 +12,13 @@ npm i @alexlit/config-commitlint -D
12
12
  ## Connection
13
13
 
14
14
  ```js
15
- // .commitlintrc.js
16
- module.exports = {
15
+ // commitlint.config.js
16
+ export default {
17
17
  extends: ['@alexlit/config-commitlint'],
18
18
  };
19
19
  ```
20
20
 
21
- ```js
22
- // .huskyrc.js
23
- module.exports = {
24
- hooks: {
25
- 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
26
- },
27
- };
21
+ ```bash
22
+ # .husky/commit-msg
23
+ npx --no -- commitlint --edit "$1"
28
24
  ```
@@ -1,3 +1,3 @@
1
- module.exports = {
1
+ export default {
2
2
  extends: ['@commitlint/config-conventional'],
3
3
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-commitlint",
3
- "version": "10.2.2",
3
+ "version": "11.0.0",
4
4
  "private": false,
5
5
  "description": "Commitlint config",
6
6
  "keywords": [
@@ -21,6 +21,7 @@
21
21
  "maintainers": [
22
22
  "Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
23
23
  ],
24
+ "type": "module",
24
25
  "main": "index.js",
25
26
  "files": [
26
27
  "README.md",
@@ -31,8 +32,8 @@
31
32
  "up": "../../scripts/up.sh"
32
33
  },
33
34
  "dependencies": {
34
- "@commitlint/cli": "^18.4.2",
35
- "@commitlint/config-conventional": "^18.4.2",
35
+ "@commitlint/cli": "^19.0.3",
36
+ "@commitlint/config-conventional": "^19.0.3",
36
37
  "conventional-changelog-cli": "^4.1.0"
37
38
  }
38
39
  }
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Alexey Litovchenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -23,8 +23,9 @@ const specialized = [
23
23
  module.exports = [
24
24
  ...programming,
25
25
  ...specialized,
26
- 'changelogen',
26
+ 'jsonc',
27
27
  'aave',
28
+ 'changelogen',
28
29
  'maxerr',
29
30
  'tailwindcss',
30
31
  'airbnb',
@@ -3,6 +3,7 @@
3
3
 
4
4
  const { defineConfig } = require('eslint-define-config');
5
5
 
6
+ /// <reference types="@eslint-types/typescript-eslint" />
6
7
  module.exports = defineConfig({
7
8
  env: {
8
9
  browser: true,
@@ -36,7 +37,6 @@ module.exports = defineConfig({
36
37
  './plugins/no-use-extend-native',
37
38
  './plugins/promise',
38
39
  './plugins/regexp',
39
- './plugins/security',
40
40
  './plugins/simple-import-sort',
41
41
  './plugins/sonar',
42
42
  './plugins/sort-class-members',
@@ -59,6 +59,7 @@ module.exports = defineConfig({
59
59
 
60
60
  /* optional */
61
61
  // './plugins/optional/node',
62
+ // './plugins/optional/security',
62
63
 
63
64
  /* prettier */
64
65
  './plugins/prettier',
@@ -80,7 +81,7 @@ module.exports = defineConfig({
80
81
 
81
82
  overrides: [
82
83
  {
83
- files: ['.*.js', '.*.ts', '*.config.js', '*.config.ts'],
84
+ files: ['.*.cjs', '.*.js'],
84
85
 
85
86
  rules: {
86
87
  'global-require': 'off',
@@ -213,7 +214,17 @@ module.exports = defineConfig({
213
214
 
214
215
  quotes: ['error', 'single'],
215
216
  'require-await': 'off',
216
- 'sort-imports': 'off',
217
+
218
+ 'sort-imports': [
219
+ 'warn',
220
+ {
221
+ allowSeparatedGroups: true,
222
+ ignoreCase: true,
223
+ ignoreDeclarationSort: true,
224
+ ignoreMemberSort: false,
225
+ memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
226
+ },
227
+ ],
217
228
 
218
229
  'sort-keys': [
219
230
  'warn',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "70.5.1",
3
+ "version": "76.5.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@intlify/eslint-plugin-vue-i18n": "^2.0.0",
37
- "@tanstack/eslint-plugin-query": "^5.8.4",
38
- "@typescript-eslint/eslint-plugin": "^6.11.0",
39
- "@typescript-eslint/parser": "^6.11.0",
40
- "eslint": "^8.53.0",
37
+ "@tanstack/eslint-plugin-query": "^5.20.1",
38
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
39
+ "@typescript-eslint/parser": "^6.21.0",
40
+ "eslint": "^8.57.0",
41
41
  "eslint-config-airbnb-base": "^15.0.0",
42
- "eslint-config-prettier": "^9.0.0",
43
- "eslint-define-config": "^1.24.1",
42
+ "eslint-config-prettier": "^9.1.0",
43
+ "eslint-define-config": "^2.1.0",
44
44
  "eslint-import-resolver-alias": "^1.1.2",
45
45
  "eslint-plugin-array-func": "^4.0.0",
46
46
  "eslint-plugin-compat": "^4.2.0",
@@ -49,39 +49,39 @@
49
49
  "eslint-plugin-etc": "^2.0.3",
50
50
  "eslint-plugin-ext": "^0.1.0",
51
51
  "eslint-plugin-filenames": "^1.3.2",
52
- "eslint-plugin-import": "^2.29.0",
53
- "eslint-plugin-jsdoc": "^46.9.0",
52
+ "eslint-plugin-import": "^2.29.1",
53
+ "eslint-plugin-jsdoc": "^48.2.0",
54
54
  "eslint-plugin-jsx-a11y": "^6.8.0",
55
- "eslint-plugin-lit": "^1.10.1",
56
- "eslint-plugin-lit-a11y": "^4.1.1",
55
+ "eslint-plugin-lit": "^1.11.0",
56
+ "eslint-plugin-lit-a11y": "^4.1.2",
57
57
  "eslint-plugin-more": "^1.0.5",
58
- "eslint-plugin-no-await-in-promise": "^1.1.5",
58
+ "eslint-plugin-no-await-in-promise": "^1.1.6",
59
59
  "eslint-plugin-no-constructor-bind": "^2.0.4",
60
60
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
61
61
  "eslint-plugin-no-loops": "^0.3.0",
62
62
  "eslint-plugin-no-secrets": "^0.8.9",
63
63
  "eslint-plugin-no-use-extend-native": "^0.5.0",
64
64
  "eslint-plugin-node": "^11.1.0",
65
- "eslint-plugin-prettier": "^5.0.1",
65
+ "eslint-plugin-prettier": "^5.1.3",
66
66
  "eslint-plugin-promise": "^6.1.1",
67
- "eslint-plugin-regexp": "^2.1.1",
68
- "eslint-plugin-security": "^1.7.1",
67
+ "eslint-plugin-regexp": "^2.2.0",
68
+ "eslint-plugin-security": "^2.1.1",
69
69
  "eslint-plugin-simple-import-sort": "^10.0.0",
70
- "eslint-plugin-sonarjs": "^0.23.0",
71
- "eslint-plugin-sort-class-members": "^1.19.0",
70
+ "eslint-plugin-sonarjs": "^0.24.0",
71
+ "eslint-plugin-sort-class-members": "^1.20.0",
72
72
  "eslint-plugin-sort-destructure-keys": "^1.5.0",
73
73
  "eslint-plugin-sort-keys-fix": "^1.1.2",
74
74
  "eslint-plugin-spellcheck": "^0.0.20",
75
75
  "eslint-plugin-sql": "^2.5.0",
76
- "eslint-plugin-testing-library": "^6.1.2",
77
- "eslint-plugin-typescript-sort-keys": "^3.1.0",
78
- "eslint-plugin-unicorn": "^49.0.0",
79
- "eslint-plugin-unused-imports": "^3.0.0",
80
- "eslint-plugin-vitest": "^0.3.9",
81
- "eslint-plugin-vue": "^9.18.1",
82
- "eslint-plugin-vuejs-accessibility": "^2.2.0",
76
+ "eslint-plugin-testing-library": "^6.2.0",
77
+ "eslint-plugin-typescript-sort-keys": "^3.2.0",
78
+ "eslint-plugin-unicorn": "^51.0.1",
79
+ "eslint-plugin-unused-imports": "^3.1.0",
80
+ "eslint-plugin-vitest": "^0.3.22",
81
+ "eslint-plugin-vue": "^9.22.0",
82
+ "eslint-plugin-vuejs-accessibility": "^2.2.1",
83
83
  "eslint-plugin-wc": "^2.0.4",
84
84
  "eslint-plugin-write-good-comments": "^0.2.0",
85
- "typescript": "^5.2.2"
85
+ "typescript": "^5.3.3"
86
86
  }
87
87
  }
@@ -56,7 +56,7 @@ module.exports = {
56
56
  '@typescript-eslint/naming-convention': [
57
57
  'error',
58
58
  {
59
- format: ['camelCase'],
59
+ format: ['camelCase', 'PascalCase', 'UPPER_CASE'],
60
60
  selector: 'default',
61
61
  },
62
62
  {
@@ -24,6 +24,8 @@ module.exports = {
24
24
  rules: {
25
25
  'unicorn/better-regex': 'off',
26
26
 
27
+ 'unicorn/consistent-destructuring': 'warn',
28
+
27
29
  'unicorn/consistent-function-scoping': [
28
30
  'error',
29
31
  { checkArrowFunctions: false },
@@ -57,13 +57,25 @@ module.exports = {
57
57
 
58
58
  'vue/define-macros-order': [
59
59
  'error',
60
- { order: ['defineOptions', 'defineProps', 'defineEmits', 'defineSlots'] },
60
+ {
61
+ defineExposeLast: true,
62
+
63
+ order: [
64
+ 'defineOptions',
65
+ 'defineModel',
66
+ 'defineProps',
67
+ 'defineEmits',
68
+ 'defineSlots',
69
+ ],
70
+ },
61
71
  ],
62
72
 
63
73
  'vue/define-props-declaration': ['error'],
64
74
 
65
75
  'vue/dot-notation': ['error'],
66
76
 
77
+ 'vue/enforce-style-attribute': ['error', { allow: ['module'] }],
78
+
67
79
  'vue/eqeqeq': ['error'],
68
80
 
69
81
  'vue/html-button-has-type': ['error'],
@@ -77,7 +89,6 @@ module.exports = {
77
89
  'vue/html-end-tags': ['error'],
78
90
 
79
91
  // 'vue/html-self-closing': [], // delegate to plugins/prettier
80
-
81
92
  'vue/match-component-file-name': ['error'],
82
93
 
83
94
  'vue/match-component-import-name': ['error'],
@@ -162,12 +173,21 @@ module.exports = {
162
173
 
163
174
  'vue/no-setup-props-reactivity-loss': ['error'],
164
175
 
176
+ 'vue/no-static-inline-styles': [
177
+ 'error',
178
+ {
179
+ allowBinding: true,
180
+ },
181
+ ],
182
+
165
183
  'vue/no-this-in-before-route-enter': ['error'],
166
184
 
167
185
  'vue/no-unsupported-features': ['error'],
168
186
 
169
187
  'vue/no-unused-components': ['error'],
170
188
 
189
+ 'vue/no-unused-emit-declarations': ['error'],
190
+
171
191
  'vue/no-unused-refs': 'off',
172
192
 
173
193
  'vue/no-use-computed-property-like-method': ['error'],
@@ -222,6 +242,8 @@ module.exports = {
222
242
 
223
243
  'vue/require-direct-export': 'off',
224
244
 
245
+ 'vue/require-explicit-slots': ['warn'],
246
+
225
247
  'vue/require-macro-variable-name': [
226
248
  'error',
227
249
  {
@@ -251,8 +273,18 @@ module.exports = {
251
273
 
252
274
  'vue/this-in-template': ['error', 'never'],
253
275
 
276
+ 'vue/v-bind-style': [
277
+ 'error',
278
+ 'shorthand',
279
+ {
280
+ sameNameShorthand: 'always',
281
+ },
282
+ ],
283
+
254
284
  'vue/v-for-delimiter-style': ['error'],
255
285
 
286
+ 'vue/v-if-else-key': ['error'],
287
+
256
288
  'vue/v-on-event-hyphenation': ['error'],
257
289
 
258
290
  'vue/v-on-handler-style': ['error', 'inline-function'],
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Alexey Litovchenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -8,16 +8,22 @@ npm i @alexlit/config-hooks -D
8
8
 
9
9
  ## Connection
10
10
 
11
- ```js
12
- // .huskyrc.js
13
- module.exports = {
14
- ...require('@alexlit/config-hooks/husky'),
15
- };
16
- ```
11
+ - lint-staged
17
12
 
18
- ```js
19
- // ..lintstagedrc.js
20
- module.exports = {
21
- ...require('@alexlit/config-hooks/lint-staged'),
22
- };
23
- ```
13
+ ```js
14
+ // lint-staged.config.js
15
+ import { lintStagedConfig } from '@alexlit/config-hooks';
16
+
17
+ export default {
18
+ ...lintStagedConfig,
19
+ };
20
+ ```
21
+
22
+ - husky
23
+
24
+ ```sh
25
+ npx husky init
26
+
27
+ echo 'npx --no -- commitlint --edit "$1"' > .husky/commit-msg
28
+ echo 'npx --no lint-staged' > .husky/pre-commit
29
+ ```
@@ -0,0 +1,2 @@
1
+ // eslint-disable-next-line import/extensions
2
+ export { lintStagedConfig } from './lint-staged.js';
@@ -2,24 +2,24 @@
2
2
  const eslint = 'eslint --fix';
3
3
  const htmllint = 'linthtml';
4
4
  const lockfilelint = 'lockfile-lint --type npm --path package-lock.json';
5
- const markdownlint = 'markdownlint --config .markdownlintrc.js --fix';
5
+ const markdownlint = 'markdownlint --fix';
6
6
  const npmlint = 'npmPkgJsonLint';
7
7
  const prettier = 'prettier --write';
8
8
  const stylelint = 'stylelint --fix';
9
9
 
10
- module.exports = {
10
+ export const lintStagedConfig = {
11
11
  '*.cjs': [eslint, prettier],
12
12
  '*.css': [stylelint, prettier],
13
- '*.cts': [eslint, prettier],
14
13
  '*.erb': [prettier],
15
14
  '*.html': [htmllint, prettier],
16
15
  '*.jade': [prettier],
17
16
  '*.js': [eslint, prettier],
18
17
  '*.json,!package-lock.json': [prettier],
18
+ '*.jsonc': [prettier],
19
+ '*.jsonp': [prettier],
19
20
  '*.jsx': [eslint, prettier],
20
21
  '*.md': [prettier, markdownlint],
21
22
  '*.mjs': [eslint, prettier],
22
- '*.mts': [eslint, prettier],
23
23
  '*.pcss': [stylelint, prettier],
24
24
  '*.php': [prettier],
25
25
  '*.postcss': [stylelint, prettier],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-hooks",
3
- "version": "0.0.3",
3
+ "version": "3.0.0",
4
4
  "private": false,
5
5
  "description": "Hooks config",
6
6
  "keywords": [
@@ -21,10 +21,11 @@
21
21
  "maintainers": [
22
22
  "Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
23
23
  ],
24
- "main": "",
24
+ "type": "module",
25
+ "main": "index.js",
25
26
  "files": [
26
27
  "README.md",
27
- "husky.js",
28
+ "index.js",
28
29
  "lint-staged.js"
29
30
  ],
30
31
  "scripts": {
@@ -32,7 +33,7 @@
32
33
  "up": "../../scripts/up.sh"
33
34
  },
34
35
  "dependencies": {
35
- "husky": "^4.3.8",
36
- "lint-staged": "^15.1.0"
36
+ "husky": "^9.0.11",
37
+ "lint-staged": "^15.2.2"
37
38
  }
38
39
  }
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Alexey Litovchenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Alexey Litovchenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -8,9 +8,9 @@ npm i @alexlit/config-markdownlint -D
8
8
 
9
9
  ## Connection
10
10
 
11
- ```js
12
- // .markdownlintrc.js
13
- module.exports = {
14
- ...require('@alexlit/config-markdownlint'),
15
- };
11
+ ```json
12
+ // .markdownlint.json
13
+ {
14
+ "extends": "@alexlit/config-markdownlint"
15
+ }
16
16
  ```
@@ -0,0 +1,17 @@
1
+ {
2
+ "code-block-style": { "style": "fenced" },
3
+ "code-fence-style": { "style": "backtick" },
4
+ "default": true,
5
+ "first-line-heading": false,
6
+
7
+ "line-length": {
8
+ "code_blocks": false,
9
+ "headings": false,
10
+ "strict": false,
11
+ "tables": false
12
+ },
13
+
14
+ "no-inline-html": false,
15
+ "ol-prefix": { "style": "ordered" },
16
+ "ul-style": { "style": "dash" }
17
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-markdownlint",
3
- "version": "2.0.3",
3
+ "version": "2.4.0",
4
4
  "private": false,
5
5
  "description": "markdownlint config",
6
6
  "keywords": [
@@ -21,17 +21,17 @@
21
21
  "maintainers": [
22
22
  "Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
23
23
  ],
24
- "main": "index.js",
24
+ "main": "index.json",
25
25
  "files": [
26
26
  "README.md",
27
- "index.js"
27
+ "index.json"
28
28
  ],
29
29
  "scripts": {
30
30
  "semver": "../../scripts/semver.sh",
31
31
  "up": "../../scripts/up.sh"
32
32
  },
33
33
  "dependencies": {
34
- "markdownlint": "^0.32.1",
35
- "markdownlint-cli": "^0.37.0"
34
+ "markdownlint": "^0.33.0",
35
+ "markdownlint-cli": "^0.39.0"
36
36
  }
37
37
  }