mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 07:20:02 -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
|
@ -32,6 +32,7 @@ export function createGlobalProxy(
|
|||
set(target, prop, value) {
|
||||
if (prop === "location") {
|
||||
client.url = value;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -39,6 +40,7 @@ export function createGlobalProxy(
|
|||
},
|
||||
has(target, prop) {
|
||||
if (prop === "$scramjet") return false;
|
||||
|
||||
return Reflect.has(target, prop);
|
||||
},
|
||||
ownKeys(target) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue