@alexlit/lint-kit 51.1.0 → 52.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/.lintstagedrc.js CHANGED
@@ -25,6 +25,7 @@ module.exports = {
25
25
  '*.scss': [stylelint, prettier],
26
26
  '*.sh': [prettier],
27
27
  '*.sol': [prettier],
28
+ '*.sql': [prettier],
28
29
  // '*.svg': [prettier], bug - clear all new svg files in some unknown cases
29
30
  '*.ts': [eslint, prettier],
30
31
  '*.tsx': [eslint, prettier],
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ # [52.0.0](https://github.com/alex-lit/lint-kit/compare/v51.4.0...v52.0.0) (2021-12-27)
2
+
3
+
4
+
5
+ # [51.4.0](https://github.com/alex-lit/lint-kit/compare/v51.3.0...v51.4.0) (2021-12-24)
6
+
7
+ # [51.3.0](https://github.com/alex-lit/lint-kit/compare/v51.2.0...v51.3.0) (2021-12-23)
8
+
9
+ ### Features
10
+
11
+ - add sql support
12
+ ([e234860](https://github.com/alex-lit/lint-kit/commit/e2348600edbc38fe32d7eb50c6453e1a9c7236d7))
13
+
14
+ # [51.2.0](https://github.com/alex-lit/lint-kit/compare/v51.1.0...v51.2.0) (2021-12-21)
15
+
1
16
  # [51.1.0](https://github.com/alex-lit/lint-kit/compare/v51.0.0...v51.1.0) (2021-12-20)
2
17
 
3
18
  # [51.0.0](https://github.com/alex-lit/lint-kit/compare/v50.0.2...v51.0.0) (2021-12-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "51.1.0",
3
+ "version": "52.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": [
@@ -56,21 +56,22 @@
56
56
  "lint:markdownlint": "./scripts/lint.markdownlint.sh",
57
57
  "lint:npmlint": "./scripts/lint.npmlint.sh",
58
58
  "lint:stylelint": "./scripts/lint.stylelint.sh",
59
+ "ou": "./scripts/ou.sh",
59
60
  "publish": "./scripts/publish.sh",
60
61
  "semver": "./scripts/semver.sh",
61
62
  "up": "./scripts/up.sh",
62
63
  "version": "./scripts/version.sh"
63
64
  },
64
65
  "dependencies": {
65
- "@alexlit/config-commitlint": "^4.0.0",
66
- "@alexlit/config-eslint": "^36.1.0",
66
+ "@alexlit/config-commitlint": "^5.0.0",
67
+ "@alexlit/config-eslint": "^36.2.3",
67
68
  "@alexlit/config-htmllint": "^0.1.3",
68
69
  "@alexlit/config-markdownlint": "0.8.0",
69
70
  "@alexlit/config-npmlint": "^2.0.2",
70
- "@alexlit/config-prettier": "^4.5.0",
71
- "@alexlit/config-stylelint": "^14.0.1",
71
+ "@alexlit/config-prettier": "^4.7.0",
72
+ "@alexlit/config-stylelint": "^14.1.0",
72
73
  "husky": "^4.3.8",
73
- "lint-staged": "^12.1.3"
74
+ "lint-staged": "^12.1.4"
74
75
  },
75
76
  "devDependencies": {
76
77
  "typescript": "^4.5.4"
package/scripts/init.sh CHANGED
@@ -1,35 +1,46 @@
1
1
  # Install dependencies
2
2
 
3
+ COLOR_NAME='\e[96m'
4
+
5
+ echo "\n${COLOR_NAME}install dependencies..."
3
6
  npm i
4
7
 
8
+ echo "\n${COLOR_NAME}get submodules..."
5
9
  git submodule update --init
6
10
 
7
11
  cd submodules
8
12
 
13
+ echo "\n${COLOR_NAME}install commitlint..."
9
14
  cd config-commitlint
10
15
  npm i
11
16
  cd ../
12
17
 
18
+ echo "\n${COLOR_NAME}install eslint..."
13
19
  cd config-eslint
14
20
  npm i
15
21
  cd ../
16
22
 
23
+ echo "\n${COLOR_NAME}install htmllint..."
17
24
  cd config-htmllint
18
25
  npm i
19
26
  cd ../
20
27
 
28
+ echo "\n${COLOR_NAME}install markdownlint..."
21
29
  cd config-markdownlint
22
30
  npm i
23
31
  cd ../
24
32
 
33
+ echo "\n${COLOR_NAME}install npmlint..."
25
34
  cd config-npmlint
26
35
  npm i
27
36
  cd ../
28
37
 
38
+ echo "\n${COLOR_NAME}install prettier..."
29
39
  cd config-prettier
30
40
  npm i
31
41
  cd ../
32
42
 
43
+ echo "\n${COLOR_NAME}install stylelint..."
33
44
  cd config-stylelint
34
45
  npm i
35
46
  cd ../
package/scripts/ou.sh ADDED
@@ -0,0 +1,43 @@
1
+ # Check outdated packages
2
+
3
+ COLOR_NAME='\e[96m'
4
+
5
+ echo "\n${COLOR_NAME}check lint-kit..."
6
+ npm ou
7
+
8
+ cd submodules
9
+
10
+ echo "\n${COLOR_NAME}check commitlint..."
11
+ cd config-commitlint
12
+ npm ou
13
+ cd ../
14
+
15
+ echo "\n${COLOR_NAME}check eslint..."
16
+ cd config-eslint
17
+ npm ou
18
+ cd ../
19
+
20
+ echo "\n${COLOR_NAME}check htmllint..."
21
+ cd config-htmllint
22
+ npm ou
23
+ cd ../
24
+
25
+ echo "\n${COLOR_NAME}check markdownlint..."
26
+ cd config-markdownlint
27
+ npm ou
28
+ cd ../
29
+
30
+ echo "\n${COLOR_NAME}check npmlint..."
31
+ cd config-npmlint
32
+ npm ou
33
+ cd ../
34
+
35
+ echo "\n${COLOR_NAME}check prettier..."
36
+ cd config-prettier
37
+ npm ou
38
+ cd ../
39
+
40
+ echo "\n${COLOR_NAME}check stylelint..."
41
+ cd config-stylelint
42
+ npm ou
43
+ cd ../