Ignoring files#
Organization admins can manage access to this feature
In some situations, you may want to ignore or exclude files from the Codacy analysis.
To exclude files from your repository analysis open your repository Files, page. From there, you can select a file and exclude it by clicking on the Ignore file button.

To view the current excluded files, select the Ignored tab on the same page.

Note
-
See below the files that Codacy ignores by default.
-
You can also ignore files using your own tool configuration files, although this depends on the option being supported by each tool.
-
To exclude files from coverage analysis only, you must ignore them directly in the tool you're using to generate coverage reports and ensure that the reports you upload to Codacy don't include coverage information for those files.
-
When excluding files from Duplication analysis, you must state the entire path to the files. Unlike quality analysis, wildcards will not work, resulting in files not being excluded.
If you need more flexibility in ignoring files, use a Codacy configuration file to define a custom list of file paths to exclude.
Important
If your repository has a Codacy configuration file, the Ignored files settings defined on the Codacy UI don't apply and you must ignore files using the configuration file instead.

Default ignored files#
By default, Codacy ignores all the files that match the regular expressions below. If you need to analyze files that match these regular expressions, use a Codacy configuration file to define a custom list of file paths to include.
.*[\.-]min\.css
.*[\.-]min\.js
.*node_modules/.*
.*bower_components/.*
.*vendor/.*
.*third[_-]?[Pp]arty/.*
.*samples?/.*
.*releases?/.*
.*builds?/.*
.*dist/.*
.*external/.*
.*libs/.*
.*d3\.js
.*angular(-resource|)?\.js
.*select2(-resource|)?\.js
.*-ace\.js
.*typeahead\.js
.*jquery-ui\.js
.*reveal\.js
.*three\.js
.*chart\.js
.*jquery\.js
.*underscore\.js
.*lodash\.js
.*bootstrap\.js
.*bootstrap\.css
.*font-awesome\.css
.*\.[Dd]esigner\.cs
Was this page helpful?
Your feedback helps us improve the documentation.
255 characters left
Thanks for helping improve Codacy documentation.
For more detailed feedback, open an issue on GitHub.