typescript-eslint 7.4.1-alpha.3 → 7.4.1-alpha.5
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/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -4
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAezC,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAezC,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAyBF,QAAA,MAAM,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGjC,CAAC;AAEF,QAAA,MAAM,OAAO;;;;;;;;;;;;;;CAcZ,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2ClC,wBAKE;AACF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -49,10 +49,30 @@ const parser = {
|
|
|
49
49
|
parseForESLint: parserBase.parseForESLint,
|
|
50
50
|
};
|
|
51
51
|
exports.parser = parser;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
/*
|
|
53
|
+
we could build a plugin object here without the `configs` key - but if we do
|
|
54
|
+
that then we create a situation in which
|
|
55
|
+
```
|
|
56
|
+
require('typescript-eslint').plugin !== require('@typescript-eslint/eslint-plugin')
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
This is bad because it means that 3rd party configs would be required to use
|
|
60
|
+
`typescript-eslint` or else they would break a user's config if the user either
|
|
61
|
+
used `tseslint.configs.recomended` et al or
|
|
62
|
+
```
|
|
63
|
+
{
|
|
64
|
+
plugins: {
|
|
65
|
+
'@typescript-eslint': tseslint.plugin,
|
|
66
|
+
},
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This might be something we could consider okay (eg 3rd party flat configs must
|
|
71
|
+
use our new package); however legacy configs consumed via `@eslint/eslintrc`
|
|
72
|
+
would never be able to satisfy this constraint and thus users would be blocked
|
|
73
|
+
from using them.
|
|
74
|
+
*/
|
|
75
|
+
const plugin = eslint_plugin_1.default;
|
|
56
76
|
exports.plugin = plugin;
|
|
57
77
|
const configs = {
|
|
58
78
|
all: (0, all_1.default)(plugin, parser),
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAA0D;AAC1D,sEAAwD;AAKxD,mDAAyC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAA0D;AAC1D,sEAAwD;AAKxD,mDAAyC;AAkHhC,uFAlHA,sBAAM,OAkHA;AAjH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CAA8B,EAAC,MAAM,EAAE,MAAM,CAAC;CACzE,CAAC;AAoDe,0BAAO;AAhDxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCE;AACF,kBAAe;IACb,MAAM,EAAN,sBAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;CACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-eslint",
|
|
3
|
-
"version": "7.4.1-alpha.
|
|
3
|
+
"version": "7.4.1-alpha.5",
|
|
4
4
|
"description": "Tooling which enables you to use TypeScript with ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
|
30
30
|
},
|
|
31
|
+
"homepage": "https://typescript-eslint.io/packages/typescript-eslint",
|
|
31
32
|
"license": "MIT",
|
|
32
33
|
"keywords": [
|
|
33
34
|
"ast",
|
|
@@ -54,9 +55,9 @@
|
|
|
54
55
|
"eslint": "^8.56.0"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "7.4.1-alpha.
|
|
58
|
-
"@typescript-eslint/parser": "7.4.1-alpha.
|
|
59
|
-
"@typescript-eslint/utils": "7.4.1-alpha.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "7.4.1-alpha.5",
|
|
59
|
+
"@typescript-eslint/parser": "7.4.1-alpha.5",
|
|
60
|
+
"@typescript-eslint/utils": "7.4.1-alpha.5"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"downlevel-dts": "*",
|