@alexlit/lint-kit 113.3.0 → 114.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 CHANGED
@@ -1,3 +1,3 @@
1
1
  const { createConfig } = require('@alexlit/config-eslint');
2
2
 
3
- module.exports = createConfig();
3
+ module.exports = createConfig({ security: true, node: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "113.3.0",
3
+ "version": "114.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": [
@@ -67,7 +67,9 @@
67
67
  "up": "./scripts/up.sh"
68
68
  },
69
69
  "devDependencies": {
70
- "changelogen": "latest",
71
- "typescript": "^5.4.2"
70
+ "changelogen": "latest"
71
+ },
72
+ "engines": {
73
+ "node": ">=18"
72
74
  }
73
75
  }
@@ -36,5 +36,8 @@
36
36
  "@commitlint/cli": "^19.2.1",
37
37
  "@commitlint/config-conventional": "^19.1.0",
38
38
  "conventional-changelog-cli": "^4.1.0"
39
+ },
40
+ "engines": {
41
+ "node": ">=18"
39
42
  }
40
43
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "80.4.0",
3
+ "version": "81.0.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -68,7 +68,7 @@
68
68
  "eslint-plugin-prettier": "^5.1.3",
69
69
  "eslint-plugin-promise": "^6.1.1",
70
70
  "eslint-plugin-regexp": "^2.5.0",
71
- "eslint-plugin-security": "^2.1.1",
71
+ "eslint-plugin-security": "^3.0.0",
72
72
  "eslint-plugin-simple-import-sort": "^12.0.0",
73
73
  "eslint-plugin-sonarjs": "^0.25.1",
74
74
  "eslint-plugin-sort-class-members": "^1.20.0",
@@ -85,10 +85,14 @@
85
85
  "eslint-plugin-vuejs-accessibility": "^2.2.1",
86
86
  "eslint-plugin-wc": "^2.1.0",
87
87
  "eslint-plugin-write-good-comments": "^0.2.0",
88
- "typescript": "^5.4.4"
88
+ "typescript": "^5.4.5"
89
+ },
90
+ "engines": {
91
+ "node": ">=18"
89
92
  },
90
93
  "overrides": {
91
- "eslint-plugin-vitest": "^0.4.1",
92
- "eslint-plugin-array-func": "^4.0.0"
94
+ "eslint": "^8.57.0",
95
+ "eslint-plugin-array-func": "^4.0.0",
96
+ "eslint-plugin-vitest": "^0.4.1"
93
97
  }
94
- }
98
+ }
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- extends: ['plugin:security/recommended'],
2
+ extends: ['plugin:security/recommended-legacy'],
3
3
 
4
4
  plugins: ['security'],
5
5
 
@@ -36,5 +36,8 @@
36
36
  "dependencies": {
37
37
  "husky": "^9.0.11",
38
38
  "lint-staged": "^15.2.2"
39
+ },
40
+ "engines": {
41
+ "node": ">=18"
39
42
  }
40
43
  }
@@ -37,5 +37,8 @@
37
37
  "dependencies": {
38
38
  "@linthtml/linthtml": "^0.10.0-beta.5",
39
39
  "@linthtml/linthtml-config-recommended": "^0.1.0"
40
+ },
41
+ "engines": {
42
+ "node": ">=18"
40
43
  }
41
44
  }
@@ -34,5 +34,8 @@
34
34
  "dependencies": {
35
35
  "markdownlint": "^0.34.0",
36
36
  "markdownlint-cli": "^0.39.0"
37
+ },
38
+ "engines": {
39
+ "node": ">=18"
37
40
  }
38
- }
41
+ }
@@ -38,5 +38,8 @@
38
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
+ },
42
+ "engines": {
43
+ "node": ">=18"
41
44
  }
42
- }
45
+ }
@@ -50,6 +50,6 @@
50
50
  "radash": "^12.1.0"
51
51
  },
52
52
  "engines": {
53
- "node": ">=18.12.0"
53
+ "node": ">=18"
54
54
  }
55
55
  }
@@ -59,6 +59,6 @@
59
59
  "stylelint-use-nesting": "^5.1.1"
60
60
  },
61
61
  "engines": {
62
- "node": ">=18.12.0"
62
+ "node": ">=18"
63
63
  }
64
- }
64
+ }
package/scripts/up.sh CHANGED
@@ -9,7 +9,7 @@ YELLOW='\e[33m'
9
9
 
10
10
  CURRENT_DIR=${PWD##*/}
11
11
 
12
- SKIPED_PACKAGES='eslint-plugin-vitest,eslint-plugin-array-func' # <string | ''>
12
+ SKIPED_PACKAGES='eslint,eslint-plugin-vitest,eslint-plugin-array-func'
13
13
 
14
14
  echo -e "${YELLOW}Обновляю зависимости пакета ${GREEN}${CURRENT_DIR}${YELLOW} до версии ${GREEN}${VERSION}${YELLOW}...${DEFAULT}"
15
15
 
@@ -20,6 +20,7 @@ fi
20
20
  # root
21
21
  npx npm-check-updates --upgrade --reject ${SKIPED_PACKAGES} --target ${VERSION}
22
22
  npm i --legacy-peer-deps
23
+ npm audit fix
23
24
 
24
25
  # packages
25
26
  if [ -d "packages" ]; then
@@ -30,6 +31,7 @@ if [ -d "packages" ]; then
30
31
  cd ${PACKAGE}
31
32
  npx npm-check-updates --upgrade --target ${VERSION}
32
33
  npm i --legacy-peer-deps
34
+ npm audit fix
33
35
  cd ../
34
36
  done
35
37
  fi