@rushstack/eslint-config 2.5.0 → 2.5.1

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.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@rushstack/eslint-config",
3
3
  "entries": [
4
+ {
5
+ "version": "2.5.1",
6
+ "tag": "@rushstack/eslint-config_v2.5.1",
7
+ "date": "Mon, 27 Dec 2021 16:10:40 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Re-enable eslint-plugin-promise rules which now support ESLint v8"
12
+ }
13
+ ]
14
+ }
15
+ },
4
16
  {
5
17
  "version": "2.5.0",
6
18
  "tag": "@rushstack/eslint-config_v2.5.0",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @rushstack/eslint-config
2
2
 
3
- This log was last generated on Mon, 06 Dec 2021 16:08:32 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 27 Dec 2021 16:10:40 GMT and should not be manually modified.
4
+
5
+ ## 2.5.1
6
+ Mon, 27 Dec 2021 16:10:40 GMT
7
+
8
+ ### Patches
9
+
10
+ - Re-enable eslint-plugin-promise rules which now support ESLint v8
4
11
 
5
12
  ## 2.5.0
6
13
  Mon, 06 Dec 2021 16:08:32 GMT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/eslint-config",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "A TypeScript ESLint ruleset designed for large teams and projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,16 +27,17 @@
27
27
  "@rushstack/eslint-plugin": "0.8.4",
28
28
  "@rushstack/eslint-plugin-packlets": "0.3.4",
29
29
  "@rushstack/eslint-plugin-security": "0.2.4",
30
- "@typescript-eslint/eslint-plugin": "~5.3.0",
31
- "@typescript-eslint/experimental-utils": "~5.3.0",
32
- "@typescript-eslint/parser": "~5.3.0",
33
- "@typescript-eslint/typescript-estree": "~5.3.0",
30
+ "@typescript-eslint/eslint-plugin": "~5.6.0",
31
+ "@typescript-eslint/experimental-utils": "~5.6.0",
32
+ "@typescript-eslint/parser": "~5.6.0",
33
+ "@typescript-eslint/typescript-estree": "~5.6.0",
34
+ "eslint-plugin-promise": "~6.0.0",
34
35
  "eslint-plugin-react": "~7.27.1",
35
36
  "eslint-plugin-tsdoc": "~0.2.14"
36
37
  },
37
38
  "devDependencies": {
38
39
  "eslint": "~8.3.0",
39
- "typescript": "~4.4.2"
40
+ "typescript": "~4.5.2"
40
41
  },
41
42
  "scripts": {
42
43
  "build": ""
@@ -42,10 +42,9 @@ function buildRules(profile) {
42
42
  // Plugin documentation: https://www.npmjs.com/package/@rushstack/eslint-plugin-security
43
43
  '@rushstack/eslint-plugin-security',
44
44
  // Plugin documentation: https://www.npmjs.com/package/@typescript-eslint/eslint-plugin
45
- '@typescript-eslint/eslint-plugin'
45
+ '@typescript-eslint/eslint-plugin',
46
46
  // Plugin documentation: https://www.npmjs.com/package/eslint-plugin-promise
47
- // TODO: Re-enable once updated to support eslint v8: https://github.com/xjamundx/eslint-plugin-promise/issues/218
48
- // 'eslint-plugin-promise'
47
+ 'eslint-plugin-promise'
49
48
  ],
50
49
 
51
50
  // Manually authored .d.ts files are generally used to describe external APIs that are not expected
@@ -761,8 +760,7 @@ function buildRules(profile) {
761
760
  'prefer-const': 'warn',
762
761
 
763
762
  // RATIONALE: Catches a common coding mistake where "resolve" and "reject" are confused.
764
- // TODO: Re-enable once updated to support eslint v8: https://github.com/xjamundx/eslint-plugin-promise/issues/218
765
- // 'promise/param-names': 'error',
763
+ 'promise/param-names': 'error',
766
764
 
767
765
  // RATIONALE: Catches code that is likely to be incorrect
768
766
  // STANDARDIZED BY: eslint\conf\eslint-recommended.js