@schoero/configs 1.0.39 → 1.1.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/eslint/imports.js CHANGED
@@ -47,10 +47,9 @@ export const imports = [
47
47
  "unknown"
48
48
  ],
49
49
  internalPattern: [
50
- "*[^n][^o][^d][^e]*:*",
51
- "*[^n][^o][^d][^e]*:*/*",
52
- "*[^n][^o][^d][^e]*:**/*",
53
- "*[^n][^o][^d][^e]*:**/**/*"
50
+ "[!node:]*:*",
51
+ "[!node:]*:**/*",
52
+ "[!node:]*:**/**/*"
54
53
  ]
55
54
  }
56
55
  ],
package/eslint/jsdoc.js CHANGED
@@ -34,6 +34,7 @@ export const jsdoc = [
34
34
  "eslint-plugin-jsdoc/require-property-name": "warn",
35
35
  "eslint-plugin-jsdoc/require-returns": ["warn", { enableFixer: true }],
36
36
  "eslint-plugin-jsdoc/require-returns-description": "warn",
37
+ "eslint-plugin-jsdoc/require-template": ["warn", { requireSeparateTemplates: true }],
37
38
  "eslint-plugin-jsdoc/require-throws": "warn",
38
39
  "eslint-plugin-jsdoc/require-yields": "warn",
39
40
  "eslint-plugin-jsdoc/require-yields-check": "warn",
@@ -47,6 +48,11 @@ export const jsdoc = [
47
48
  "eventProperty"
48
49
  ]
49
50
  }]
51
+ },
52
+ settings: {
53
+ jsdoc: {
54
+ ignoreInternal: true
55
+ }
50
56
  }
51
57
  }
52
58
  ];
@@ -57,7 +57,9 @@ export const typescript = [
57
57
  "eslint-plugin-typescript/dot-notation": ["warn", { allowKeywords: true }],
58
58
 
59
59
  // interfaces
60
- "eslint-plugin-typescript/method-signature-style": ["warn", "property"], // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
60
+ // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
61
+ // off - doesn't work well with method overloads
62
+ "eslint-plugin-typescript/method-signature-style": "off",
61
63
 
62
64
  // sort types
63
65
  "eslint-plugin-perfectionist/sort-object-types": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.39",
2
+ "version": "1.1.0",
3
3
  "type": "module",
4
4
  "name": "@schoero/configs",
5
5
  "description": "",