<commit_before>{
    "forbidden": [{
            "name": "cli-to-main-only",
            "comment": "cli should only depend on the public interface in main",
            "severity": "error",
            "from": { "path": "(^src/cli)" },
            "to": { "pathNot": "^src/main|^node_modules|^fs$|$1" }
        }, {
            "name": "bin-to-cli-only",
            "comment": "bin should only depend on cli",
            "severity": "error",
            "from": { "path": "(^bin/dependency-cruise)" },
            "to": { "pathNot": "^src/cli|^node_modules|^package.json$" }
        }, {
            "name": "restrict-fs-access",
            "comment": "restrict file access to a few modules only",
            "severity": "error",
            "from": { "pathNot": "^src/(extract/parse|extract/resolve|extract/gatherInitialSources\\.js|cli)|^test" },
            "to": { "path": "^fs$" }
        }, {
            "name": "no-deprecated-core",
            "comment": "These core modules are deprecated - find an alternative.",
            "severity": "error",
            "from": {},
            "to": { "dependencyTypes": ["core"], "path": "^(punycode|domain|constants|sys|_linklist)$" }
        }, {
            "name": "no-inter-module-test",
            "severity": "error",
            "from": { "path": "(^test/[^\\/]+/)[^\\.]+\\.spec\\.js" },
            "to": { "path": "^test/[^\\/]+/.+", "pathNot": "utl|$1[^\\.]+\\.json$"}
        }, {
            "name": "prefer-no-lodash",
            "comment": "We want to minimize the dependency on lodash a bit - so flag dependencies that go there and include it as a whole",
            "severity": "info",
            "from": {},
            "to": { "path": "lodash\\.js"}
        }, {
            "name": "no-dep-on-test",
            "severity": "error",
            "from": { "path": "^(src|bin)" },
            "to": { "path": "^test|\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$"}
        }, {
            "name": "no-external-to-here",
            "comment": "you never know...",
            "severity": "info",
            "from": { "pathNot": "^(src|test|bin)" },
            "to": { "path": "^(src|test)" }
        }, {
            "name": "not-to-unresolvable",
            "severity": "warn",
            "from": {},
            "to": { "couldNotResolve": true }
        }, {
            "name": "not-to-deprecated",
            "comment": "These modules are deprecated - find an alternative.",
            "severity": "warn",
            "from": {},
            "to": { "dependencyTypes": ["deprecated"] }
        }, {
            "name": "not-to-dev-dep",
            "severity": "error",
            "comment": "because an npm i --production will otherwise deliver an unreliably running module",
            "from": { "path": "^(bin|src)"},
            "to": { "dependencyTypes": ["npm-dev"] }
        }, {
            "name": "no-non-package-json",
            "severity": "error",
            "comment": "because an npm i --production will otherwise deliver an unreliably running module",
            "from": { "pathNot": "^(node_modules)"},
            "to": { "dependencyTypes": ["unknown", "undetermined", "npm-no-pkg", "npm-unknown"] }
        }, {
            "name": "optional-deps-used",
            "severity": "info",
            "comment": "nothing serious - but just check you have some try/ catches around the import/ require of these",
            "from": {},
            "to": { "dependencyTypes": ["npm-optional"] }
        }, {
            "name": "peer-deps-used",
            "comment": "peer dependencies are deprecated with the advent of npm 3 - and probably gone with version 4. Or with yarn.",
            "severity": "warn",
            "from": {},
            "to": { "dependencyTypes": ["npm-peer"] }
        },{
            "name": "no-duplicate-dep-types",
            "severity": "warn",
            "from": {},
            "to": { "moreThanOneDependencyType": true }
        },{
            "name": "no-circular",
            "severity": "error",
            "from": { "pathNot": "^(node_modules)"},
            "to": { "circular": true }
        },{
            "name": "no-orphans",
            "severity": "error",
            "from": { "pathNot": "^(node_modules)", "orphan": true },
            "to": { }
        },{
            "name": "no-GPL-license",<commit_msg>ci(depcruise): configure the oprhan rule to be simpler<commit_after>{
    "forbidden": [{
            "name": "cli-to-main-only",
            "comment": "cli should only depend on the public interface in main",
            "severity": "error",
            "from": { "path": "(^src/cli)" },
            "to": { "pathNot": "^src/main|^node_modules|^fs$|$1" }
        }, {
            "name": "bin-to-cli-only",
            "comment": "bin should only depend on cli",
            "severity": "error",
            "from": { "path": "(^bin/dependency-cruise)" },
            "to": { "pathNot": "^src/cli|^node_modules|^package.json$" }
        }, {
            "name": "restrict-fs-access",
            "comment": "restrict file access to a few modules only",
            "severity": "error",
            "from": { "pathNot": "^src/(extract/parse|extract/resolve|extract/gatherInitialSources\\.js|cli)|^test" },
            "to": { "path": "^fs$" }
        }, {
            "name": "no-deprecated-core",
            "comment": "These core modules are deprecated - find an alternative.",
            "severity": "error",
            "from": {},
            "to": { "dependencyTypes": ["core"], "path": "^(punycode|domain|constants|sys|_linklist)$" }
        }, {
            "name": "no-inter-module-test",
            "severity": "error",
            "from": { "path": "(^test/[^\\/]+/)[^\\.]+\\.spec\\.js" },
            "to": { "path": "^test/[^\\/]+/.+", "pathNot": "utl|$1[^\\.]+\\.json$"}
        }, {
            "name": "prefer-no-lodash",
            "comment": "We want to minimize the dependency on lodash a bit - so flag dependencies that go there and include it as a whole",
            "severity": "info",
            "from": {},
            "to": { "path": "lodash\\.js"}
        }, {
            "name": "no-dep-on-test",
            "severity": "error",
            "from": { "path": "^(src|bin)" },
            "to": { "path": "^test|\\.spec\\.(js|ts|ls|coffee|litcoffee|coffee\\.md)$"}
        }, {
            "name": "no-external-to-here",
            "comment": "you never know...",
            "severity": "info",
            "from": { "pathNot": "^(src|test|bin)" },
            "to": { "path": "^(src|test)" }
        }, {
            "name": "not-to-unresolvable",
            "severity": "warn",
            "from": {},
            "to": { "couldNotResolve": true }
        }, {
            "name": "not-to-deprecated",
            "comment": "These modules are deprecated - find an alternative.",
            "severity": "warn",
            "from": {},
            "to": { "dependencyTypes": ["deprecated"] }
        }, {
            "name": "not-to-dev-dep",
            "severity": "error",
            "comment": "because an npm i --production will otherwise deliver an unreliably running module",
            "from": { "path": "^(bin|src)"},
            "to": { "dependencyTypes": ["npm-dev"] }
        }, {
            "name": "no-non-package-json",
            "severity": "error",
            "comment": "because an npm i --production will otherwise deliver an unreliably running module",
            "from": { "pathNot": "^(node_modules)"},
            "to": { "dependencyTypes": ["unknown", "undetermined", "npm-no-pkg", "npm-unknown"] }
        }, {
            "name": "optional-deps-used",
            "severity": "info",
            "comment": "nothing serious - but just check you have some try/ catches around the import/ require of these",
            "from": {},
            "to": { "dependencyTypes": ["npm-optional"] }
        }, {
            "name": "peer-deps-used",
            "comment": "peer dependencies are deprecated with the advent of npm 3 - and probably gone with version 4. Or with yarn.",
            "severity": "warn",
            "from": {},
            "to": { "dependencyTypes": ["npm-peer"] }
        },{
            "name": "no-duplicate-dep-types",
            "severity": "warn",
            "from": {},
            "to": { "moreThanOneDependencyType": true }
        },{
            "name": "no-circular",
            "severity": "error",
            "from": { "pathNot": "^(node_modules)"},
            "to": { "circular": true }
        },{
            "name": "no-orphans",
            "severity": "error",
            "from": { "orphan": true },
            "to": { }
        },{
            "name": "no-GPL-license",
{'fraction_non_alphanumeric': 0.20449617710829623, 'fraction_numerical': 0.0009129293620906082, 'mean_word_length': 1.7200496585971445, 'pattern_counts': {'":': 219, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5501536', 'n_tokens_mistral': 2715, 'n_tokens_neox': 2574, 'n_words': 606}