@alexlit/lint-kit 107.3.0 → 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 (247) hide show
  1. package/.eslintrc.cjs +7 -1
  2. package/.linthtmlrc.cjs +3 -1
  3. package/{.commitlintrc.cjs → commitlint.config.js} +1 -1
  4. package/package.json +5 -5
  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/index.js +12 -2
  11. package/packages/config-eslint/package.json +25 -25
  12. package/packages/config-eslint/plugins/typescript/index.js +1 -1
  13. package/packages/config-eslint/plugins/unicorn.js +2 -0
  14. package/packages/config-eslint/plugins/vue.js +34 -2
  15. package/packages/config-hooks/LICENSE +20 -0
  16. package/packages/config-hooks/README.md +18 -12
  17. package/packages/config-hooks/index.js +2 -0
  18. package/packages/config-hooks/lint-staged.js +1 -1
  19. package/packages/config-hooks/package.json +6 -5
  20. package/packages/config-htmllint/LICENSE +20 -0
  21. package/packages/config-markdownlint/LICENSE +20 -0
  22. package/packages/config-markdownlint/package.json +3 -3
  23. package/packages/config-npmlint/LICENSE +20 -0
  24. package/packages/config-npmlint/package.json +2 -2
  25. package/packages/config-prettier/LICENSE +20 -0
  26. package/packages/config-prettier/README.md +8 -3
  27. package/packages/config-prettier/index.js +14 -10
  28. package/packages/config-prettier/package.json +16 -12
  29. package/packages/config-prettier/plugins/jsdoc.js +1 -1
  30. package/packages/config-prettier/plugins/pug.js +1 -1
  31. package/packages/config-prettier/plugins/sort-json.js +1 -1
  32. package/packages/config-prettier/plugins/svelte.js +1 -1
  33. package/packages/config-prettier/plugins/tailwindcss.js +1 -1
  34. package/packages/config-prettier/plugins/xml.js +1 -1
  35. package/packages/config-stylelint/LICENSE +20 -0
  36. package/packages/config-stylelint/README.md +5 -4
  37. package/packages/config-stylelint/index.js +22 -25
  38. package/packages/config-stylelint/package.json +22 -18
  39. package/packages/config-stylelint/plugins/a11y.js +1 -1
  40. package/packages/config-stylelint/plugins/at-rule-no-children.js +1 -1
  41. package/packages/config-stylelint/plugins/color-format.js +1 -1
  42. package/packages/config-stylelint/plugins/declaration-block-no-ignored-properties.js +1 -1
  43. package/packages/config-stylelint/plugins/high-performance-animation.js +1 -1
  44. package/packages/config-stylelint/plugins/no-nested-media.js +1 -1
  45. package/packages/config-stylelint/plugins/no-unresolved-module.js +1 -1
  46. package/packages/config-stylelint/plugins/no-unsupported-browser-features.js +1 -1
  47. package/packages/config-stylelint/plugins/optional/gamut.js +1 -1
  48. package/packages/config-stylelint/plugins/optional/logical-css.js +1 -1
  49. package/packages/config-stylelint/plugins/optional/no-indistinguishable-colors.js +1 -1
  50. package/packages/config-stylelint/plugins/order.js +1 -1
  51. package/packages/config-stylelint/plugins/prettier.js +1 -1
  52. package/packages/config-stylelint/plugins/scss.js +1 -1
  53. package/packages/config-stylelint/plugins/selector-no-empty.js +1 -1
  54. package/packages/config-stylelint/plugins/use-nesting.js +1 -1
  55. package/packages/config-stylelint/plugins/vue.js +1 -1
  56. package/prettier.config.js +5 -0
  57. package/stylelint.config.js +14 -0
  58. package/.huskyrc.cjs +0 -3
  59. package/.lintstagedrc.cjs +0 -3
  60. package/.prettierrc.cjs +0 -3
  61. package/.stylelintrc.cjs +0 -4
  62. package/packages/config-hooks/husky.js +0 -6
  63. package/packages/config-markdownlint/node_modules/markdown-it/LICENSE +0 -22
  64. package/packages/config-markdownlint/node_modules/markdown-it/README.md +0 -309
  65. package/packages/config-markdownlint/node_modules/markdown-it/bin/markdown-it.js +0 -117
  66. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.js +0 -8441
  67. package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
  68. package/packages/config-markdownlint/node_modules/markdown-it/index.js +0 -4
  69. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/entities.js +0 -6
  70. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_blocks.js +0 -70
  71. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_re.js +0 -28
  72. package/packages/config-markdownlint/node_modules/markdown-it/lib/common/utils.js +0 -317
  73. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/index.js +0 -7
  74. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -80
  75. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -48
  76. package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -55
  77. package/packages/config-markdownlint/node_modules/markdown-it/lib/index.js +0 -582
  78. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_block.js +0 -131
  79. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_core.js +0 -61
  80. package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_inline.js +0 -192
  81. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/commonmark.js +0 -81
  82. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/default.js +0 -41
  83. package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/zero.js +0 -63
  84. package/packages/config-markdownlint/node_modules/markdown-it/lib/renderer.js +0 -341
  85. package/packages/config-markdownlint/node_modules/markdown-it/lib/ruler.js +0 -352
  86. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -226
  87. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/code.js +0 -34
  88. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/fence.js +0 -98
  89. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/heading.js +0 -55
  90. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/hr.js +0 -45
  91. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/html_block.js +0 -74
  92. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/lheading.js +0 -83
  93. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/list.js +0 -362
  94. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -51
  95. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/reference.js +0 -198
  96. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/state_block.js +0 -231
  97. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/table.js +0 -221
  98. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/block.js +0 -16
  99. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/inline.js +0 -13
  100. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/linkify.js +0 -142
  101. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/normalize.js +0 -21
  102. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/replacements.js +0 -105
  103. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -201
  104. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/state_core.js +0 -20
  105. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/text_join.js +0 -45
  106. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
  107. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -63
  108. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -130
  109. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -130
  110. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/entity.js +0 -55
  111. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/escape.js +0 -71
  112. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -41
  113. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -58
  114. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/image.js +0 -152
  115. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/link.js +0 -150
  116. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -62
  117. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/newline.js +0 -46
  118. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
  119. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -130
  120. package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/text.js +0 -89
  121. package/packages/config-markdownlint/node_modules/markdown-it/lib/token.js +0 -201
  122. package/packages/config-markdownlint/node_modules/markdown-it/package.json +0 -87
  123. package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +0 -428
  124. package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +0 -92
  125. package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +0 -21
  126. package/packages/config-markdownlint/node_modules/markdownlint/README.md +0 -1026
  127. package/packages/config-markdownlint/node_modules/markdownlint/demo/markdownlint-browser.js +0 -6814
  128. package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +0 -376
  129. package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +0 -27
  130. package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
  131. package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +0 -2335
  132. package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +0 -37
  133. package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +0 -59
  134. package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +0 -49
  135. package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +0 -53
  136. package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +0 -52
  137. package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +0 -51
  138. package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +0 -56
  139. package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +0 -30
  140. package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +0 -38
  141. package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +0 -57
  142. package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +0 -54
  143. package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +0 -27
  144. package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +0 -28
  145. package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +0 -29
  146. package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +0 -31
  147. package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +0 -52
  148. package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +0 -33
  149. package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +0 -47
  150. package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +0 -49
  151. package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +0 -40
  152. package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +0 -24
  153. package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +0 -40
  154. package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +0 -98
  155. package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +0 -82
  156. package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +0 -50
  157. package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +0 -55
  158. package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +0 -27
  159. package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +0 -50
  160. package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +0 -42
  161. package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +0 -45
  162. package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +0 -37
  163. package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +0 -40
  164. package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +0 -21
  165. package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +0 -52
  166. package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +0 -49
  167. package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +0 -32
  168. package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +0 -69
  169. package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +0 -35
  170. package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +0 -40
  171. package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +0 -40
  172. package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +0 -34
  173. package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +0 -41
  174. package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +0 -32
  175. package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +0 -32
  176. package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +0 -61
  177. package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +0 -40
  178. package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +0 -38
  179. package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +0 -100
  180. package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +0 -21
  181. package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +0 -70
  182. package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.js +0 -1025
  183. package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark.cjs +0 -426
  184. package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +0 -26
  185. package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.js +0 -10
  186. package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.js +0 -21
  187. package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +0 -1152
  188. package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.js +0 -14
  189. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.ts +0 -406
  190. package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.js +0 -1476
  191. package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.js +0 -22
  192. package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.js +0 -42
  193. package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.js +0 -76
  194. package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.js +0 -73
  195. package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.js +0 -86
  196. package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.js +0 -86
  197. package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.js +0 -60
  198. package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.js +0 -46
  199. package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.js +0 -32
  200. package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.js +0 -96
  201. package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.js +0 -53
  202. package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.js +0 -34
  203. package/packages/config-markdownlint/node_modules/markdownlint/lib/md019.js +0 -39
  204. package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.js +0 -62
  205. package/packages/config-markdownlint/node_modules/markdownlint/lib/md021.js +0 -62
  206. package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.js +0 -108
  207. package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.js +0 -38
  208. package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.js +0 -38
  209. package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.js +0 -32
  210. package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.js +0 -50
  211. package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.js +0 -56
  212. package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.js +0 -30
  213. package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.js +0 -67
  214. package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.js +0 -61
  215. package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.js +0 -40
  216. package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.js +0 -78
  217. package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.js +0 -39
  218. package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.js +0 -79
  219. package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.js +0 -24
  220. package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.js +0 -56
  221. package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.js +0 -91
  222. package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.js +0 -97
  223. package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.js +0 -67
  224. package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.js +0 -37
  225. package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.js +0 -42
  226. package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.js +0 -49
  227. package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.js +0 -64
  228. package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.js +0 -107
  229. package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.js +0 -60
  230. package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.js +0 -33
  231. package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.js +0 -28
  232. package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.js +0 -30
  233. package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.js +0 -89
  234. package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.js +0 -172
  235. package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.js +0 -39
  236. package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.js +0 -59
  237. package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.js +0 -125
  238. package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.js +0 -65
  239. package/packages/config-markdownlint/node_modules/markdownlint/package.json +0 -109
  240. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -297
  241. package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +0 -266
  242. package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -1762
  243. package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +0 -5
  244. package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +0 -22
  245. package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +0 -26
  246. package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +0 -12
  247. /package/packages/config-eslint/plugins/{security.js → optional/security.js} +0 -0
