@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.
- package/.eslintrc.cjs +9 -0
- package/.linthtmlrc.cjs +5 -0
- package/{.commitlintrc.js → commitlint.config.js} +1 -1
- package/package.json +11 -10
- package/packages/config-commitlint/LICENSE +20 -0
- package/packages/config-commitlint/README.md +5 -9
- package/packages/config-commitlint/index.js +1 -1
- package/packages/config-commitlint/package.json +4 -3
- package/packages/config-eslint/LICENSE +20 -0
- package/packages/config-eslint/dictionaries/index.js +2 -1
- package/packages/config-eslint/index.js +14 -3
- package/packages/config-eslint/package.json +25 -25
- package/packages/config-eslint/plugins/typescript/index.js +1 -1
- package/packages/config-eslint/plugins/unicorn.js +2 -0
- package/packages/config-eslint/plugins/vue.js +34 -2
- package/packages/config-hooks/LICENSE +20 -0
- package/packages/config-hooks/README.md +18 -12
- package/packages/config-hooks/index.js +2 -0
- package/packages/config-hooks/lint-staged.js +4 -4
- package/packages/config-hooks/package.json +6 -5
- package/packages/config-htmllint/LICENSE +20 -0
- package/packages/config-markdownlint/LICENSE +20 -0
- package/packages/config-markdownlint/README.md +5 -5
- package/packages/config-markdownlint/index.json +17 -0
- package/packages/config-markdownlint/package.json +5 -5
- package/packages/config-npmlint/LICENSE +20 -0
- package/packages/config-npmlint/package.json +2 -2
- package/packages/config-prettier/LICENSE +20 -0
- package/packages/config-prettier/README.md +8 -3
- package/packages/config-prettier/index.js +14 -10
- package/packages/config-prettier/package.json +16 -12
- package/packages/config-prettier/plugins/jsdoc.js +1 -1
- package/packages/config-prettier/plugins/pug.js +1 -1
- package/packages/config-prettier/plugins/sort-json.js +1 -1
- package/packages/config-prettier/plugins/svelte.js +1 -1
- package/packages/config-prettier/plugins/tailwindcss.js +1 -1
- package/packages/config-prettier/plugins/xml.js +1 -1
- package/packages/config-stylelint/LICENSE +20 -0
- package/packages/config-stylelint/README.md +5 -4
- package/packages/config-stylelint/index.js +22 -25
- package/packages/config-stylelint/package.json +22 -18
- package/packages/config-stylelint/plugins/a11y.js +1 -1
- package/packages/config-stylelint/plugins/at-rule-no-children.js +1 -1
- package/packages/config-stylelint/plugins/color-format.js +1 -1
- package/packages/config-stylelint/plugins/declaration-block-no-ignored-properties.js +1 -1
- package/packages/config-stylelint/plugins/high-performance-animation.js +1 -1
- package/packages/config-stylelint/plugins/no-nested-media.js +1 -1
- package/packages/config-stylelint/plugins/no-unresolved-module.js +1 -1
- package/packages/config-stylelint/plugins/no-unsupported-browser-features.js +1 -1
- package/packages/config-stylelint/plugins/optional/gamut.js +1 -1
- package/packages/config-stylelint/plugins/optional/logical-css.js +1 -1
- package/packages/config-stylelint/plugins/optional/no-indistinguishable-colors.js +1 -1
- package/packages/config-stylelint/plugins/order.js +1 -1
- package/packages/config-stylelint/plugins/prettier.js +1 -1
- package/packages/config-stylelint/plugins/scss.js +1 -1
- package/packages/config-stylelint/plugins/selector-no-empty.js +1 -1
- package/packages/config-stylelint/plugins/use-nesting.js +1 -1
- package/packages/config-stylelint/plugins/vue.js +1 -1
- package/prettier.config.js +5 -0
- package/scripts/lint.eslint.sh +1 -1
- package/scripts/lint.markdownlint.sh +1 -1
- package/stylelint.config.js +14 -0
- package/.eslintrc.js +0 -3
- package/.huskyrc.js +0 -3
- package/.linthtmlrc.js +0 -3
- package/.lintstagedrc.js +0 -3
- package/.markdownlintrc.js +0 -3
- package/.prettierrc.js +0 -3
- package/.stylelintrc.js +0 -4
- package/packages/config-hooks/husky.js +0 -6
- package/packages/config-markdownlint/index.js +0 -17
- package/packages/config-markdownlint/node_modules/markdown-it/LICENSE +0 -22
- package/packages/config-markdownlint/node_modules/markdown-it/README.md +0 -309
- package/packages/config-markdownlint/node_modules/markdown-it/bin/markdown-it.js +0 -117
- package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.js +0 -8441
- package/packages/config-markdownlint/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
- package/packages/config-markdownlint/node_modules/markdown-it/index.js +0 -4
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/entities.js +0 -6
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_blocks.js +0 -70
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/html_re.js +0 -28
- package/packages/config-markdownlint/node_modules/markdown-it/lib/common/utils.js +0 -317
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/index.js +0 -7
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -80
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -48
- package/packages/config-markdownlint/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -55
- package/packages/config-markdownlint/node_modules/markdown-it/lib/index.js +0 -582
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_block.js +0 -131
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_core.js +0 -61
- package/packages/config-markdownlint/node_modules/markdown-it/lib/parser_inline.js +0 -192
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/commonmark.js +0 -81
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/default.js +0 -41
- package/packages/config-markdownlint/node_modules/markdown-it/lib/presets/zero.js +0 -63
- package/packages/config-markdownlint/node_modules/markdown-it/lib/renderer.js +0 -341
- package/packages/config-markdownlint/node_modules/markdown-it/lib/ruler.js +0 -352
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -226
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/code.js +0 -34
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/fence.js +0 -98
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/heading.js +0 -55
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/hr.js +0 -45
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/html_block.js +0 -74
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/lheading.js +0 -83
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/list.js +0 -362
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -51
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/reference.js +0 -198
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/state_block.js +0 -231
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_block/table.js +0 -221
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/block.js +0 -16
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/inline.js +0 -13
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/linkify.js +0 -142
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/normalize.js +0 -21
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/replacements.js +0 -105
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -201
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/state_core.js +0 -20
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_core/text_join.js +0 -45
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -63
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -130
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -130
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/entity.js +0 -55
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/escape.js +0 -71
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -41
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -58
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/image.js +0 -152
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/link.js +0 -150
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -62
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/newline.js +0 -46
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -130
- package/packages/config-markdownlint/node_modules/markdown-it/lib/rules_inline/text.js +0 -89
- package/packages/config-markdownlint/node_modules/markdown-it/lib/token.js +0 -201
- package/packages/config-markdownlint/node_modules/markdown-it/package.json +0 -87
- package/packages/config-markdownlint/node_modules/markdownlint/CHANGELOG.md +0 -428
- package/packages/config-markdownlint/node_modules/markdownlint/CONTRIBUTING.md +0 -92
- package/packages/config-markdownlint/node_modules/markdownlint/LICENSE +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/README.md +0 -1026
- package/packages/config-markdownlint/node_modules/markdownlint/demo/markdownlint-browser.js +0 -6814
- package/packages/config-markdownlint/node_modules/markdownlint/doc/CustomRules.md +0 -376
- package/packages/config-markdownlint/node_modules/markdownlint/doc/Prettier.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/ReleaseProcess.md +0 -20
- package/packages/config-markdownlint/node_modules/markdownlint/doc/Rules.md +0 -2335
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md001.md +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md003.md +0 -59
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md004.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md005.md +0 -53
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md007.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md009.md +0 -51
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md010.md +0 -56
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md011.md +0 -30
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md012.md +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md013.md +0 -57
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md014.md +0 -54
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md018.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md019.md +0 -28
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md020.md +0 -29
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md021.md +0 -31
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md022.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md023.md +0 -33
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md024.md +0 -47
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md025.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md026.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md027.md +0 -24
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md028.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md029.md +0 -98
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md030.md +0 -82
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md031.md +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md032.md +0 -55
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md033.md +0 -27
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md034.md +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md035.md +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md036.md +0 -45
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md037.md +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md038.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md039.md +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md040.md +0 -52
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md041.md +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md042.md +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md043.md +0 -69
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md044.md +0 -35
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md045.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md046.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md047.md +0 -34
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md048.md +0 -41
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md049.md +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md050.md +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md051.md +0 -61
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md052.md +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md053.md +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/doc/md054.md +0 -100
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/LICENSE +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/README.md +0 -70
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/helpers.js +0 -1025
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/micromark.cjs +0 -426
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/package.json +0 -26
- package/packages/config-markdownlint/node_modules/markdownlint/helpers/shared.js +0 -10
- package/packages/config-markdownlint/node_modules/markdownlint/lib/cache.js +0 -21
- package/packages/config-markdownlint/node_modules/markdownlint/lib/configuration.d.ts +0 -1152
- package/packages/config-markdownlint/node_modules/markdownlint/lib/constants.js +0 -14
- package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.d.ts +0 -406
- package/packages/config-markdownlint/node_modules/markdownlint/lib/markdownlint.js +0 -1476
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md001.js +0 -22
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md003.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md004.js +0 -76
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md005.js +0 -73
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md007.js +0 -86
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md009.js +0 -86
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md010.js +0 -60
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md011.js +0 -46
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md012.js +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md013.js +0 -96
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md014.js +0 -53
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md018.js +0 -34
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md019.js +0 -39
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md020.js +0 -62
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md021.js +0 -62
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md022.js +0 -108
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md023.js +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md024.js +0 -38
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md025.js +0 -32
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md026.js +0 -50
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md027.js +0 -56
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md028.js +0 -30
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md029.js +0 -67
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md030.js +0 -61
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md031.js +0 -40
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md032.js +0 -78
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md033.js +0 -39
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md034.js +0 -79
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md035.js +0 -24
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md036.js +0 -56
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md037.js +0 -91
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md038.js +0 -97
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md039.js +0 -67
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md040.js +0 -37
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md041.js +0 -42
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md042.js +0 -49
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md043.js +0 -64
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md044.js +0 -107
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md045.js +0 -60
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md046.js +0 -33
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md047.js +0 -28
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md048.js +0 -30
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md049-md050.js +0 -89
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md051.js +0 -172
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md052.js +0 -39
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md053.js +0 -59
- package/packages/config-markdownlint/node_modules/markdownlint/lib/md054.js +0 -125
- package/packages/config-markdownlint/node_modules/markdownlint/lib/rules.js +0 -65
- package/packages/config-markdownlint/node_modules/markdownlint/package.json +0 -109
- package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.jsonc +0 -297
- package/packages/config-markdownlint/node_modules/markdownlint/schema/.markdownlint.yaml +0 -266
- package/packages/config-markdownlint/node_modules/markdownlint/schema/markdownlint-config-schema.json +0 -1762
- package/packages/config-markdownlint/node_modules/markdownlint/style/all.json +0 -5
- package/packages/config-markdownlint/node_modules/markdownlint/style/cirosantilli.json +0 -22
- package/packages/config-markdownlint/node_modules/markdownlint/style/prettier.json +0 -26
- package/packages/config-markdownlint/node_modules/markdownlint/style/relaxed.json +0 -12
- /package/packages/config-eslint/plugins/{security.js → optional/security.js} +0 -0
package/.eslintrc.cjs
ADDED
package/.linthtmlrc.cjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/lint-kit",
|
|
3
|
-
"version": "
|
|
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
|
-
".
|
|
40
|
-
".
|
|
41
|
-
".
|
|
42
|
-
".
|
|
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
|
-
".
|
|
48
|
-
".
|
|
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.
|
|
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
|
-
// .
|
|
16
|
-
|
|
15
|
+
// commitlint.config.js
|
|
16
|
+
export default {
|
|
17
17
|
extends: ['@alexlit/config-commitlint'],
|
|
18
18
|
};
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-commitlint",
|
|
3
|
-
"version": "
|
|
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": "^
|
|
35
|
-
"@commitlint/config-conventional": "^
|
|
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.
|
|
@@ -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: ['.*.
|
|
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
|
-
|
|
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": "
|
|
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.
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
39
|
-
"@typescript-eslint/parser": "^6.
|
|
40
|
-
"eslint": "^8.
|
|
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.
|
|
43
|
-
"eslint-define-config": "^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.
|
|
53
|
-
"eslint-plugin-jsdoc": "^
|
|
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.
|
|
56
|
-
"eslint-plugin-lit-a11y": "^4.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.
|
|
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.
|
|
65
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
66
66
|
"eslint-plugin-promise": "^6.1.1",
|
|
67
|
-
"eslint-plugin-regexp": "^2.
|
|
68
|
-
"eslint-plugin-security": "^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.
|
|
71
|
-
"eslint-plugin-sort-class-members": "^1.
|
|
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.
|
|
77
|
-
"eslint-plugin-typescript-sort-keys": "^3.
|
|
78
|
-
"eslint-plugin-unicorn": "^
|
|
79
|
-
"eslint-plugin-unused-imports": "^3.
|
|
80
|
-
"eslint-plugin-vitest": "^0.3.
|
|
81
|
-
"eslint-plugin-vue": "^9.
|
|
82
|
-
"eslint-plugin-vuejs-accessibility": "^2.2.
|
|
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.
|
|
85
|
+
"typescript": "^5.3.3"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -57,13 +57,25 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
'vue/define-macros-order': [
|
|
59
59
|
'error',
|
|
60
|
-
{
|
|
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
|
-
|
|
12
|
-
// .huskyrc.js
|
|
13
|
-
module.exports = {
|
|
14
|
-
...require('@alexlit/config-hooks/husky'),
|
|
15
|
-
};
|
|
16
|
-
```
|
|
11
|
+
- lint-staged
|
|
17
12
|
|
|
18
|
-
```js
|
|
19
|
-
//
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
```
|
|
@@ -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 --
|
|
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
|
-
|
|
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
|
+
"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
|
-
"
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "index.js",
|
|
25
26
|
"files": [
|
|
26
27
|
"README.md",
|
|
27
|
-
"
|
|
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": "^
|
|
36
|
-
"lint-staged": "^15.
|
|
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
|
-
```
|
|
12
|
-
// .
|
|
13
|
-
|
|
14
|
-
|
|
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
|
+
"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.
|
|
24
|
+
"main": "index.json",
|
|
25
25
|
"files": [
|
|
26
26
|
"README.md",
|
|
27
|
-
"index.
|
|
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.
|
|
35
|
-
"markdownlint-cli": "^0.
|
|
34
|
+
"markdownlint": "^0.33.0",
|
|
35
|
+
"markdownlint-cli": "^0.39.0"
|
|
36
36
|
}
|
|
37
37
|
}
|