@rushstack/eslint-config 2.4.2 → 2.5.0

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,79 @@
1
1
  {
2
2
  "name": "@rushstack/eslint-config",
3
3
  "entries": [
4
+ {
5
+ "version": "2.5.0",
6
+ "tag": "@rushstack/eslint-config_v2.5.0",
7
+ "date": "Mon, 06 Dec 2021 16:08:32 GMT",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "comment": "Temporarily disable eslint-plugin-promise until ESLint v8 support is added (https://github.com/xjamundx/eslint-plugin-promise/issues/218)"
12
+ }
13
+ ],
14
+ "dependency": [
15
+ {
16
+ "comment": "Updating dependency \"@rushstack/eslint-plugin\" to `0.8.4`"
17
+ },
18
+ {
19
+ "comment": "Updating dependency \"@rushstack/eslint-plugin-packlets\" to `0.3.4`"
20
+ },
21
+ {
22
+ "comment": "Updating dependency \"@rushstack/eslint-plugin-security\" to `0.2.4`"
23
+ }
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "version": "2.4.5",
29
+ "tag": "@rushstack/eslint-config_v2.4.5",
30
+ "date": "Fri, 05 Nov 2021 15:09:18 GMT",
31
+ "comments": {
32
+ "dependency": [
33
+ {
34
+ "comment": "Updating dependency \"@rushstack/eslint-patch\" to `1.1.0`"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "version": "2.4.4",
41
+ "tag": "@rushstack/eslint-config_v2.4.4",
42
+ "date": "Wed, 27 Oct 2021 00:08:15 GMT",
43
+ "comments": {
44
+ "patch": [
45
+ {
46
+ "comment": "Update the package.json repository field to include the directory property."
47
+ }
48
+ ],
49
+ "dependency": [
50
+ {
51
+ "comment": "Updating dependency \"@rushstack/eslint-patch\" to `1.0.9`"
52
+ },
53
+ {
54
+ "comment": "Updating dependency \"@rushstack/eslint-plugin\" to `0.8.3`"
55
+ },
56
+ {
57
+ "comment": "Updating dependency \"@rushstack/eslint-plugin-packlets\" to `0.3.3`"
58
+ },
59
+ {
60
+ "comment": "Updating dependency \"@rushstack/eslint-plugin-security\" to `0.2.3`"
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ {
66
+ "version": "2.4.3",
67
+ "tag": "@rushstack/eslint-config_v2.4.3",
68
+ "date": "Wed, 13 Oct 2021 15:09:54 GMT",
69
+ "comments": {
70
+ "dependency": [
71
+ {
72
+ "comment": "Updating dependency \"@rushstack/eslint-patch\" to `1.0.8`"
73
+ }
74
+ ]
75
+ }
76
+ },
4
77
  {
5
78
  "version": "2.4.2",
6
79
  "tag": "@rushstack/eslint-config_v2.4.2",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,30 @@
1
1
  # Change Log - @rushstack/eslint-config
2
2
 
3
- This log was last generated on Thu, 07 Oct 2021 07:13:35 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 06 Dec 2021 16:08:32 GMT and should not be manually modified.
4
+
5
+ ## 2.5.0
6
+ Mon, 06 Dec 2021 16:08:32 GMT
7
+
8
+ ### Minor changes
9
+
10
+ - Temporarily disable eslint-plugin-promise until ESLint v8 support is added (https://github.com/xjamundx/eslint-plugin-promise/issues/218)
11
+
12
+ ## 2.4.5
13
+ Fri, 05 Nov 2021 15:09:18 GMT
14
+
15
+ _Version update only_
16
+
17
+ ## 2.4.4
18
+ Wed, 27 Oct 2021 00:08:15 GMT
19
+
20
+ ### Patches
21
+
22
+ - Update the package.json repository field to include the directory property.
23
+
24
+ ## 2.4.3
25
+ Wed, 13 Oct 2021 15:09:54 GMT
26
+
27
+ _Version update only_
4
28
 
5
29
  ## 2.4.2
6
30
  Thu, 07 Oct 2021 07:13:35 GMT
package/README.md CHANGED
@@ -177,7 +177,7 @@ require('@rushstack/eslint-config/patch/modern-module-resolution');
177
177
  module.exports = {
178
178
  extends: [
179
179
  "@rushstack/eslint-config/profile/node",
180
- "@rushstack/eslint-config/profile/mixins/friendly-locals" // <----
180
+ "@rushstack/eslint-config/mixins/friendly-locals" // <----
181
181
  ],
182
182
  parserOptions: { tsconfigRootDir: __dirname }
183
183
  };
@@ -200,7 +200,7 @@ require('@rushstack/eslint-config/patch/modern-module-resolution');
200
200
  module.exports = {
201
201
  extends: [
202
202
  "@rushstack/eslint-config/profile/node",
203
- "@rushstack/eslint-config/profile/mixins/packlets" // <----
203
+ "@rushstack/eslint-config/mixins/packlets" // <----
204
204
  ],
205
205
  parserOptions: { tsconfigRootDir: __dirname }
206
206
  };
@@ -224,7 +224,7 @@ require('@rushstack/eslint-config/patch/modern-module-resolution');
224
224
  module.exports = {
225
225
  extends: [
226
226
  "@rushstack/eslint-config/profile/node",
227
- "@rushstack/eslint-config/profile/mixins/tsdoc" // <----
227
+ "@rushstack/eslint-config/mixins/tsdoc" // <----
228
228
  ],
229
229
  parserOptions: { tsconfigRootDir: __dirname }
230
230
  };
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@rushstack/eslint-config",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "A TypeScript ESLint ruleset designed for large teams and projects",
5
5
  "license": "MIT",
6
6
  "repository": {
7
- "url": "https://github.com/microsoft/rushstack/tree/master/stack/eslint-config"
7
+ "url": "https://github.com/microsoft/rushstack.git",
8
+ "type": "git",
9
+ "directory": "stack/eslint-config"
8
10
  },
9
11
  "homepage": "https://rushstack.io",
10
12
  "keywords": [
@@ -17,24 +19,23 @@
17
19
  "typescript"
18
20
  ],
19
21
  "peerDependencies": {
20
- "eslint": "^6.0.0 || ^7.0.0",
22
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0",
21
23
  "typescript": ">=3.0.0"
22
24
  },
23
25
  "dependencies": {
24
- "@rushstack/eslint-patch": "1.0.7",
25
- "@rushstack/eslint-plugin": "0.8.2",
26
- "@rushstack/eslint-plugin-packlets": "0.3.2",
27
- "@rushstack/eslint-plugin-security": "0.2.2",
28
- "@typescript-eslint/eslint-plugin": "~4.31.2",
29
- "@typescript-eslint/experimental-utils": "~4.31.2",
30
- "@typescript-eslint/parser": "~4.31.2",
31
- "@typescript-eslint/typescript-estree": "~4.31.2",
32
- "eslint-plugin-promise": "~4.2.1",
33
- "eslint-plugin-react": "~7.20.0",
34
- "eslint-plugin-tsdoc": "~0.2.10"
26
+ "@rushstack/eslint-patch": "1.1.0",
27
+ "@rushstack/eslint-plugin": "0.8.4",
28
+ "@rushstack/eslint-plugin-packlets": "0.3.4",
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",
34
+ "eslint-plugin-react": "~7.27.1",
35
+ "eslint-plugin-tsdoc": "~0.2.14"
35
36
  },
36
37
  "devDependencies": {
37
- "eslint": "~7.30.0",
38
+ "eslint": "~8.3.0",
38
39
  "typescript": "~4.4.2"
39
40
  },
40
41
  "scripts": {
@@ -42,9 +42,10 @@ 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
- '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'
48
49
  ],
49
50
 
50
51
  // Manually authored .d.ts files are generally used to describe external APIs that are not expected
@@ -760,7 +761,8 @@ function buildRules(profile) {
760
761
  'prefer-const': 'warn',
761
762
 
762
763
  // RATIONALE: Catches a common coding mistake where "resolve" and "reject" are confused.
763
- 'promise/param-names': 'error',
764
+ // TODO: Re-enable once updated to support eslint v8: https://github.com/xjamundx/eslint-plugin-promise/issues/218
765
+ // 'promise/param-names': 'error',
764
766
 
765
767
  // RATIONALE: Catches code that is likely to be incorrect
766
768
  // STANDARDIZED BY: eslint\conf\eslint-recommended.js