eslint-config-complete 1.3.1 → 1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AAuOA;;;;;;;;;GASG;AACH,8FAsEE"}
1
+ {"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AAuOA;;;;;;;;;GASG;AACH,8FAwEE"}
@@ -241,6 +241,8 @@ export const baseImportX = tseslint.config({
241
241
  files: [
242
242
  ".remarkrc.js",
243
243
  ".remarkrc.mjs",
244
+ "docusaurus.js",
245
+ "docusaurus.ts",
244
246
  "eslint.config.js",
245
247
  "eslint.config.mjs",
246
248
  "jest.config.js",
@@ -1 +1 @@
1
- {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,uGAuhBE"}
1
+ {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,uGA2hBE"}
@@ -385,8 +385,12 @@ export const baseTypeScriptESLint = tseslint.config({
385
385
  /**
386
386
  * Even though the core rule was deprecated, the extended rule uses type information, so it is
387
387
  * much better.
388
+ *
389
+ * Additionally, we opt for the "always" option instead of the default of "in-try-catch", for
390
+ * reasons described in [this
391
+ * issue](https://github.com/typescript-eslint/typescript-eslint/issues/10165#issuecomment-2525288217).
388
392
  */
389
- "@typescript-eslint/return-await": "warn",
393
+ "@typescript-eslint/return-await": ["warn", "always"],
390
394
  /** Disabled since in it does not make sense to sort a union alphabetically in many cases. */
391
395
  "@typescript-eslint/sort-type-constituents": "off",
392
396
  /** The `allowString` and `allowNumber` options are disabled to make the rule stricter. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "1.3.1",
3
+ "version": "1.4.1",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",