package/.eslintrc.cjs CHANGED
@@ -1,3 +1,9 @@
1
+ const config = require('@alexlit/config-eslint');
2
+
1
3
  module.exports = {
2
- ...require('@alexlit/config-eslint'),
4
+ ...config,
5
+
6
+ rules: {
7
+ ...config.rules,
8
+ },
3
9
  };
package/.linthtmlrc.cjs CHANGED
@@ -1,3 +1,5 @@
1
+ const config = require('@alexlit/config-htmllint');
2
+
1
3
  module.exports = {
2
- ...require('@alexlit/config-htmllint'),
4
+ ...config,
3
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.3.0",
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": [
@@ -37,16 +37,15 @@
37
37
  "type": "module",
38
38
  "main": "README.md",
39
39
  "files": [
40
- ".commitlintrc.cjs",
41
40
  ".eslintrc.cjs",
42
- ".huskyrc.cjs",
43
41
  ".linthtmlrc.cjs",
44
42
  ".lintstagedrc.cjs",
45
43
  ".markdownlintrc.cjs",
46
44
  ".npmpackagejsonlintrc.json",
47
45
  ".npmrc",
48
- ".prettierrc.cjs",
49
- ".stylelintrc.cjs",
46
+ "commitlint.config.js",
47
+ "prettier.config.js",
48
+ "stylelint.config.js",
50
49
  "packages",
51
50
  "scripts"
52
51
  ],
@@ -61,6 +60,7 @@
61
60
  "lint:markdownlint": "time ./scripts/lint.markdownlint.sh",
62
61
  "lint:npmlint": "time ./scripts/lint.npmlint.sh",
63
62
  "lint:stylelint": "time ./scripts/lint.stylelint.sh",
63
+ "prepare": "husky",
64
64
  "semver": "./scripts/semver.sh",
65
65
  "up": "./scripts/up.sh"
66
66
  },
