@open-xchange/linter-presets 1.4.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## `1.5.0` – 2025-Jun-19
4
+
5
+ - added: `no-duplicate-imports` for TS files (with option `allowSeparateTypeImports`)
6
+ - chore: (ESLint) bump ESLint peer dependency to 9.30
7
+
3
8
  ## `1.4.0` – 2025-Jun-19
4
9
 
5
10
  - added: (ESLint) new option "additionalHooks" for `env.react`
@@ -49,6 +49,7 @@ export default function base(languageConfig) {
49
49
  "no-constant-binary-expression": "error",
50
50
  "no-constructor-return": "error",
51
51
  "no-control-regex": "off",
52
+ "no-duplicate-imports": ["error", { allowSeparateTypeImports: true }],
52
53
  "no-new-native-nonconstructor": "error",
53
54
  "no-new-symbol": "off", // disabled in favour of "no-new-native-nonconstructor"
54
55
  "no-promise-executor-return": ["error", { allowVoid: true }],
@@ -12,7 +12,6 @@ export default function js() {
12
12
  files: JS_GLOB,
13
13
  rules: {
14
14
  // possible problems
15
- "no-duplicate-imports": "error",
16
15
  "no-loss-of-precision": "off",
17
16
  "no-unused-vars": ["error", NO_UNUSED_VARS_OPTIONS],
18
17
  // suggestions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,13 +32,13 @@
32
32
  "@babel/plugin-proposal-decorators": "^7.27.1",
33
33
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
34
34
  "@eslint-react/eslint-plugin": "^1.52.2",
35
- "@eslint/compat": "^1.3.0",
36
- "@eslint/js": "^9.29.0",
37
- "@eslint/markdown": "^6.5.0",
38
- "@stylistic/eslint-plugin": "^4.4.1",
35
+ "@eslint/compat": "^1.3.1",
36
+ "@eslint/js": "^9.30.0",
37
+ "@eslint/markdown": "^6.6.0",
38
+ "@stylistic/eslint-plugin": "^5.0.0",
39
39
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
40
40
  "@stylistic/stylelint-config": "^2.0.0",
41
- "@stylistic/stylelint-plugin": "^3.1.2",
41
+ "@stylistic/stylelint-plugin": "^3.1.3",
42
42
  "@types/picomatch": "^4.0.0",
43
43
  "@vitest/eslint-plugin": "^1.2.7",
44
44
  "confusing-browser-globals": "^1.0.11",
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-jest": "^29.0.1",
50
50
  "eslint-plugin-jest-dom": "^5.5.0",
51
51
  "eslint-plugin-jest-extended": "^3.0.0",
52
- "eslint-plugin-jsdoc": "^51.0.3",
52
+ "eslint-plugin-jsdoc": "^51.2.3",
53
53
  "eslint-plugin-jsonc": "^2.20.1",
54
54
  "eslint-plugin-jsx-a11y": "^6.10.2",
55
55
  "eslint-plugin-license-header": "^0.8.0",
@@ -70,25 +70,25 @@
70
70
  "stylelint-config-standard-scss": "^15.0.1",
71
71
  "stylelint-config-standard-vue": "^1.0.0",
72
72
  "stylelint-plugin-license-header": "^1.0.3",
73
- "typescript-eslint": "^8.34.1",
74
- "vue-eslint-parser": "^10.1.3"
73
+ "typescript-eslint": "^8.35.0",
74
+ "vue-eslint-parser": "^10.1.4"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/confusing-browser-globals": "^1.0.3",
78
78
  "@types/eslint-scope": "^8.3.0",
79
79
  "@types/react": "^19.1.8",
80
- "@typescript-eslint/utils": "^8.34.1",
81
- "eslint": "^9.29.0",
82
- "jest": "^30.0.1",
80
+ "@typescript-eslint/utils": "^8.35.0",
81
+ "eslint": "^9.30.0",
82
+ "jest": "^30.0.3",
83
83
  "jiti": "^2.4.2",
84
84
  "premove": "^4.0.0",
85
- "stylelint": "^16.20.0",
85
+ "stylelint": "^16.21.0",
86
86
  "ts-patch": "^3.3.0",
87
87
  "typescript": "^5.8.3",
88
88
  "typescript-transform-paths": "^3.5.5"
89
89
  },
90
90
  "peerDependencies": {
91
- "eslint": "^9.27.0",
91
+ "eslint": "^9.30.0",
92
92
  "jest": "^29.7.0 || ^30.0.0",
93
93
  "postcss": "^8.4.0",
94
94
  "stylelint": "^16.19.0",