Compare commits

..

16 Commits

Author SHA1 Message Date
kittybc
9738147d24 IT was a mistake; the club's eyes all suck 2025-05-09 22:08:34 +02:00
AnythingButRealData
9dad73c936 Kitty's fixing of the first patch 2025-05-09 20:35:44 +02:00
AnythingButRealData
6863213651 Kitty's first patch 2025-05-09 20:33:07 +02:00
AnythingButRealData
945289afa1 Kitty's first patch 2025-05-09 20:29:43 +02:00
fe23bffad0 we use sdk from their official page anyway 2025-04-25 13:36:32 +00:00
e542782050 EU Server B is not like the others 2025-04-13 14:33:36 +00:00
9ceb6ea2cd 0.0.3: added Kitty, plus a bit of cleanup 2025-04-13 14:18:54 +00:00
c1300702d8 Added Kitty 2025-04-12 11:46:17 +00:00
a8150850b7 + localhost match 2025-03-15 19:06:48 +00:00
ef8e2cb3ed 0.0.2
small changes
* hopefully fixes the deafening
* spelling
* new monkey matches
* official mod-sdk download
* R108 stubs
2024-09-18 20:32:34 +00:00
f2d041edd5 eyes hotfix 2024-07-12 01:21:46 +00:00
6cff644dc9 mod should unload itself to avoid being visible; other changes are syntactic 2024-07-12 00:58:51 +00:00
1130b04947 voice box hopefully done 2024-07-10 23:08:50 +00:00
5a62ce3274 hopeful fixes 2024-07-10 02:23:08 +00:00
43463171e2 !LILY was conflicting with BCX 2024-07-10 01:58:29 +00:00
f63826a1b0 I hate humanity 2024-07-10 01:57:42 +00:00
7 changed files with 210 additions and 145 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
node_modules node_modules
ideas.txt

23
ambient.d.ts vendored
View File

@@ -1,18 +1,18 @@
/* eslint-disable no-unused-vars */
/* eslint-disable @typescript-eslint/consistent-type-definitions */
/* eslint-disable @typescript-eslint/member-delimiter-style */
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/semi */
declare namespace LILY { declare namespace LILY {
interface Utils { interface Utils {
remove_hook: undefined | (() => void)
true(callback: () => unknown): true // stops eslint from complaining about constant bool expressions
with<V, R>(value: V, callback: (v: V) => R): R // A silly helper to kinda curry values with<V, R>(value: V, callback: (v: V) => R): R // A silly helper to kinda curry values
ass<V, R>(value: V | undefined | null, callback: (v: V) => R): R | undefined /* ditto, but check for empty */ //eslint-disable-line @typescript-eslint/ban-types
send(callback: () => boolean): boolean // updates the player if the function succeeds
} }
interface Box { interface Box {
enable(): void enable(item: Item | undefined): boolean
disable(): void disable(item: Item | undefined): boolean
get equipped(): boolean on(): boolean
off(): boolean
get item(): Item | undefined
get enabled(): boolean get enabled(): boolean
} }
@@ -20,14 +20,16 @@ declare namespace LILY {
zones: AssetGroupName[] zones: AssetGroupName[]
craft: CraftingItem craft: CraftingItem
rgb: string[] rgb: string[]
speed: number
timeout: NodeJS.Timeout | undefined timeout: NodeJS.Timeout | undefined
set_rgb(item: Item, index: number): boolean set_rgb(item: Item, index: number): boolean
next_rgb(): boolean | undefined next_rgb(): boolean
roll_rgb(): void roll_rgb(): void
start(): boolean start(): boolean
stop(): boolean stop(): boolean
dim(): boolean dim(): boolean
clear(): boolean clear(): boolean
set_speed(seconds: number): void
check(zone: AssetGroupName): Item | undefined check(zone: AssetGroupName): Item | undefined
get item(): Item | undefined get item(): Item | undefined
} }
@@ -37,6 +39,7 @@ declare namespace LILY {
interface Commands extends Command<Commands> {} interface Commands extends Command<Commands> {}
interface Belt { interface Belt {
admins: number[] admins: number[]
users: Record<number, {zone: AssetGroupName, name: string}>
cli: Commands cli: Commands
is_cb(subject: Commands | CommandCB): subject is CommandCB is_cb(subject: Commands | CommandCB): subject is CommandCB
run(tokens: string[]): string run(tokens: string[]): string

File diff suppressed because one or more lines are too long

View File

@@ -13,6 +13,13 @@
], ],
"checkJs": true, "checkJs": true,
"strict": true, "strict": true,
"noImplicitOverride": true "exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true
} }
} }

View File

@@ -1,82 +1,109 @@
// ==UserScript== // ==UserScript==
// @name LILY // @name LILY
// @namespace https://code.fleshless.org/mute // @namespace https://code.fleshless.org/mute
// @version 0.0.1 // @version 0.0.4
// @description Lily's Integrated Logic Yoke // @description Lily's Integrated Logic Yoke
// @grant none // @grant none
// @author Mute // @author Mute
// @require https://code.fleshless.org/mute/LILY/raw/branch/mistress/bcmodsdk-1.2.0.mjs // @require https://jomshir98.github.io/bondage-club-mod-sdk/bcmodsdk.js
// @match https://bondageprojects.elementfx.com/* // @match https://*.bondageprojects.elementfx.com/R*/*/
// @match https://www.bondageprojects.elementfx.com/* // @match https://*.bondage-europe.com/R*/*/
// @match https://bondage-europe.com/* // @match https://*.bondageprojects.com/R*/
// @match https://www.bondage-europe.com/*
// @match http://localhost:*/* // @match http://localhost:*/*
// ==/UserScript== // ==/UserScript==
(function() {
(async function() {
'use strict'; 'use strict';
const $ = undefined
const W = /** @type {Window & typeof globalThis & {bcModSdk: import('bondage-club-mod-sdk').ModSDKGlobalAPI}} */ (window) const W = /** @type {Window & typeof globalThis & {bcModSdk: import('bondage-club-mod-sdk').ModSDKGlobalAPI}} */ (window)
const SDK = W.bcModSdk.registerMod({name: GM_info.script.name, fullName: GM_info.script.description || '', version: GM_info.script.version, repository: 'finger://your.mom'}) const SDK = W.bcModSdk.registerMod({name: GM_info.script.name, fullName: GM_info.script.description ?? '', version: GM_info.script.version, repository: 'finger://your.mom'})
/** @type {LILY.Utils} */ const U = { /** @type {LILY.Utils} */ const U = {remove_hook: $,
true(f) {f(); return true},
with: (v, f) => f(v), with: (v, f) => f(v),
ass: (v, f) => v === $ || v === null ? $ : U.with(f(v), r => r === null ? $ : r), //eslint-disable-line @typescript-eslint/prefer-nullish-coalescing
send: f => f() && U.true(() => void W.ChatRoomCharacterUpdate(W.Player)),
} }
/** @type {LILY.Box} */ const Box = { /** @type {LILY.Box} */ const Box = {
enable() {}, enable(item) { if (item === $) return false // TODO Okay, we need to be more clever here. The light should be above the box itself
disable() {}, return U.with(item.Property, ip => typeof ip?.OverridePriority === 'object' && (ip.OverridePriority['Light'] = 41) > 0)
get equipped() {return false},
get enabled() {return this.equipped && false},
}
/** @type {LILY.Eyes} */ const Eyes = { // #9C0000 156 0 0
rgb: [
'#990000', '#990f00', '#991f00', '#992e00', '#993d00', '#994d00', '#995c00', '#996b00', '#997a00', '#998a00',
'#999900', '#8a9900', '#7a9900', '#6b9900', '#5c9900', '#4d9900', '#3d9900', '#2e9900', '#1f9900', '#0f9900',
'#009900', '#00990f', '#00991f', '#00992e', '#00993d', '#00994d', '#00995c', '#00996b', '#00997a', '#00998a',
'#009999', '#008a99', '#007a99', '#006b99', '#005c99', '#004d99', '#003d99', '#002e99', '#001f99', '#000f99',
'#000099', '#0f0099', '#1f0099', '#2e0099', '#3d0099', '#4d0099', '#5c0099', '#6b0099', '#7a0099', '#8a0099',
'#990099', '#99008a', '#99007a', '#99006b', '#99005c', '#99004d', '#99003d', '#99002e', '#99001f', '#99000f',
],
timeout: undefined,
craft: {Item: 'AnimeLenses', Name: 'Akihabara souvenir', Description: 'you will never be the same uwu', Color: '#FFFFFF,Default,#FFFFFF,Default', Property: 'Thick', Lock: '', Private: true, ItemProperty: {}, Type: null, TypeRecord: null, MemberNumber: 71_240, MemberName: 'Mute'},
zones: ['ItemHead', 'Mask'],
set_rgb(item, n) {item.Color = [this.rgb[n], 'Default', this.rgb[n], 'Default']; return true},
next_rgb() {return !this.check('ItemHead') && U.with(this.check('Mask'), i => i && U.with(this.rgb.indexOf(i.Color?.[0] || this.rgb[0]) + 1, n => this.set_rgb(i, n)))},
roll_rgb() {this.next_rgb() && W.ChatRoomCharacterItemUpdate(W.Player, 'Mask')},
start() {return Boolean(this.check('Mask')) && !this.timeout && Boolean(this.timeout = setInterval(() => this.roll_rgb(), 1000))},
stop() {return Boolean(this.check('Mask')) && Boolean(this.timeout) && !(this.timeout = void clearInterval(this.timeout))},
dim() {return !this.check('ItemHead') && Boolean(W.InventoryWear(W.Player, 'AnimeLenses', 'ItemHead', undefined, undefined, 71_240, this.craft) && !void W.ChatRoomCharacterUpdate(W.Player))},
clear() {return Boolean(this.check('ItemHead')) && !void W.InventoryRemove(W.Player, 'ItemHead') && !void W.ChatRoomCharacterUpdate(W.Player)},
check(zone) {return U.with(this.item, item => (item && item.Asset.Group.Name === zone) ? item : undefined)},
get item() {return this.zones.map(z => W.InventoryGet(W.Player, z)).find(item => item && item.Asset.Name === 'AnimeLenses') || undefined},
}
/** @type {LILY.Belt} */ const Belt = {
admins: [71_240, 67_994],
cli: {'!LILY': {
status: _ => '200 OK',
box: {
on: _ => Box.enable(),
off: _ => Box.disable(),
}, },
disable(item) { return item === $ ? false : U.with(item.Property ??= {}, ip => U.with(ip.OverridePriority ??= {}, op =>
typeof op === 'number' ? Boolean(ip.OverridePriority = {Lock: op, Unit: op}) : ((op['Light'] = 0) < 1)
))},
on: () => U.with(Box.item, i => U.send(() => Box.enable(i))),
off: () => U.with(Box.item, i => U.send(() => Box.disable(i))),
get item() {return U.ass(W.Player, p => U.ass(Belt.users[p.MemberNumber ?? -1], u => U.ass(W.InventoryGet(p, u.zone), i => i.Craft?.Name === u.name ? i : $)))},
get enabled() {return U.with(Box.item, i => i !== $ && U.with(i?.Property?.OverridePriority, op => typeof op !== 'object' || !Object.hasOwn(op, 'Light') || (op['Light'] ?? 1) > 0))}, // TODO check if the light is above the box
}
/** @type {LILY.Eyes} */ const Eyes = {timeout: $, speed: 1500, zones: ['ItemHead', 'Mask'],
rgb: [
'#ff4d4d', '#ff714d', '#ff944d', '#ffb84d', '#ffe04d', '#e4ff4d', '#c0ff4d', '#9cff4d', '#78ff4d', '#55ff4d',
'#4dff62', '#4dff85', '#4dffa8', '#4dffcc', '#4dfff0', '#4ddcff', '#4db8ff', '#4d94ff', '#4d70ff', '#4d4dff',
'#704dff', '#944dff', '#b84dff', '#dc4dff', '#ff4df0', '#ff4dcc', '#ff4da8', '#ff4d85', '#ff4d62', '#ff4d4d',
'#ff6a4d', '#ff874d', '#ffa44d', '#ffc14d', '#ffde4d', '#e3ff4d', '#c6ff4d', '#a9ff4d', '#8cff4d', '#6fff4d',
'#4dff4d', '#4dff6f', '#4dff8c', '#4dffaa', '#4dffc7', '#4dffe4', '#4dffff', '#4ddcff', '#4dbfff', '#4da3ff',
'#4d86ff', '#4d6aff', '#4d4dff', '#6a4dff', '#864dff', '#a34dff', '#bf4dff', '#dc4dff', '#ff4dff', '#ff4ddc',
'#ff4dbf', '#ff4da3', '#ff4d86', '#ff4d6a', '#ff4d4d', '#ff6e4d', '#ff914d', '#ffb44d', '#ffd84d', '#f1ff4d',
'#ceff4d', '#abff4d', '#88ff4d', '#65ff4d', '#4dff5b', '#4dff7e', '#4dffa1', '#4dffc4', '#4dffe7', '#4dffff',
'#4dcfff', '#4dacff', '#4d89ff', '#4d66ff', '#4d4dff', '#664dff', '#894dff', '#ac4dff', '#cf4dff', '#f24dff',
'#ff4dce', '#ff4dab', '#ff4d88', '#ff4d65', '#ff4d4d', '#ff774d', '#ff9f4d', '#ffc74d', '#fff04d', '#d4ff4d',
'#acff4d', '#84ff4d', '#5cff4d', '#4dff74', '#4dff9c', '#4dffc4', '#4dffee', '#4dbdff', '#4d95ff', '#4d6dff',
'#6d4dff', '#954dff', '#bd4dff', '#e54dff', '#ff4dd5', '#ff4dad', '#ff4d85', '#ff4d5d'
],
craft: {Item: 'AnimeLenses', Name: 'Akihabara souvenir', Description: 'you will never be the same uwu', Color: '#FFFFFF,Default,#FFFFFF,Default', Property: 'Thick', Lock: '', Private: true, ItemProperty: {}, Type: null, TypeRecord: null, MemberNumber: 71_240, MemberName: 'Mute'},
set_rgb: (item, n) => U.true(() => item.Color = [Eyes.rgb[n] ?? 'Default', 'Default', Eyes.rgb[n] ?? 'Default', 'Default']),
next_rgb: () => Eyes.check('ItemHead') === $ && U.with(Eyes.check('Mask'), i => i !== $ && U.with(Eyes.rgb.indexOf(i.Color?.[0] ?? Eyes.rgb[0] ?? '') + 1, n => Eyes.set_rgb(i, n))),
roll_rgb: () => Eyes.next_rgb() && void W.ChatRoomCharacterItemUpdate(W.Player, 'Mask'),
start: () => Eyes.check('Mask') !== $ && Eyes.timeout === $ && Boolean(Eyes.timeout = setInterval(Eyes.roll_rgb, Eyes.speed)),
stop: () => Eyes.check('Mask') !== $ && Eyes.timeout !== $ && U.true(() => Eyes.timeout = void clearInterval(Eyes.timeout)),
set_speed(seconds) {const ms = Math.max(100, seconds * 1000); Eyes.speed = ms; if (Eyes.timeout !== $) {clearInterval(Eyes.timeout); Eyes.timeout = setInterval(Eyes.roll_rgb, Eyes.speed);}},
dim: () => U.send(() => Eyes.check('ItemHead') === $ && U.true(() => W.InventoryWear(W.Player, 'AnimeLenses', 'ItemHead', ['#FFFFFF', 'Default', '#FFFFFF', 'Default'], $, 71_240, Eyes.craft))),
clear: () => U.send(() => Eyes.check('ItemHead') !== $ && U.true(() => void W.InventoryRemove(W.Player, 'ItemHead'))),
check: zone => U.with(Eyes.item, item => item?.Asset.Group.Name === zone ? item : $),
get item() {return Eyes.zones.map(z => W.InventoryGet(W.Player, z)).find(item => item?.Asset.Name === 'AnimeLenses') ?? $},
}
/** @type {LILY.Belt} */ const Belt = {admins: [71_240, 67_994, 21_504],
users: {
119_643: {zone: 'ItemNeckAccessories', name: 'Lily\'s voicebox'},
//154_662: '?hell if I remember?',
62_808: {zone: 'ItemNeck', name: 'CKO voicebox'},
},
cli: {'#LILY': {
status: _ => '200 OK',
box: {on: Box.on, off: Box.off},
version: _ => `LILY version ${GM_info?.script?.version ?? 'unknown'}`,
eyes: { eyes: {
start: _ => Eyes.start(), start: Eyes.start,
stop: _ => Eyes.stop(), stop: Eyes.stop,
dim: _ => Eyes.dim(), dim: Eyes.dim,
clear: _ => Eyes.clear(), clear: Eyes.clear,
speed(s) {
const seconds = parseFloat(s);
if (isNaN(seconds) || seconds <= 0) return 'invalid speed';
Eyes.set_speed(seconds);
return `Eye speed set to ${seconds}s`;
}
}, },
}}, }},
/** @type {LILY.Belt['is_cb']} */ is_cb: s => typeof s === 'function', /** @type {LILY.Belt['is_cb']} */ is_cb: s => typeof s === 'function',
run(tokens) { /** @type {string | undefined} */ let t, /** @type {LILY.Commands | LILY.CommandCB} */ cmd = this.cli run(tokens) { /** @type {string | undefined} */ let t, /** @type {LILY.Commands | LILY.CommandCB} */ cmd = Belt.cli
while (t = tokens.shift()) if (U.with(cmd[t], next => !next || this.is_cb(cmd = next))) break // eslint-disable-line no-cond-assign while ((t = tokens.shift()) !== $) if (U.with(cmd[t], next => next !== $ && Belt.is_cb(cmd = next))) break // eslint-disable-line @typescript-eslint/no-loop-func
// either t is undefined, or cmd[t] is undefined or cmd is a function if (!Belt.is_cb(cmd)) return t === $ ? `subcommands: [${Object.keys(cmd).join(', ')}]` : `unknown token ${t}`
if (!this.is_cb(cmd)) return t ? `unknown token ${t}` : `subcommands: [${Object.keys(cmd).join(', ')}]`
return U.with(cmd(...tokens), r => typeof r === 'boolean' ? (r ? 'success' : 'fail') : String(r)) return U.with(cmd(...tokens), r => typeof r === 'boolean' ? (r ? 'success' : 'fail') : String(r))
}, },
receive(data) { if (!data.Sender) return undefined receive(data) { if (data.Sender === $) return $
const reply = this.admins.includes(data.Sender) ? this.run(data.Content.split(' ')) : 'access denied' W.ChatRoomSendLocal(`<span style="color: #666">${data.Content}</span>`)
return void W.ChatRoomSendWhisper(data.Sender, `LILY: ${reply}`) return void W.ChatRoomSendWhisper(data.Sender, `LILY: ${Belt.admins.includes(data.Sender) ? Belt.run(data.Content.split(' ')) : 'access denied'}`)
}, },
} }
SDK.hookFunction('SpeechTransformGagGarble', 0, ([text]) => text) // disable garbling /** @type {(text: string) => undefined} */ const unload = text => U.true(SDK.unload) && void console.debug(`LILY: ${text}, unloading the mod`)
SDK.hookFunction('ChatRoomSendChatMessage', 0, (na, n) => Box.enabled ? n(na) : Boolean(W.ChatRoomSendLocal('<span style="color: red">You try to talk, but nothing comes out.</span>'))) const load_after_login = () => {
W.ChatRoomRegisterMessageHandler({Priority: -169, Description: 'LILY', Callback: data => data.Type === 'Whisper' && data.Content.startsWith('!LILY') && (Belt.receive(data) || true)}) if (U.remove_hook !== $) {U.remove_hook?.(); U.remove_hook = $}
if (W.Player.MemberNumber === $) return void unload('member not identified')
if (!Object.hasOwn(Belt.users, W.Player.MemberNumber)) return void unload('member not eligible for loading')
SDK.hookFunction('SpeechTransformGagGarbleIntensity', 0, _ => 0) // disable garbling
SDK.hookFunction('ChatRoomSendChatMessage', 0, (na, n) => Box.enabled || na[0].startsWith('(') ? n(na) : !U.true(() => void W.ChatRoomSendLocal('<span style="color: red">You try to talk, but nothing comes out.</span>')))
W.ChatRoomRegisterMessageHandler({Priority: -169, Description: 'LILY', Callback: data => data.Type === 'Whisper' && data.Content.startsWith('#LILY') && U.true(() => void Belt.receive(data))})
console.debug(`LILY: eligible member detected, loaded version ${GM_info.script.version}`)
}
U.remove_hook = SDK.hookFunction('AsylumGGTSSAddItems', 0, (na, n) => U.true(load_after_login) && void n(na))
})() })()

