Skip to content

Is there a way to ignore domains using the 'words' array? #3131

Answered by Jason3S
angelovdev asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to ignore it using ignoreregExpList.

cspell.json

{
    "ignoreRegExpList": [
        "/fakedomain\\.org/gi"
    ]
}

You might want to consider using overrides so it only applies to certain files:

    "overrides": [
        {
            "filename": "**/*.json",
            "ignoreRegExpList": [
                "/fakedomain\\.org/gi"
            ]
        
        }
    ]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@angelovdev
Comment options

Answer selected by angelovdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants