@open-xchange/linter-presets 0.8.0 → 0.8.1

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## `0.8.1` – 2024-Sep-04
4
+
5
+ - change: (ESLint) relax a few strict rules of `@typescript-eslint`
6
+
3
7
  ## `0.8.0` – 2024-Sep-04
4
8
 
5
9
  - change: (ESLint) raise `@typescript-eslint` rules to "strict" preset
@@ -49,6 +49,7 @@ export default function ts() {
49
49
  "@typescript-eslint/no-explicit-any": "off",
50
50
  "@typescript-eslint/no-import-type-side-effects": "error",
51
51
  "@typescript-eslint/no-invalid-this": "error",
52
+ "@typescript-eslint/no-invalid-void-type": "off",
52
53
  "@typescript-eslint/no-loop-func": "error",
53
54
  "@typescript-eslint/no-namespace": ["error", { allowDeclarations: true }],
54
55
  "@typescript-eslint/no-non-null-assertion": "off",
@@ -60,9 +61,11 @@ export default function ts() {
60
61
  "@typescript-eslint/parameter-properties": "error",
61
62
  "@typescript-eslint/prefer-nullish-coalescing": ["error", { ignorePrimitives: true }],
62
63
  "@typescript-eslint/prefer-readonly": "error",
64
+ "@typescript-eslint/prefer-reduce-type-parameter": "off",
63
65
  "@typescript-eslint/restrict-template-expressions": "off",
64
66
  "@typescript-eslint/return-await": ["error", "always"],
65
67
  "@typescript-eslint/switch-exhaustiveness-check": "error",
68
+ "@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
66
69
  },
67
70
  },
68
71
  // fixes for module definition files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",