@@ -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.
@@ -37,7 +37,6 @@ module.exports = defineConfig({
37
37
  './plugins/no-use-extend-native',
38
38
  './plugins/promise',
39
39
  './plugins/regexp',
40
- './plugins/security',
41
40
  './plugins/simple-import-sort',
42
41
  './plugins/sonar',
43
42
  './plugins/sort-class-members',
@@ -60,6 +59,7 @@ module.exports = defineConfig({
60
59
 
61
60
  /* optional */
62
61
  // './plugins/optional/node',
62
+ // './plugins/optional/security',
63
63
 
64
64
  /* prettier */
65
65
  './plugins/prettier',
@@ -214,7 +214,17 @@ module.exports = defineConfig({
214
214
 
215
215
  quotes: ['error', 'single'],
216
216
  'require-await': 'off',
217
- '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
+ ],
218
228
 
219
229
  'sort-keys': [
220
230
  'warn',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "72.1.0",
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.12.0",
39
- "@typescript-eslint/parser": "^6.12.0",
40
- "eslint": "^8.54.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": "^2.0.0",
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.10",
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.3.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';
@@ -7,7 +7,7 @@ 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
13
  '*.erb': [prettier],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-hooks",
3
- "version": "0.0.4",
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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-markdownlint",
3
- "version": "2.1.0",
3
+ "version": "2.4.0",
4
4
  "private": false,
5
5
  "description": "markdownlint config",
6
6
  "keywords": [
@@ -31,7 +31,7 @@
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
  }
@@ -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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-npmlint",
3
- "version": "5.1.0",
3
+ "version": "5.2.1",
4
4
  "private": false,
5
5
  "description": "npmlint config",
6
6
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  "up": "../../scripts/up.sh"
36
36
  },
37
37
  "dependencies": {
38
- "lockfile-lint": "^4.12.1",
38
+ "lockfile-lint": "^4.13.2",
39
39
  "npm-package-json-lint": "^7.1.0",
40
40
  "npm-package-json-lint-config-default": "^6.0.0"
41
41
  }
@@ -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.
@@ -9,8 +9,13 @@ npm i @alexlit/config-prettier -D
9
9
  ## Connection
10
10
 
11
11
  ```js
12
- // .prettierrc.js
13
- module.exports = {
14
- ...require('@alexlit/config-prettier'),
12
+ // prettier.config.js
13
+ import config from '@alexlit/config-prettier';
14
+
15
+ export default {
16
+ ...config,
17
+
18
+ // if additional plugins needed
19
+ plugins: [...config.plugins, 'your-favorite-plugin'],
15
20
  };
16
21
  ```