Init Danger/Endanger with Backbone/package.json versions rules

This commit is contained in:
Jamie Kyle 2022-09-16 11:32:28 -07:00 committed by GitHub
parent c6819a5438
commit bbf4e74239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 2431 additions and 131 deletions

View file

@ -1794,27 +1794,6 @@
"reasonCategory": "falseMatch",
"updated": "2019-12-11T01:10:06.091Z"
},
{
"rule": "thenify-multiArgs",
"path": "node_modules/cpy/node_modules/path-type/node_modules/pify/index.js",
"line": "\t\t\t\tif (opts.multiArgs) {",
"reasonCategory": "falseMatch",
"updated": "2022-06-04T00:50:49.405Z"
},
{
"rule": "thenify-multiArgs",
"path": "node_modules/cpy/node_modules/path-type/node_modules/pify/index.js",
"line": "\t\t\t\tif (opts.multiArgs) {",
"reasonCategory": "falseMatch",
"updated": "2022-06-04T00:50:49.405Z"
},
{
"rule": "thenify-multiArgs",
"path": "node_modules/cpy/node_modules/pify/index.js",
"line": "\t\tif (options.multiArgs) {",
"reasonCategory": "falseMatch",
"updated": "2022-06-04T00:50:49.405Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/debug/src/browser.js",
@ -2237,34 +2216,6 @@
"reasonCategory": "falseMatch",
"updated": "2018-09-19T18:13:29.628Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/extglob/node_modules/debug/src/browser.js",
"line": "function load() {",
"reasonCategory": "falseMatch|",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/extglob/node_modules/debug/src/browser.js",
"line": "exports.enable(load());",
"reasonCategory": "falseMatch|",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/extglob/node_modules/debug/src/node.js",
"line": "function load() {",
"reasonCategory": "falseMatch|",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/extglob/node_modules/debug/src/node.js",
"line": "exports.enable(load());",
"reasonCategory": "falseMatch|",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "jQuery-load(",
"path": "node_modules/extract-zip/node_modules/debug/src/browser.js",
@ -8340,69 +8291,6 @@
"reasonCategory": "falseMatch",
"updated": "2022-03-22T19:29:46.099Z"
},
{
"rule": "jQuery-after(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
"line": " arr.push(es6 ? tokens.after(val) : val);",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-before(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
"line": " str = tokens.before(str, es6Regex());",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
"line": " return braces(str.replace(outter, wrap(segs, '|')), opts);",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
"line": " segs[0] = wrap(segs[0], '\\\\');",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/test-exclude/node_modules/braces/index.js",
"line": "function wrap(val, ch) {",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/test-exclude/node_modules/extglob/index.js",
"line": " o[id] = wrap(inner, prefix, opts.escape);",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-wrap(",
"path": "node_modules/test-exclude/node_modules/extglob/index.js",
"line": "function wrap(inner, prefix, esc) {",
"reasonCategory": "falseMatch",
"updated": "2019-07-31T00:19:18.696Z"
},
{
"rule": "jQuery-append(",
"path": "node_modules/test-exclude/node_modules/parse-json/index.js",
"line": "\tfileName: errorEx.append('in %s')",
"reasonCategory": "falseMatch",
"updated": "2022-06-04T00:50:49.405Z"
},
{
"rule": "thenify-multiArgs",
"path": "node_modules/test-exclude/node_modules/pify/index.js",
"line": "\t\t\t\t} else if (opts.multiArgs) {",
"reasonCategory": "falseMatch",
"updated": "2021-12-07T23:11:11.870Z"
},
{
"rule": "jQuery-$(",
"path": "node_modules/type-check/lib/parse-type.js",

View file

@ -147,6 +147,7 @@ const excludedFilesRegexp = RegExp(
'^node_modules/css-selector-tokenizer/.+',
'^node_modules/css-tree/.+',
'^node_modules/csso/.+',
'^node_modules/danger/.+',
'^node_modules/default-gateway/.+',
'^node_modules/degenerator/.+',
'^node_modules/detect-port-alt/.+',
@ -267,6 +268,25 @@ const excludedFilesRegexp = RegExp(
'^node_modules/update-notifier/.+',
'^node_modules/windows-release/.+',
// used by danger
'^danger/node_modules/.+',
'^node_modules/@octokit/.+',
'^node_modules/test-exclude/.+',
'^node_modules/micromark/.+',
'^node_modules/micromark-extension-gfm-task-list-item/.+',
'^node_modules/micromark-extension-gfm-autolink-literal/.+',
'^node_modules/memfs-or-file-map-to-github-branch/.+',
'^node_modules/mdast-util-to-markdown/.+',
'^node_modules/mdast-util-from-markdown/.+',
'^node_modules/lodash.once/.+',
'^node_modules/gitlab/.+',
'^node_modules/es6-promisify/.+',
'^node_modules/endanger/.+',
'^node_modules/cpy/.+',
'^node_modules/buffer-equal-constant-time/.+',
'^node_modules/universal-url/.+',
'^node_modules/extglob/.+',
// Used by Storybook
'^node_modules/@emotion/.+',
'^node_modules/@storybook/.+',