@checkdigit/eslint-plugin 5.5.0-PR.44-b9fd → 5.5.1-PR.50-d99b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.cjs
CHANGED
|
@@ -322,7 +322,7 @@ var no_uuid_default = {
|
|
|
322
322
|
};
|
|
323
323
|
|
|
324
324
|
// src/no-wallaby-comment.ts
|
|
325
|
-
var wallabyRegex =
|
|
325
|
+
var wallabyRegex = /(?<=(?:^|\*\/)\s*)[?]{1,2}|file\.only|file\.skip/gu;
|
|
326
326
|
var commentRegex = /\s*(?:\/\/|<!--)\s*(?<comment>\?{1,2}\.?\s*|file\.(?:only|skip))\s*/gu;
|
|
327
327
|
function removeWallabyComment(context, sourceCode, start, end) {
|
|
328
328
|
context.report({
|
package/dist-cjs/metafile.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"format": "esm"
|
|
17
17
|
},
|
|
18
18
|
"src/no-wallaby-comment.ts": {
|
|
19
|
-
"bytes":
|
|
19
|
+
"bytes": 3460,
|
|
20
20
|
"imports": [],
|
|
21
21
|
"format": "esm"
|
|
22
22
|
},
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"bytesInOutput": 2256
|
|
87
87
|
},
|
|
88
88
|
"src/no-wallaby-comment.ts": {
|
|
89
|
-
"bytesInOutput":
|
|
89
|
+
"bytesInOutput": 3031
|
|
90
90
|
},
|
|
91
91
|
"src/regular-expression-comment.ts": {
|
|
92
92
|
"bytesInOutput": 932
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"bytesInOutput": 3362
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"bytes":
|
|
98
|
+
"bytes": 31032
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/no-wallaby-comment.ts
|
|
2
|
-
var wallabyRegex =
|
|
2
|
+
var wallabyRegex = /(?<=(?:^|\*\/)\s*)[?]{1,2}|file\.only|file\.skip/gu;
|
|
3
3
|
var commentRegex = /\s*(?:\/\/|<!--)\s*(?<comment>\?{1,2}\.?\s*|file\.(?:only|skip))\s*/gu;
|
|
4
4
|
function removeWallabyComment(context, sourceCode, start, end) {
|
|
5
5
|
context.report({
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@checkdigit/eslint-plugin","version":"5.5.
|
|
1
|
+
{"name":"@checkdigit/eslint-plugin","version":"5.5.1-PR.50-d99b","description":"Check Digit eslint plugins","prettier":"@checkdigit/prettier-config","type":"module","exports":{".":{"types":"./dist-types/index.d.ts","require":"./dist-cjs/index.cjs","import":"./dist-mjs/index.mjs","default":"./dist-mjs/index.mjs"}},"keywords":["eslint","eslintplugin"],"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/eslint-plugin.git"},"author":"Check Digit, LLC","license":"MIT","bugs":{"url":"https://github.com/checkdigit/eslint-plugin/issues"},"homepage":"https://github.com/checkdigit/eslint-plugin#readme","peerDependencies":{"eslint":">=8 <9"},"devDependencies":{"@checkdigit/jest-config":"^3.1.1","@checkdigit/prettier-config":"^5.0.0","@checkdigit/typescript-config":"^6.0.0","@types/eslint":"^8.44.7","@typescript-eslint/eslint-plugin":"^6.13.1","@typescript-eslint/parser":"^6.13.1","eslint-config-prettier":"^9.0.0","eslint-plugin-eslint-plugin":"^5.1.1","eslint-plugin-import":"^2.29.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-no-secrets":"^0.8.9","eslint-plugin-node":"^11.1.0","eslint-plugin-sonarjs":"^0.23.0"},"scripts":{"prepublishOnly":"npm run build:dist-types && npm run build:dist-cjs && npm run build:dist-mjs","build:dist-types":"rimraf dist-types && npx builder --type=types --outDir=dist-types","build:dist-cjs":"rimraf dist-cjs && npx builder --type=commonjs --sourceMap --entryPoint=index.ts --outDir=dist-cjs --outFile=index.cjs && echo \"module.exports = module.exports.default;\" >> dist-cjs/index.cjs && node dist-cjs/index.cjs","build:dist-mjs":"rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","lint:fix":"eslint --ignore-path .gitignore . --fix","lint":"eslint --max-warnings 0 --ignore-path .gitignore .","prettier":"prettier --ignore-path .gitignore --list-different .","prettier:fix":"prettier --ignore-path .gitignore --write .","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style","ci:compile":"tsc --noEmit","ci:test":"NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage=false","ci:coverage":"NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage=true","ci:lint":"npm run lint","ci:style":"npm run prettier"},"jest":{"preset":"@checkdigit/jest-config"},"files":["src","dist-types","dist-cjs","dist-mjs","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-cjs/**/*.test.cjs","!dist-cjs/**/*.spec.cjs","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"]}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type { Rule, SourceCode } from 'eslint';
|
|
10
10
|
import type { Comment } from 'estree';
|
|
11
11
|
|
|
12
|
-
const wallabyRegex =
|
|
12
|
+
const wallabyRegex = /(?<=(?:^|\*\/)\s*)[?]{1,2}|file\.only|file\.skip/gu;
|
|
13
13
|
const commentRegex = /\s*(?:\/\/|<!--)\s*(?<comment>\?{1,2}\.?\s*|file\.(?:only|skip))\s*/gu;
|
|
14
14
|
function removeWallabyComment(context: Rule.RuleContext, sourceCode: SourceCode, start: number, end: number): void {
|
|
15
15
|
context.report({
|