private void addOtherConventions()

in codeanalyzer/src/main/java/nl/obren/sokrates/sourcecode/scoping/ScopingConventions.java [57:173]


    private void addOtherConventions() {
        // static code analysis configurations
        otherFilesConventions.add(new Convention(".*/sonatype-settings[.]xml", "", "Sonatype configuration"));
        otherFilesConventions.add(new Convention(".*/config/checkstyle/.*", "", "Checkstyle configuration"));
        otherFilesConventions.add(new Convention(".*/checkstyle[.]xml", "", "Checkstyle configuration"));

        otherFilesConventions.add(new Convention(".*[.]md", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]markdown", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mdown", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mdwn", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mdx", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mkd", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mkdn", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]mkdown", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]ronn", "", "Markdown files"));
        otherFilesConventions.add(new Convention(".*[.]workbook", "", "Markdown files"));

        otherFilesConventions.add(new Convention(".*[.]json", "", "JSON files"));
        // otherFilesConventions.add(new Convention(".*[.]yml", "", "YAML files"));
        // otherFilesConventions.add(new Convention(".*[.]yaml", "", "YAML files"));

        otherFilesConventions.add(new Convention(".*[.]svg", "", "SVG files"));

        // ignore lists
        otherFilesConventions.add(new Convention(".*/[.]atomignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]babelignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]bzrignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]coffeelintignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]cvsignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]dockerignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]eslintignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]gitignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]nodemonignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]npmignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]prettierignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]stylelintignore", "", "Ignore list"));
        otherFilesConventions.add(new Convention(".*/[.]vscodeignore", "", "Ignore list"));

        otherFilesConventions.add(new Convention(".*/[.]cpplint[.]py", "", "Linter"));

        otherFilesConventions.add(new Convention(".*/Jenkinsfile", "", "Jenkinsfile"));

        // config
        otherFilesConventions.add(new Convention(".*[.]apacheconf", "", "Configuration"));
        otherFilesConventions.add(new Convention(".*[.]vhost", "", "Configuration"));
        otherFilesConventions.add(new Convention(".*/[.]htaccess", "", "Configuration"));
        otherFilesConventions.add(new Convention(".*[.]csf", "", "Configuration"));
        otherFilesConventions.add(new Convention(".*[.]diff", "", "Configuration"));
        otherFilesConventions.add(new Convention(".*[.]patch", "", "Configuration"));

        otherFilesConventions.add(new Convention(".*[.]editorconfig", "", "NPM Config"));

        otherFilesConventions.add(new Convention(".*[.]npmrc", "", "Editor configuration"));

        otherFilesConventions.add(new Convention(".*[.]properties", "", "Properties"));

        otherFilesConventions.add(new Convention(".*[.]dsp", "", "Microsoft Developer Studio Project"));

        otherFilesConventions.add(new Convention(".*[.]txi", "", "Textinfo"));
        otherFilesConventions.add(new Convention(".*[.]texi", "", "Textinfo"));
        otherFilesConventions.add(new Convention(".*[.]texinfo", "", "Textinfo"));

        otherFilesConventions.add(new Convention(".*[.]txt", "", "Text files"));
        otherFilesConventions.add(new Convention(".*[.]fr", "", "Text files"));
        otherFilesConventions.add(new Convention(".*[.]nb", "", "Text files"));
        otherFilesConventions.add(new Convention(".*[.]ncl", "", "Text files"));
        otherFilesConventions.add(new Convention(".*[.]no", "", "Text files"));

        otherFilesConventions.add(new Convention(".*/COPYING", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/COPYING[.][a-z0-9]+", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/COPYRIGHT", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/COPYRIGHT[.][a-z0-9]+", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/FONTLOG", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/INSTALL", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/INSTALL[.][a-z0-9]+", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/LICENSE", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/LICENSE[.][a-z0-9]+", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/NEWS", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/README", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/README[.][a-z0-9]+", "", "Text files"));

        otherFilesConventions.add(new Convention(".*/CHANGE(S|LOG)?(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/CONTRIBUTING(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/COPYING(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/INSTALL(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/LICEN[CS]E(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/[Ll]icen[cs]e(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/README(\\.|)", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/[Rr]eadme(\\.|)", "", "Documentation"));

        otherFilesConventions.add(new Convention(".*/click[.]me", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/delete[.]me", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/keep[.]me", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/read[.]me", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/test[.]me", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/go[.]mod", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/go[.]sum", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/package[.]mask", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/package[.]use[.]mask", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/package[.]use[.]stable[.]mask", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/readme[.]1st", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/use[.]mask", "", "Text files"));
        otherFilesConventions.add(new Convention(".*/use[.]stable[.]mask", "", "Text files"));

        otherFilesConventions.add(new Convention(".*[.]indent[.]pro", "", "Text files"));

        otherFilesConventions.add(new Convention(".*[.]lock", "", "Locked files"));

        otherFilesConventions.add(new Convention(".*[.]scm", "", "SCM files"));


        otherFilesConventions.add(new Convention(".*/[Dd]ocumentation/.*", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/[Mm]an/.*", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/[Ee]xamples/.*", "", "Documentation"));
        otherFilesConventions.add(new Convention(".*/[Ss]amples/.*", "", "Samples"));
        otherFilesConventions.add(new Convention(".*/[Dd]emos?/.*", "", "Documentation"));
    }