@crycode/eslint-config 2.0.1 → 2.0.2

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/README.md CHANGED
@@ -59,6 +59,10 @@ If you habe multiple tsconfig files, add them all to `project` array:
59
59
  Placeholder for the next version (at the beginning of the line):
60
60
  ### **WORK IN PROGRESS**
61
61
  -->
62
+ ### 2.0.2 (2024-08-28)
63
+
64
+ * Configure rule `@typescript-eslint/return-await` to always force `return await`
65
+
62
66
  ### 2.0.1 (2024-08-19)
63
67
 
64
68
  * Added missing typescript definitions to npm package
package/configs/ts.js CHANGED
@@ -208,7 +208,10 @@ export default [
208
208
  ],
209
209
 
210
210
  'no-return-await': 'off',
211
- '@typescript-eslint/return-await': 'warn',
211
+ '@typescript-eslint/return-await': [
212
+ 'warn',
213
+ 'always',
214
+ ],
212
215
 
213
216
  '@typescript-eslint/switch-exhaustiveness-check': 'warn',
214
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crycode/eslint-config",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "ESLint configuration to be used with JavaScript or TypeScript according to my personal preferences",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",