You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this seems like a bug to me since ./../foo.tsis a relative URL, this library is explicitly testing for this behavior so it may not be considered a bug by the maintainer(s). Reference:
Describe the bug
When the rule
relative-url-prefix
is enabled it considers deep relative URLs to not be prefixed correctly.While this seems like a bug to me since
./../foo.ts
is a relative URL, this library is explicitly testing for this behavior so it may not be considered a bug by the maintainer(s). Reference:codelyzer/test/relativeUrlPrefixRule.spec.ts
Lines 48 to 61 in f12f27b
Context and configuration
Please share:
relative-url-prefix
tsconfig.json
~/.codelyzer.js
(if applicable)TSConfig.json Contents
To Reproduce
Steps to reproduce the behavior.
Expected behavior
I would expect the following to raise the lint error:
I would not expect the following to raise a lint error:
Code
Share the code which will let us reproduce the problem
Examples above will reproduce the issue.
Environment
5.0.0
10.14.4
11.9.0
yarn 1.15.2
7.2.2
5.14.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: