Cleanup #1
Annotations
10 errors
Lint JS:
dist/preset.js#L1
Replace `"use·strict"` with `'use·strict'`
|
Lint JS:
dist/preset.js#L3
Replace `·return·_arrayWithoutHoles(arr)·||·_iterableToArray(arr)·||·_unsupportedIterableToArray(arr)·||·_nonIterableSpread();·` with `⏎··return·(⏎····_arrayWithoutHoles(arr)·||⏎····_iterableToArray(arr)·||⏎····_unsupportedIterableToArray(arr)·||⏎····_nonIterableSpread()⏎··);⏎`
|
Lint JS:
dist/preset.js#L4
Replace `·throw·new·TypeError("Invalid·attempt·to·spread·non-iterable·instance.\nIn·order·to·be·iterable,·non-array·objects·must·have·a·[Symbol.iterator]()·method.");·` with `⏎··throw·new·TypeError(⏎····'Invalid·attempt·to·spread·non-iterable·instance.\nIn·order·to·be·iterable,·non-array·objects·must·have·a·[Symbol.iterator]()·method.',⏎··);⏎`
|
Lint JS:
dist/preset.js#L5
Replace `·if·(!o)·return;·if·(typeof·o·===·"string")·return·_arrayLikeToArray(o,·minLen);·var·n·=·Object.prototype.toString.call(o).slice(8,·-1);·if·(n·===·"Object"·&&·o.constructor)·n·=·o.constructor.name;·if·(n·===·"Map"·||·n·===·"Set")·return·Array.from(o);·if·(n·===·"Arguments"·||·/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))·return·_arrayLikeToArray(o,·minLen);·` with `⏎··if·(!o)·return;⏎··if·(typeof·o·===·'string')·return·_arrayLikeToArray(o,·minLen);⏎··var·n·=·Object.prototype.toString.call(o).slice(8,·-1);⏎··if·(n·===·'Object'·&&·o.constructor)·n·=·o.constructor.name;⏎··if·(n·===·'Map'·||·n·===·'Set')·return·Array.from(o);⏎··if·(n·===·'Arguments'·||·/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))⏎····return·_arrayLikeToArray(o,·minLen);⏎`
|
|
Lint JS:
dist/preset.js#L7
Replace `·if·(Array.isArray(arr))·return·_arrayLikeToArray(arr);·` with `⏎··if·(Array.isArray(arr))·return·_arrayLikeToArray(arr);⏎`
|
Lint JS:
dist/preset.js#L8
Replace `·if·(len·==·null·||·len·>·arr.length)·len·=·arr.length;·for·(var·i·=·0,·arr2·=·new·Array(len);·i·<·len;·i++)·arr2[i]·=·arr[i];·return·arr2;·` with `⏎··if·(len·==·null·||·len·>·arr.length)·len·=·arr.length;⏎··for·(var·i·=·0,·arr2·=·new·Array(len);·i·<·len;·i++)·arr2[i]·=·arr[i];⏎··return·arr2;⏎`
|
Lint JS:
dist/preset.js#L10
Insert `⏎···`
|
Lint JS:
dist/preset.js#L11
Replace `"./register"` with `'./register'`
|
Lint JS:
dist/preset.js#L14
Insert `,`
|
The logs for this run have expired and are no longer available.
Loading