@alexlit/lint-kit 113.1.0 → 113.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": "113.1.0",
3
+ "version": "113.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": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "80.1.0",
3
+ "version": "80.4.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@intlify/eslint-plugin-vue-i18n": "^2.0.0",
40
40
  "@tanstack/eslint-plugin-query": "^5.28.11",
41
- "@typescript-eslint/eslint-plugin": "^7.5.0",
42
- "@typescript-eslint/parser": "^7.5.0",
41
+ "@typescript-eslint/eslint-plugin": "^7.6.0",
42
+ "@typescript-eslint/parser": "^7.6.0",
43
43
  "eslint": "^8.57.0",
44
44
  "eslint-config-airbnb-base": "^15.0.0",
45
45
  "eslint-config-prettier": "^9.1.0",
@@ -81,10 +81,14 @@
81
81
  "eslint-plugin-unicorn": "^52.0.0",
82
82
  "eslint-plugin-unused-imports": "^3.1.0",
83
83
  "eslint-plugin-vitest": "^0.4.1",
84
- "eslint-plugin-vue": "^9.24.0",
84
+ "eslint-plugin-vue": "^9.24.1",
85
85
  "eslint-plugin-vuejs-accessibility": "^2.2.1",
86
- "eslint-plugin-wc": "^2.0.4",
86
+ "eslint-plugin-wc": "^2.1.0",
87
87
  "eslint-plugin-write-good-comments": "^0.2.0",
88
88
  "typescript": "^5.4.4"
89
+ },
90
+ "overrides": {
91
+ "eslint-plugin-vitest": "^0.4.1",
92
+ "eslint-plugin-array-func": "^4.0.0"
89
93
  }
90
94
  }
@@ -3,8 +3,6 @@
3
3
  YELLOW='\e[33m'
4
4
  DEFAULT='\e[39m'
5
5
 
6
- clear
7
-
8
6
  echo -e "${YELLOW}Проверяю editorconfig...${DEFAULT}"
9
7
 
10
8
  npx editorconfig-checker
package/scripts/i.sh CHANGED
@@ -3,8 +3,6 @@
3
3
  YELLOW='\e[33m'
4
4
  DEFAULT='\e[39m'
5
5
 
6
- clear
7
-
8
6
  echo -e "${YELLOW}Устанавливаю зависимости...${DEFAULT}"
9
7
 
10
8
  npm i --legacy-peer-deps
package/scripts/lint.sh CHANGED
@@ -6,8 +6,6 @@ DEFAULT='\e[39m'
6
6
  GREEN='\e[92m'
7
7
  YELLOW='\e[33m'
8
8
 
9
- clear
10
-
11
9
  echo -e "${YELLOW}Запускаю линтеры: ${GREEN}eslint, htmllint, markdownlint, npmlint, stylelint...${DEFAULT}"
12
10
 
13
11
  npm run lint:eslint --if-present ${OPTION}
@@ -6,8 +6,6 @@ DEFAULT='\e[39m'
6
6
  GREEN='\e[32m'
7
7
  YELLOW='\e[33m'
8
8
 
9
- clear
10
-
11
9
  npm run semver ${VERSION}
12
10
 
13
11
  CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
package/scripts/semver.sh CHANGED
@@ -9,8 +9,6 @@ YELLOW='\e[33m'
9
9
  MAIN_PACKAGE="@alexlit/lint-kit"
10
10
  CURRENT_PACKAGE=$(node -p "require('./package.json').name")
11
11
 
12
- clear
13
-
14
12
  echo -e "${YELLOW}Поднимаю ${GREEN}${VERSION}${YELLOW} версию пакета ${GREEN}${CURRENT_PACKAGE}${YELLOW}...${DEFAULT}"
15
13
 
16
14
  changelogen --release --no-commit --${VERSION}
package/scripts/up.sh CHANGED
@@ -2,18 +2,23 @@
2
2
 
3
3
  VERSION=${1:-minor}
4
4
 
5
+ BLUE='\e[94m'
5
6
  DEFAULT='\e[39m'
6
7
  GREEN='\e[32m'
7
8
  YELLOW='\e[33m'
8
9
 
9
10
  CURRENT_DIR=${PWD##*/}
10
11
 
11
- clear
12
+ SKIPED_PACKAGES='eslint-plugin-vitest,eslint-plugin-array-func' # <string | ''>
12
13
 
13
14
  echo -e "${YELLOW}Обновляю зависимости пакета ${GREEN}${CURRENT_DIR}${YELLOW} до версии ${GREEN}${VERSION}${YELLOW}...${DEFAULT}"
14
15
 
16
+ if [ ${SKIPED_PACKAGES} != '' ]; then
17
+ echo -e "${BLUE}--reject ${DEFAULT}${SKIPED_PACKAGES}"
18
+ fi
19
+
15
20
  # root
16
- npx npm-check-updates --upgrade --target ${VERSION}
21
+ npx npm-check-updates --upgrade --reject ${SKIPED_PACKAGES} --target ${VERSION}
17
22
  npm i --legacy-peer-deps
18
23
 
19
24
  # packages