@alexlit/lint-kit 107.2.2 → 107.3.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/package.json +11 -10
- package/packages/config-eslint/dictionaries/index.js +2 -1
- package/packages/config-eslint/index.js +2 -1
- package/packages/config-eslint/package.json +7 -7
- package/packages/config-hooks/lint-staged.js +3 -3
- package/packages/config-hooks/package.json +1 -1
- package/packages/config-markdownlint/README.md +5 -5
- package/packages/config-markdownlint/index.json +17 -0
- package/packages/config-markdownlint/package.json +3 -3
- package/scripts/lint.eslint.sh +1 -1
- package/scripts/lint.markdownlint.sh +1 -1
- package/.markdownlintrc.js +0 -3
- package/packages/config-markdownlint/index.js +0 -17
- /package/{.commitlintrc.js → .commitlintrc.cjs} +0 -0
- /package/{.eslintrc.js → .eslintrc.cjs} +0 -0
- /package/{.huskyrc.js → .huskyrc.cjs} +0 -0
- /package/{.linthtmlrc.js → .linthtmlrc.cjs} +0 -0
- /package/{.lintstagedrc.js → .lintstagedrc.cjs} +0 -0
- /package/{.prettierrc.js → .prettierrc.cjs} +0 -0
- /package/{.stylelintrc.js → .stylelintrc.cjs} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/lint-kit",
|
|
3
|
-
"version": "107.
|
|
3
|
+
"version": "107.3.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,19 @@
|
|
|
34
34
|
"url": "https://alexlit.gitlab.io"
|
|
35
35
|
}
|
|
36
36
|
],
|
|
37
|
+
"type": "module",
|
|
37
38
|
"main": "README.md",
|
|
38
39
|
"files": [
|
|
39
|
-
".commitlintrc.
|
|
40
|
-
".eslintrc.
|
|
41
|
-
".huskyrc.
|
|
42
|
-
".linthtmlrc.
|
|
43
|
-
".lintstagedrc.
|
|
44
|
-
".markdownlintrc.
|
|
40
|
+
".commitlintrc.cjs",
|
|
41
|
+
".eslintrc.cjs",
|
|
42
|
+
".huskyrc.cjs",
|
|
43
|
+
".linthtmlrc.cjs",
|
|
44
|
+
".lintstagedrc.cjs",
|
|
45
|
+
".markdownlintrc.cjs",
|
|
45
46
|
".npmpackagejsonlintrc.json",
|
|
46
47
|
".npmrc",
|
|
47
|
-
".prettierrc.
|
|
48
|
-
".stylelintrc.
|
|
48
|
+
".prettierrc.cjs",
|
|
49
|
+
".stylelintrc.cjs",
|
|
49
50
|
"packages",
|
|
50
51
|
"scripts"
|
|
51
52
|
],
|
|
@@ -65,6 +66,6 @@
|
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
68
|
"changelogen": "latest",
|
|
68
|
-
"typescript": "^5.
|
|
69
|
+
"typescript": "^5.3.2"
|
|
69
70
|
}
|
|
70
71
|
}
|
|
@@ -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,
|
|
@@ -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',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "72.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
37
37
|
"@tanstack/eslint-plugin-query": "^5.8.4",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
39
|
-
"@typescript-eslint/parser": "^6.
|
|
40
|
-
"eslint": "^8.
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
39
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
40
|
+
"eslint": "^8.54.0",
|
|
41
41
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
42
42
|
"eslint-config-prettier": "^9.0.0",
|
|
43
|
-
"eslint-define-config": "^
|
|
43
|
+
"eslint-define-config": "^2.0.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",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"eslint-plugin-typescript-sort-keys": "^3.1.0",
|
|
78
78
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
79
79
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
80
|
-
"eslint-plugin-vitest": "^0.3.
|
|
80
|
+
"eslint-plugin-vitest": "^0.3.10",
|
|
81
81
|
"eslint-plugin-vue": "^9.18.1",
|
|
82
82
|
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
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.2"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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';
|
|
@@ -10,16 +10,16 @@ const stylelint = 'stylelint --fix';
|
|
|
10
10
|
module.exports = {
|
|
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],
|
|
@@ -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.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "markdownlint config",
|
|
6
6
|
"keywords": [
|
|
@@ -21,10 +21,10 @@
|
|
|
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",
|
package/scripts/lint.eslint.sh
CHANGED
package/.markdownlintrc.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
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
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|