@angular-eslint/eslint-plugin
Advanced tools
Comparing version 19.0.1-alpha.2 to 19.0.1-alpha.3
@@ -32,2 +32,3 @@ { | ||
"@angular-eslint/prefer-output-readonly": "error", | ||
"@angular-eslint/prefer-signals": "error", | ||
"@angular-eslint/prefer-standalone": "error", | ||
@@ -34,0 +35,0 @@ "@angular-eslint/relative-url-prefix": "error", |
@@ -34,2 +34,3 @@ declare const _default: { | ||
"@angular-eslint/prefer-output-readonly": string; | ||
"@angular-eslint/prefer-signals": string; | ||
"@angular-eslint/prefer-standalone": string; | ||
@@ -94,2 +95,9 @@ "@angular-eslint/relative-url-prefix": string; | ||
"prefer-on-push-component-change-detection": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/prefer-on-push-component-change-detection").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>; | ||
"prefer-signals": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/prefer-signals").MessageIds, [{ | ||
preferReadonlySignalProperties: boolean; | ||
preferInputSignals: boolean; | ||
preferQuerySignals: boolean; | ||
useTypeChecking: boolean; | ||
additionalSignalCreationFunctions: string[]; | ||
}], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>; | ||
"prefer-standalone": import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferStandalone", [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>; | ||
@@ -96,0 +104,0 @@ "prefer-output-readonly": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("./rules/prefer-output-readonly").MessageIds, [], import("./utils/create-eslint-rule").RuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>; |
@@ -56,2 +56,3 @@ "use strict"; | ||
const prefer_output_readonly_1 = __importStar(require("./rules/prefer-output-readonly")); | ||
const prefer_signals_1 = __importStar(require("./rules/prefer-signals")); | ||
const prefer_standalone_1 = __importStar(require("./rules/prefer-standalone")); | ||
@@ -100,2 +101,3 @@ const relative_url_prefix_1 = __importStar(require("./rules/relative-url-prefix")); | ||
[prefer_on_push_component_change_detection_1.RULE_NAME]: prefer_on_push_component_change_detection_1.default, | ||
[prefer_signals_1.RULE_NAME]: prefer_signals_1.default, | ||
[prefer_standalone_1.RULE_NAME]: prefer_standalone_1.default, | ||
@@ -102,0 +104,0 @@ [prefer_output_readonly_1.RULE_NAME]: prefer_output_readonly_1.default, |
@@ -38,3 +38,2 @@ "use strict"; | ||
description: 'Use readonly signals instead of `@Input()`, `@ViewChild()` and other legacy decorators', | ||
recommended: 'recommended', | ||
}, | ||
@@ -41,0 +40,0 @@ hasSuggestions: true, |
{ | ||
"name": "@angular-eslint/eslint-plugin", | ||
"version": "19.0.1-alpha.2", | ||
"version": "19.0.1-alpha.3", | ||
"description": "ESLint plugin for Angular applications, following https://angular.dev/style-guide", | ||
@@ -21,7 +21,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@angular-eslint/utils": "19.0.1-alpha.2", | ||
"@angular-eslint/bundled-angular-compiler": "19.0.1-alpha.2" | ||
"@angular-eslint/bundled-angular-compiler": "19.0.1-alpha.3", | ||
"@angular-eslint/utils": "19.0.1-alpha.3" | ||
}, | ||
"devDependencies": { | ||
"@angular-eslint/test-utils": "19.0.1-alpha.2" | ||
"@angular-eslint/test-utils": "19.0.1-alpha.3" | ||
}, | ||
@@ -28,0 +28,0 @@ "peerDependencies": { |
@@ -69,2 +69,3 @@ # @angular-eslint/eslint-plugin | ||
| [`prefer-output-readonly`](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-output-readonly.md) | Prefer to declare `@Output`, `OutputEmitterRef` and `OutputRef` as `readonly` since they are not supposed to be reassigned | | | :bulb: | | ||
| [`prefer-signals`](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-signals.md) | Use readonly signals instead of `@Input()`, `@ViewChild()` and other legacy decorators | | | :bulb: | | ||
| [`prefer-standalone`](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-standalone.md) | Ensures Components, Directives and Pipes do not opt out of standalone | :white_check_mark: | :wrench: | | | ||
@@ -71,0 +72,0 @@ | [`relative-url-prefix`](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/relative-url-prefix.md) | The ./ and ../ prefix is standard syntax for relative URLs; don't depend on Angular's current ability to do without that prefix. See more at https://angular.dev/style-guide#style-05-04 | | | | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
189649
3203
90
+ Added@angular-eslint/bundled-angular-compiler@19.0.1-alpha.3(transitive)
+ Added@angular-eslint/utils@19.0.1-alpha.3(transitive)
- Removed@angular-eslint/bundled-angular-compiler@19.0.1-alpha.2(transitive)
- Removed@angular-eslint/utils@19.0.1-alpha.2(transitive)
Updated@angular-eslint/bundled-angular-compiler@19.0.1-alpha.3