redlint 3.6.0 β 3.6.2
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/ChangeLog +10 -0
- package/lib/lint/lint.js +1 -0
- package/lib/lint/master.js +3 -1
- package/lib/menu.js +2 -2
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/lib/lint/lint.js
CHANGED
package/lib/lint/master.js
CHANGED
|
@@ -5,9 +5,10 @@ import {
|
|
|
5
5
|
setPush,
|
|
6
6
|
setFail,
|
|
7
7
|
setSuccess,
|
|
8
|
+
setSuffixText,
|
|
8
9
|
} from '../spinner.js';
|
|
9
10
|
|
|
10
|
-
export function masterLint(filesystem, {fix, test, start = setStart, end = setEnd, push = setPush, fail = setFail, success = setSuccess}) {
|
|
11
|
+
export function masterLint(filesystem, {fix, suffix = setSuffixText, test, start = setStart, end = setEnd, push = setPush, fail = setFail, success = setSuccess}) {
|
|
11
12
|
const slave = new URL('./slave.js', import.meta.url);
|
|
12
13
|
const workerData = {
|
|
13
14
|
filesystem,
|
|
@@ -24,5 +25,6 @@ export function masterLint(filesystem, {fix, test, start = setStart, end = setEn
|
|
|
24
25
|
success,
|
|
25
26
|
test,
|
|
26
27
|
slave,
|
|
28
|
+
suffix,
|
|
27
29
|
});
|
|
28
30
|
}
|
package/lib/menu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const SCAN = '
|
|
2
|
-
export const SCAN_DEBUG = '
|
|
1
|
+
export const SCAN = 'π scan';
|
|
2
|
+
export const SCAN_DEBUG = 'π scan: debug';
|
|
3
3
|
export const FIX = 'π¨ fix';
|
|
4
4
|
export const FIX_DEBUG = 'π¨ fix: debug';
|
|
5
5
|
export const PACK = 'π¬ pack';
|