@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 +4 -0
- package/configs/ts.js +4 -1
- package/package.json +1 -1
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':
|
|
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