Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim trailing slashes before checking no-restricted-path rule #3020

Merged

Commits on Dec 3, 2022

  1. Fixes no-restricted-path false-positives when allowSameFolder is …

    …true
    
    `no-restricted-paths` compares source files and import statements, and their membership in restricted zones. However, when `allowSameFolder` is true, it failed to remove a trailing slash before validation which results in a false-positive.
    
    Signed-off-by: Miki <amoo_miki@yahoo.com>
    AMoo-Miki committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    6c7bba7 View commit details
    Browse the repository at this point in the history