@typescript-eslint/eslint-plugin 6.4.2-alpha.1 → 6.4.2-alpha.11

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.
@@ -8,3 +8,5 @@ description: 'Disallow unnecessary semicolons.'
8
8
 
9
9
  This rule extends the base [`eslint/no-extra-semi`](https://eslint.org/docs/rules/no-extra-semi) rule.
10
10
  It adds support for class properties.
11
+
12
+ Note that this rule is classified as a "Suggestion" rule instead of a "Layout & Formatting" rule because [adding extra semi-colons actually changes the AST of the program](https://typescript-eslint.io/play/#ts=5.1.6&showAST=es&fileType=.ts&code=MYewdgzgLgBAHjAvDAjAbg0A&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQHYHsBaRADwBdoBDQ5RAWwEt0p8AzVyAGnG0gAEyATwAOKAMbQGwssWTwGuMgHoCxclRr0mGSImjR80SDwC%2BIE0A&tsconfig=&tokens=false). With that said, modern TypeScript formatters will remove extra semi-colons automatically during the formatting process. Thus, if you [use a formatter](/linting/troubleshooting/formatting), then enabling this rule is probably unnecessary.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "6.4.2-alpha.1+3337eb665",
3
+ "version": "6.4.2-alpha.11+85f34da8f",
4
4
  "description": "TypeScript plugin for ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -57,10 +57,10 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@eslint-community/regexpp": "^4.5.1",
60
- "@typescript-eslint/scope-manager": "6.4.2-alpha.1+3337eb665",
61
- "@typescript-eslint/type-utils": "6.4.2-alpha.1+3337eb665",
62
- "@typescript-eslint/utils": "6.4.2-alpha.1+3337eb665",
63
- "@typescript-eslint/visitor-keys": "6.4.2-alpha.1+3337eb665",
60
+ "@typescript-eslint/scope-manager": "6.4.2-alpha.11+85f34da8f",
61
+ "@typescript-eslint/type-utils": "6.4.2-alpha.11+85f34da8f",
62
+ "@typescript-eslint/utils": "6.4.2-alpha.11+85f34da8f",
63
+ "@typescript-eslint/visitor-keys": "6.4.2-alpha.11+85f34da8f",
64
64
  "debug": "^4.3.4",
65
65
  "graphemer": "^1.4.0",
66
66
  "ignore": "^5.2.4",
@@ -74,7 +74,7 @@
74
74
  "@types/natural-compare": "*",
75
75
  "@types/prettier": "*",
76
76
  "@typescript-eslint/rule-schema-to-typescript-types": "6.4.1",
77
- "@typescript-eslint/rule-tester": "6.4.2-alpha.1+3337eb665",
77
+ "@typescript-eslint/rule-tester": "6.4.2-alpha.11+85f34da8f",
78
78
  "ajv": "^6.12.6",
79
79
  "chalk": "^5.3.0",
80
80
  "cross-fetch": "*",
@@ -103,5 +103,5 @@
103
103
  "type": "opencollective",
104
104
  "url": "https://opencollective.com/typescript-eslint"
105
105
  },
106
- "gitHead": "3337eb66515806a835a2d57ab863dbbe18df94b0"
106
+ "gitHead": "85f34da8fd2ff76a7e32df575f6502e538e08753"
107
107
  }