@alexlit/lint-kit 207.2.1 → 207.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "207.2.1",
3
+ "version": "207.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": [
@@ -63,11 +63,15 @@
63
63
  "lint:npmlint": "time ./scripts/lint.npmlint.sh",
64
64
  "lint:stylelint": "time ./scripts/lint.stylelint.sh",
65
65
  "ou": "./scripts/ou.sh",
66
- "prepare": "husky",
66
+ "prepare": "simple-git-hooks",
67
67
  "release": "./scripts/release.sh",
68
68
  "semver": "./scripts/semver.sh",
69
69
  "up": "./scripts/up.sh"
70
70
  },
71
+ "simple-git-hooks": {
72
+ "pre-commit": "npx lint-staged",
73
+ "commit-msg": "npx commitlint --edit"
74
+ },
71
75
  "devDependencies": {
72
76
  "changelogen": "^0.6.2"
73
77
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "156.2.1",
3
+ "version": "156.2.2",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "eslint-config-prettier": "^10.1.8",
51
51
  "eslint-plugin-de-morgan": "^2.2.0",
52
52
  "eslint-plugin-jsdoc": "^64.5.4",
53
- "eslint-plugin-perfectionist": "^5.12.0",
53
+ "eslint-plugin-perfectionist": "^5.12.1",
54
54
  "eslint-plugin-pinia": "^0.4.2",
55
55
  "eslint-plugin-prettier": "^5.5.6",
56
56
  "eslint-plugin-regexp": "^3.3.1",
@@ -35,7 +35,7 @@ npm i @alexlit/config-hooks -D
35
35
 
36
36
  ## Runner examples
37
37
 
38
- - simple-git-hooks
38
+ - simple-git-hooks (recommended)
39
39
 
40
40
  ```json
41
41
  // package.json
@@ -62,6 +62,6 @@ npm i @alexlit/config-hooks -D
62
62
  ```sh
63
63
  npx husky init
64
64
 
65
- echo 'npx --no -- commitlint --edit "$1"' > .husky/commit-msg
66
- echo 'npx --no lint-staged' > .husky/pre-commit
65
+ echo 'npx --no -- commitlint --edit "$1"' >.husky/commit-msg
66
+ echo 'npx --no lint-staged' >.husky/pre-commit
67
67
  ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-prettier",
3
- "version": "23.1.1",
3
+ "version": "23.2.0",
4
4
  "private": false,
5
5
  "description": "prettier config",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "prettier-plugin-jsdoc": "^1.8.1",
45
45
  "prettier-plugin-mdc": "^0.2.1",
46
46
  "prettier-plugin-packagejson": "^3.0.2",
47
- "prettier-plugin-sh": "^0.19.0",
47
+ "prettier-plugin-sh": "^0.20.2",
48
48
  "prettier-plugin-solidity": "^2.4.1",
49
49
  "prettier-plugin-sort-json": "^4.2.0",
50
50
  "prettier-plugin-sql": "^0.20.0",