12
package-lock.json generated
View File

@@ -1,16 +1,16 @@
{ {
"name": "lily", "name": "lily",
"version": "0.0.1", "version": "0.0.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "lily", "name": "lily",
"version": "0.0.1", "version": "0.0.3",
"license": "SEE LICENSE IN LICENSE.", "license": "SEE LICENSE IN LICENSE.",
"devDependencies": { "devDependencies": {
"@types/tampermonkey": "^5.0.3", "@types/tampermonkey": "^5.0.3",
"bc-stubs": "^105.0.0", "bc-stubs": "^114.0.0",
"bondage-club-mod-sdk": "^1.2.0", "bondage-club-mod-sdk": "^1.2.0",
"xo": "^0.58.0" "xo": "^0.58.0"
} }
@@ -1098,9 +1098,9 @@
"dev": true "dev": true
}, },
"node_modules/bc-stubs": { "node_modules/bc-stubs": {
"version": "105.0.3", "version": "114.0.0",
"resolved": "https://registry.npmjs.org/bc-stubs/-/bc-stubs-105.0.3.tgz", "resolved": "https://registry.npmjs.org/bc-stubs/-/bc-stubs-114.0.0.tgz",
"integrity": "sha512-haKRphxOdPQT/9W6s5L0x5DFDttOrk0xBddFfoLnMQlz7AiXnU3TGdlJ+biWpmQtyHc7WrJARbYd4Wf7+a4j8g==", "integrity": "sha512-o5G1ryUDwOez2GdnpLChGYVRiR8981PHOZNUnWuquSbQf5eNTqdq3sWtEF9vgpyJjlodNPBuoNQj+KlOeWOAjQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"socket.io-client": "4.6.1" "socket.io-client": "4.6.1"

View File

@@ -1,22 +1,44 @@
{ {
"name": "lily", "name": "lily",
"version": "0.0.1", "version": "0.0.4",
"description": "Lily's Integrated Logic Yoke", "description": "Lily's Integrated Logic Yoke",
"type": "module", "type": "module",
"private": true,
"devDependencies": { "devDependencies": {
"xo": "^0.58.0", "xo": "^0.58.0",
"bc-stubs": "^105.0.0", "bc-stubs": "^114.0.0",
"bondage-club-mod-sdk": "^1.2.0", "bondage-club-mod-sdk": "^1.2.0",
"@types/tampermonkey": "^5.0.3" "@types/tampermonkey": "^5.0.3"
}, },
"license": "SEE LICENSE IN LICENSE.", "license": "SEE LICENSE IN LICENSE.",
"xo": { "eslintConfig": {
"env": [ "root": true,
"browser", "extends": [
"node" "xo",
"xo-typescript"
], ],
"globals": ["GM", "GM_info"], "parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./jsconfig.json"] },
"plugins": ["@typescript-eslint"],
"globals": {"GM": true, "GM_info": true},
"rules": { "rules": {
"@typescript-eslint/brace-style": "off",
"@typescript-eslint/comma-dangle": ["error", "only-multiline"],
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-confusing-void-expression": ["error", {
"ignoreVoidOperator": true
}],
"@typescript-eslint/no-meaningless-void-operator": "off",
"@typescript-eslint/padding-line-between-statements": "off",
"@typescript-eslint/semi": "off",
"@typescript-eslint/space-before-function-paren": "off",
"@typescript-eslint/strict-boolean-expressions": ["error", {
"allowString": false,
"allowNumber": false,
"allowNullableObject": false
}],
"array-element-newline": "off", "array-element-newline": "off",
"brace-style": "off", "brace-style": "off",
"camelcase": "off", "camelcase": "off",
@@ -44,6 +66,14 @@
"unicorn/prefer-module": "off", "unicorn/prefer-module": "off",
"unicorn/prefer-top-level-await": "off", "unicorn/prefer-top-level-await": "off",
"fake/fuck-commas": "off" "fake/fuck-commas": "off"
},
"overrides": [
{
"files": ["*.d.ts"],
"rules": {
"no-unused-vars": "off"
} }
} }
]
}
} }