angular-eslint 18.0.0-alpha.5 → 18.0.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/README.md CHANGED
@@ -1 +1,17 @@
1
1
  # angular-eslint
2
+
3
+ Please see https://github.com/angular-eslint/angular-eslint for full usage instructions and guidance.
4
+
5
+ This is the core package that exposes most of the other `@angular-eslint/` packages for the common use case of using `angular-eslint` with Angular CLI workspaces.
6
+
7
+ It exposes all the tooling you need to work with ESLint v9 and `typescript-eslint` v8 with flat config in v18 of `angular-eslint` onwards.
8
+
9
+ > NOTE: For versions of `angular-eslint` older than v18, or workspaces still using ESLint v8 and `typescript-eslint` v7, or the legacy eslintrc config format, you will use a combination of the `@angular-eslint/` packages directly.
10
+
11
+ ## Premade flat configs (only compatible with eslint.config.js files, not compatible with eslintrc files)
12
+
13
+ This package exposes a set of premade ESLint configs that you can use in your `eslint.config.js` files. They are not compatible with eslintrc files.
14
+
15
+ - [Premade flat configs](https://github.com/angular-eslint/angular-eslint/blob/main/packages/angular-eslint/src/configs)
16
+
17
+ You should access the configs exported from the [`@angular-eslint/eslint-plugin`](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/src/configs) package for use in eslintrc files.
@@ -1,3 +1,8 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE
3
+ *
4
+ * In order to update this config, please run `yarn update-rule-configs`.
5
+ */
1
6
  import type { TSESLint } from '@typescript-eslint/utils';
2
7
  declare const _default: (plugin: TSESLint.FlatConfig.Plugin, parser: TSESLint.FlatConfig.Parser) => TSESLint.FlatConfig.ConfigArray;
3
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"template-accessibility.d.ts","sourceRoot":"","sources":["../../src/configs/template-accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAqBE"}
1
+ {"version":3,"file":"template-accessibility.d.ts","sourceRoot":"","sources":["../../src/configs/template-accessibility.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAqBE"}
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
+ /**
3
+ * DO NOT EDIT THIS FILE
4
+ *
5
+ * In order to update this config, please run `yarn update-rule-configs`.
6
+ */
2
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
9
  };
@@ -1,3 +1,8 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE
3
+ *
4
+ * In order to update this config, please run `yarn update-rule-configs`.
5
+ */
1
6
  import type { TSESLint } from '@typescript-eslint/utils';
2
7
  declare const _default: (plugin: TSESLint.FlatConfig.Plugin, parser: TSESLint.FlatConfig.Parser) => TSESLint.FlatConfig.ConfigArray;
3
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"template-all.d.ts","sourceRoot":"","sources":["../../src/configs/template-all.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAuCE"}
1
+ {"version":3,"file":"template-all.d.ts","sourceRoot":"","sources":["../../src/configs/template-all.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAuCE"}
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
+ /**
3
+ * DO NOT EDIT THIS FILE
4
+ *
5
+ * In order to update this config, please run `yarn update-rule-configs`.
6
+ */
2
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
9
  };
@@ -1,3 +1,8 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE
3
+ *
4
+ * In order to update this config, please run `yarn update-rule-configs`.
5
+ */
1
6
  import type { TSESLint } from '@typescript-eslint/utils';
2
7
  declare const _default: (plugin: TSESLint.FlatConfig.Plugin, parser: TSESLint.FlatConfig.Parser) => TSESLint.FlatConfig.ConfigArray;
3
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"template-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/template-recommended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAaE"}
1
+ {"version":3,"file":"template-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/template-recommended.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAaE"}
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
+ /**
3
+ * DO NOT EDIT THIS FILE
4
+ *
5
+ * In order to update this config, please run `yarn update-rule-configs`.
6
+ */
2
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
9
  };
@@ -1,3 +1,8 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE
3
+ *
4
+ * In order to update this config, please run `yarn update-rule-configs`.
5
+ */
1
6
  import type { TSESLint } from '@typescript-eslint/utils';
2
7
  declare const _default: (plugin: TSESLint.FlatConfig.Plugin, parser: TSESLint.FlatConfig.Parser) => TSESLint.FlatConfig.ConfigArray;
3
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ts-all.d.ts","sourceRoot":"","sources":["../../src/configs/ts-all.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAiDE"}
1
+ {"version":3,"file":"ts-all.d.ts","sourceRoot":"","sources":["../../src/configs/ts-all.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAiDE"}
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
+ /**
3
+ * DO NOT EDIT THIS FILE
4
+ *
5
+ * In order to update this config, please run `yarn update-rule-configs`.
6
+ */
2
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
9
  };
@@ -1,3 +1,8 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE
3
+ *
4
+ * In order to update this config, please run `yarn update-rule-configs`.
5
+ */
1
6
  import type { TSESLint } from '@typescript-eslint/utils';
2
7
  declare const _default: (plugin: TSESLint.FlatConfig.Plugin, parser: TSESLint.FlatConfig.Parser) => TSESLint.FlatConfig.ConfigArray;
3
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ts-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/ts-recommended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAsBE"}
1
+ {"version":3,"file":"ts-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/ts-recommended.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;iCAK/C,SAAS,UAAU,CAAC,MAAM,UAC1B,SAAS,UAAU,CAAC,MAAM;AAFpC,wBAsBE"}
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
+ /**
3
+ * DO NOT EDIT THIS FILE
4
+ *
5
+ * In order to update this config, please run `yarn update-rule-configs`.
6
+ */
2
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
9
  };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "angular-eslint",
3
- "version": "18.0.0-alpha.5",
3
+ "version": "18.0.0",
4
+ "description": "The tooling which enables ESLint to work with Angular projects",
4
5
  "license": "MIT",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
@@ -18,12 +19,14 @@
18
19
  ],
19
20
  "peerDependencies": {
20
21
  "eslint": "^8.57.0 || ^9.0.0",
21
- "typescript": "*"
22
+ "typescript": "*",
23
+ "typescript-eslint": "^8.0.0-alpha.20"
22
24
  },
23
25
  "dependencies": {
24
- "@angular-eslint/eslint-plugin": "18.0.0-alpha.5",
25
- "@angular-eslint/eslint-plugin-template": "18.0.0-alpha.5",
26
- "@angular-eslint/template-parser": "18.0.0-alpha.5",
27
- "typescript-eslint": "8.0.0-alpha.16"
26
+ "@angular-eslint/builder": "18.0.0",
27
+ "@angular-eslint/eslint-plugin": "18.0.0",
28
+ "@angular-eslint/eslint-plugin-template": "18.0.0",
29
+ "@angular-eslint/schematics": "18.0.0",
30
+ "@angular-eslint/template-parser": "18.0.0"
28
31
  }
29
32
  }