@wistia/eslint-config 1.2.1 → 1.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wistia/eslint-config
2
2
 
3
+ ## 1.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#403](https://github.com/wistia/eslint-config/pull/403) [`8f83182`](https://github.com/wistia/eslint-config/commit/8f831828e98b67ac27c4b1742479085b8b56cd8f) Thanks [@okize](https://github.com/okize)! - fix: enable `require-await` for js files
8
+
3
9
  ## 1.2.1
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.9.2",
6
6
  "type": "module",
@@ -993,7 +993,7 @@ export default {
993
993
 
994
994
  // Disallow async functions which have no await expression
995
995
  // https://eslint.org/docs/rules/require-await
996
- 'require-await': 'off',
996
+ 'require-await': 'error',
997
997
 
998
998
  // Enforce the use of u or v flag on regular expressions
999
999
  // https://eslint.org/docs/rules/require-unicode-regexp
@@ -1886,7 +1886,7 @@
1886
1886
  },
1887
1887
  ],
1888
1888
  "require-await": [
1889
- 0,
1889
+ 2,
1890
1890
  ],
1891
1891
  "require-unicode-regexp": [
1892
1892
  0,