angular-eslint 20.6.1-alpha.9 → 20.7.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/dist/index.d.ts +16 -10
- package/dist/index.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Plugin as ESLintPlugin } from '@eslint/core';
|
|
2
2
|
import type { TSESLint } from '@typescript-eslint/utils';
|
|
3
|
+
import type { Linter } from 'eslint';
|
|
3
4
|
declare const templateParser: TSESLint.FlatConfig.Parser;
|
|
4
5
|
/**
|
|
5
6
|
* Make the plugins compatible with both ESLint's Plugin type and typescript-eslint's
|
|
@@ -12,21 +13,26 @@ type CompatiblePlugin = Omit<ESLintPlugin, 'configs'> & {
|
|
|
12
13
|
};
|
|
13
14
|
declare const tsPlugin: CompatiblePlugin;
|
|
14
15
|
declare const templatePlugin: CompatiblePlugin;
|
|
16
|
+
/**
|
|
17
|
+
* Type that is compatible with both ESLint's defineConfig and typescript-eslint's config
|
|
18
|
+
* by using the intersection of both config array types
|
|
19
|
+
*/
|
|
20
|
+
type CompatibleConfigArray = TSESLint.FlatConfig.ConfigArray & Linter.Config[];
|
|
15
21
|
declare const configs: {
|
|
16
|
-
tsAll:
|
|
17
|
-
tsRecommended:
|
|
18
|
-
templateAll:
|
|
19
|
-
templateRecommended:
|
|
20
|
-
templateAccessibility:
|
|
22
|
+
tsAll: CompatibleConfigArray;
|
|
23
|
+
tsRecommended: CompatibleConfigArray;
|
|
24
|
+
templateAll: CompatibleConfigArray;
|
|
25
|
+
templateRecommended: CompatibleConfigArray;
|
|
26
|
+
templateAccessibility: CompatibleConfigArray;
|
|
21
27
|
};
|
|
22
28
|
declare const processInlineTemplates: import("@eslint/core").Processor<string | import("@eslint/core").ProcessorFile> | undefined;
|
|
23
29
|
declare const _default: {
|
|
24
30
|
configs: {
|
|
25
|
-
tsAll:
|
|
26
|
-
tsRecommended:
|
|
27
|
-
templateAll:
|
|
28
|
-
templateRecommended:
|
|
29
|
-
templateAccessibility:
|
|
31
|
+
tsAll: CompatibleConfigArray;
|
|
32
|
+
tsRecommended: CompatibleConfigArray;
|
|
33
|
+
templateAll: CompatibleConfigArray;
|
|
34
|
+
templateRecommended: CompatibleConfigArray;
|
|
35
|
+
templateAccessibility: CompatibleConfigArray;
|
|
30
36
|
};
|
|
31
37
|
tsPlugin: CompatiblePlugin;
|
|
32
38
|
templateParser: {
|
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,MAAM,IAAI,YAAY,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AASrC,QAAA,MAAM,cAAc,EAAE,QAAQ,CAAC,UAAU,CAAC,MAGzC,CAAC;AA4BF;;;;;GAKG;AACH,KAAK,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AACF,QAAA,MAAM,QAAQ,EAA8B,gBAAgB,CAAC;AAC7D,QAAA,MAAM,cAAc,EAAoC,gBAAgB,CAAC;AAEzE;;;GAGG;AACH,KAAK,qBAAqB,GAAG,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;AAE/E,QAAA,MAAM,OAAO;WAC6B,qBAAqB;mBACL,qBAAqB;iBAIxE,qBAAqB;yBAIrB,qBAAqB;2BAIrB,qBAAqB;CAC3B,CAAC;AAGF,QAAA,MAAM,sBAAsB,6FACwB,CAAC;;;eAlBX,qBAAqB;uBACL,qBAAqB;qBAIxE,qBAAqB;6BAIrB,qBAAqB;+BAIrB,qBAAqB;;;;wDAvDT,CAAC;;;;;;AAmEpB,wBAME;AACF,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,QAAQ,EACR,sBAAsB,GACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-eslint",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.7.0",
|
|
4
4
|
"description": "The tooling which enables ESLint to work with Angular projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@angular-devkit/schematics": ">= 20.0.0 < 21.0.0",
|
|
28
28
|
"@typescript-eslint/types": "^8.0.0",
|
|
29
29
|
"@typescript-eslint/utils": "^8.0.0",
|
|
30
|
-
"@angular-eslint/builder": "20.
|
|
31
|
-
"@angular-eslint/eslint-plugin": "20.
|
|
32
|
-
"@angular-eslint/
|
|
33
|
-
"@angular-eslint/
|
|
34
|
-
"@angular-eslint/
|
|
30
|
+
"@angular-eslint/builder": "20.7.0",
|
|
31
|
+
"@angular-eslint/eslint-plugin": "20.7.0",
|
|
32
|
+
"@angular-eslint/template-parser": "20.7.0",
|
|
33
|
+
"@angular-eslint/schematics": "20.7.0",
|
|
34
|
+
"@angular-eslint/eslint-plugin-template": "20.7.0"
|
|
35
35
|
},
|
|
36
36
|
"ng-update": {
|
|
37
37
|
"packageGroupName": "angular-eslint",
|