Mute
6034adae3c
another absolutely massive diff * Disabled keyboard handler for focus management, the club got better at this * Input history redone entirely, the code contains comments * Completion now takes cursor position into account * Dropped autoremoval of service messages in favour of future manual deletion * Tons of typechecking cleanup and style improvements * The code now has zero errors on the strictest TS settings I know
93 lines
3.1 KiB
JSON
93 lines
3.1 KiB
JSON
{
|
|
"name": "mbchc",
|
|
"version": "107.13.0",
|
|
"description": "Mute's Bondage Club Hacks Collection",
|
|
"author": "Mute",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"bc-stubs": "^106.0.0",
|
|
"bondage-club-mod-sdk": "^1.2.0",
|
|
"typescript": "^5.5.2",
|
|
"xo": "^0.56.0"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": ["xo", "xo-typescript", "plugin:unicorn/recommended"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": { "project": ["./jsconfig.json"] },
|
|
"plugins": ["@typescript-eslint", "unicorn"],
|
|
"rules": {
|
|
"@typescript-eslint/brace-style": "off",
|
|
"@typescript-eslint/comma-dangle": ["error", "only-multiline"],
|
|
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
"@typescript-eslint/consistent-type-definitions": "off",
|
|
"@typescript-eslint/consistent-type-imports": "off",
|
|
"@typescript-eslint/dot-notation": "off",
|
|
"@typescript-eslint/lines-between-class-members": "off",
|
|
"@typescript-eslint/member-delimiter-style": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"@typescript-eslint/no-confusing-void-expression": ["error", {
|
|
"ignoreVoidOperator": true
|
|
}],
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/no-meaningless-void-operator": "off",
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
"@typescript-eslint/object-curly-spacing": "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",
|
|
"brace-style": "off",
|
|
"camelcase": "off",
|
|
"capitalized-comments": "off",
|
|
"curly": "off",
|
|
"generator-star-spacing": "off",
|
|
"max-nested-callbacks": "off",
|
|
"max-params": "off",
|
|
"max-statements-per-line": "off",
|
|
"new-cap": "off",
|
|
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
|
|
"no-return-assign": "off",
|
|
"no-unused-expressions": "off",
|
|
"no-unused-vars": ["error", {
|
|
"argsIgnorePattern": "^_",
|
|
"destructuredArrayIgnorePattern": "^_"
|
|
}],
|
|
"no-void": "off",
|
|
"padding-line-between-statements": "off",
|
|
"object-curly-newline": "off",
|
|
"one-var": "off",
|
|
"one-var-declaration-per-line": "off",
|
|
"semi": "off",
|
|
"space-before-function-paren": "off",
|
|
"spaced-comment": "off",
|
|
"unicorn/catch-error-name": ["error", {"name": "x"}],
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/no-array-callback-reference": "off",
|
|
"unicorn/no-array-for-each": "off",
|
|
"unicorn/no-array-reduce": "off",
|
|
"unicorn/no-nested-ternary": "off",
|
|
"unicorn/prevent-abbreviations": ["error", {
|
|
"allowList": {"cur": true, "args": true, "func": true, "val": true, "mod": true, "msg": true, "i": true, "e": true}
|
|
}],
|
|
"unicorn/switch-case-braces": ["error", "avoid"],
|
|
"fake/fuck-commas": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.d.ts"],
|
|
"rules": {
|
|
"@typescript-eslint/semi": "error",
|
|
"no-unused-vars": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|