@html-validate/eslint-config-typescript-typeinfo 5.4.0 → 5.4.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.
Files changed (2) hide show
  1. package/index.js +11 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -2,8 +2,18 @@ module.exports = {
2
2
  extends: ["plugin:@typescript-eslint/recommended-requiring-type-checking"],
3
3
 
4
4
  rules: {
5
+ /* no-explicit-any is enabled and for now this rule is a bit to tedious to
6
+ * actually help */
7
+ "@typescript-eslint/no-unsafe-member-access": "off",
8
+
9
+ /* prefer interface over type = { .. } */
10
+ "@typescript-eslint/consistent-type-definitions": ["error", "interface"],
11
+
5
12
  /* enforce usage of "type" with export/import */
6
- "@typescript-eslint/consistent-type-exports": "error",
13
+ "@typescript-eslint/consistent-type-exports": [
14
+ "error",
15
+ { fixMixedExportsWithInlineTypeSpecifier: true },
16
+ ],
7
17
  "@typescript-eslint/consistent-type-imports": "error",
8
18
  },
9
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config-typescript-typeinfo",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint",
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "290d15c3aecffaa1a177bd9e5c409e296fb49199"
34
+ "gitHead": "57492ed7ff2d25e452297c74ae79bcecebf77cbf"
35
35
  }