Disable linting for a specific file in VsCode

146 Views Asked by At

I have a file, "GeneratedCode" that at times is .ts .py or .c

I want to programmatically disable linting in VsCode whenever I view it.

1

There are 1 best solutions below

2
Reza Hatami On

Example:

"python.linting.ignorePatterns": [
    ".vscode/*.py",
    "**{filename or pattern}**",
    "**/site-packages/**/*.py"
]