eslint-config-complete 1.3.1 → 1.4.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,
|
|
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. */
|