Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[relative-url-prefix] don't handle backticks.Β #2575

@ice-blaze

Description

@ice-blaze

Description and reproduction of the issue

Two rules seems to not work together '@angular-eslint/relative-url-prefix': 'error', and quotes: ['error', 'backtick'],. Except for app.component.ts.

Just run ng lint in the terminal of the stackblitz to reproduce.

https://stackblitz.com/edit/angular-eslint-repros-iw5ckshe?file=src%2Fapp%2Fhome%2Fhome.component.ts

Versions

package version
@angular-eslint/eslint-plugin ^19.0.0
@typescript-eslint/parser ^19.0.0
ESLint ^9.0.0
node 22.15.0
# Please run `npx ng version` in your project and paste the full output here:

Angular CLI: 19.2.15
Node: 22.15.0
Package Manager: npm 10.9.2
OS: darwin arm64

Angular: 19.2.14
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.15
@angular-devkit/build-angular   19.2.15
@angular-devkit/core            19.2.15
@angular-devkit/schematics      19.2.15
@angular/cdk                    19.2.19
@angular/cli                    19.2.15
@angular/material               19.2.19
@schematics/angular             19.2.15
rxjs                            7.8.2
typescript                      5.7.3
zone.js                         0.15.1
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest supported version of the packages and checked my ng version output per the instructions given here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: eslint-pluginAngular-specific TypeScript rulestriageThis issue needs to be looked at and categorized by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions