mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
add lint command, lint and lint:fix project
This commit is contained in:
parent
430c7ad6ec
commit
93b609932d
23 changed files with 36916 additions and 25 deletions
|
@ -1,6 +1,6 @@
|
|||
import { ScramjetClient } from "../client";
|
||||
|
||||
let sourcemaps: {
|
||||
const sourcemaps: {
|
||||
source: string;
|
||||
map: [string, number, number][];
|
||||
}[] = [];
|
||||
|
@ -61,6 +61,7 @@ export default function (client: ScramjetClient, self: Self) {
|
|||
offset += end - start - str.length;
|
||||
i = start - starting + offset + str.length;
|
||||
}
|
||||
|
||||
return ctx.return(newString + stringified.slice(i));
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue