Codacy analysis on git project I had to exclude a few code lines from codacy analysis Ho I can do it? is Codacy has own anotations?(e.g. @SkipLine)
//need crutch for codacy analysis
Codacy analysis on git project I had to exclude a few code lines from codacy analysis Ho I can do it? is Codacy has own anotations?(e.g. @SkipLine)
//need crutch for codacy analysis
Copyright © 2021 Jogjafile Inc.
Currently, codacy do not have annotations to skip lines, but the linters that codacy runs to analyse the code, if they support annotations to ignore lines, you can use it and they will be ignored during the analysis. For example, Codacy runs eslint behind the scenes, so if you wish to ignore some specific pattern in a specific line you can do it like this: