@alexlit/config-eslint 83.0.2 → 84.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.
Files changed (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -280,6 +280,18 @@ const createConfig = (plugins = {}, options = {}) =>
280
280
  },
281
281
  ],
282
282
 
283
+ 'no-restricted-imports': [
284
+ 'error',
285
+ {
286
+ patterns: [
287
+ {
288
+ group: ['.', '..', '*/..'],
289
+ message: 'Use absolute path instead',
290
+ },
291
+ ],
292
+ },
293
+ ],
294
+
283
295
  'no-return-await': 'off',
284
296
 
285
297
  'no-shadow': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "83.0.2",
3
+ "version": "84.0.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@intlify/eslint-plugin-vue-i18n": "^2.0.0",
41
- "@tanstack/eslint-plugin-query": "^5.32.1",
41
+ "@tanstack/eslint-plugin-query": "^5.35.6",
42
42
  "@typescript-eslint/eslint-plugin": "^7.8.0",
43
43
  "@typescript-eslint/parser": "^7.8.0",
44
44
  "eslint": "^8.57.0",
@@ -54,16 +54,16 @@
54
54
  "eslint-plugin-ext": "^0.1.0",
55
55
  "eslint-plugin-filenames": "^1.3.2",
56
56
  "eslint-plugin-import": "^2.29.1",
57
- "eslint-plugin-jsdoc": "^48.2.3",
57
+ "eslint-plugin-jsdoc": "^48.2.4",
58
58
  "eslint-plugin-jsx-a11y": "^6.8.0",
59
- "eslint-plugin-lit": "^1.11.0",
59
+ "eslint-plugin-lit": "^1.12.0",
60
60
  "eslint-plugin-lit-a11y": "^4.1.2",
61
61
  "eslint-plugin-more": "^1.0.5",
62
62
  "eslint-plugin-no-await-in-promise": "^1.1.6",
63
63
  "eslint-plugin-no-constructor-bind": "^2.0.4",
64
64
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
65
65
  "eslint-plugin-no-loops": "^0.3.0",
66
- "eslint-plugin-no-secrets": "^0.9.1",
66
+ "eslint-plugin-no-secrets": "^1.0.2",
67
67
  "eslint-plugin-no-use-extend-native": "^0.5.0",
68
68
  "eslint-plugin-node": "^11.1.0",
69
69
  "eslint-plugin-prettier": "^5.1.3",
@@ -79,10 +79,10 @@
79
79
  "eslint-plugin-sql": "^2.5.0",
80
80
  "eslint-plugin-testing-library": "^6.2.2",
81
81
  "eslint-plugin-typescript-sort-keys": "^3.2.0",
82
- "eslint-plugin-unicorn": "^52.0.0",
82
+ "eslint-plugin-unicorn": "^53.0.0",
83
83
  "eslint-plugin-unused-imports": "^3.2.0",
84
84
  "eslint-plugin-vitest": "^0.4.1",
85
- "eslint-plugin-vue": "^9.25.0",
85
+ "eslint-plugin-vue": "^9.26.0",
86
86
  "eslint-plugin-vuejs-accessibility": "^2.3.0",
87
87
  "eslint-plugin-wc": "^2.1.0",
88
88
  "eslint-plugin-write-good-comments": "^0.2.0",