@deephaven/eslint-config 0.86.1-beta.0 → 0.87.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +4 -0
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.87.0](https://github.com/deephaven/web-client-ui/compare/v0.86.1...v0.87.0) (2024-07-22)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - Fix any try / catch blocks that return non-awaited
11
+ Promises
12
+
13
+ ### Bug Fixes
14
+
15
+ - Enabled @typescript-eslint/return-await rule and fixed offending code ([#2157](https://github.com/deephaven/web-client-ui/issues/2157)) ([7875d03](https://github.com/deephaven/web-client-ui/commit/7875d03fdbe2dfa1c051c6dfa42cc1d9e7469afb)), closes [#2154](https://github.com/deephaven/web-client-ui/issues/2154)
16
+
6
17
  ## [0.86.0](https://github.com/deephaven/web-client-ui/compare/v0.85.2...v0.86.0) (2024-07-17)
7
18
 
8
19
  **Note:** Version bump only for package @deephaven/eslint-config
package/index.js CHANGED
@@ -96,6 +96,10 @@ module.exports = {
96
96
  '@typescript-eslint/default-param-last': ['error'],
97
97
  '@typescript-eslint/explicit-module-boundary-types': 'error',
98
98
  '@typescript-eslint/method-signature-style': 'error',
99
+ // `no-return-await` needs to be disabled when enabling `@typescript-eslint/return-await`
100
+ // to avoid incorrectly reporting errors
101
+ 'no-return-await': 'off',
102
+ '@typescript-eslint/return-await': 'error',
99
103
  },
100
104
  },
101
105
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/eslint-config",
3
- "version": "0.86.1-beta.0+958b0119",
3
+ "version": "0.87.0",
4
4
  "description": "Deephaven ESLint configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "958b0119480f0ec1a4683bf0020f9934637654fe"
29
+ "gitHead": "b741f4ec9819f1b3cf81ed4eb9a32d6487993f14"
30
30
  }