generated from nhcarrigan/template
637699f5bb
## Summary - Adds `announceOnDiscourse` module to post announcements to the NHCarrigan Discourse support forum (category 16), tagged by announcement type - Adds `chunkContent` utility to split long announcements at paragraph/line boundaries for Discord (2000 chars), Reddit (40,000 chars), and Discourse (32,000 chars); Reddit overflows chain as nested replies, Discord as sequential messages, Discourse as sequential replies - Refactors the announcement route to run all platforms concurrently via `Promise.allSettled`, ensuring a failure on any one platform never blocks the others, with all results reported back - Fixes generation failure response from incorrect `201` to `500` ✨ This PR was created with love from Hikari~ 🌸 Reviewed-on: #17 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>
26 lines
869 B
JavaScript
26 lines
869 B
JavaScript
import NaomisConfig from "@nhcarrigan/eslint-config";
|
|
|
|
export default [
|
|
...NaomisConfig,
|
|
{
|
|
rules: {
|
|
"no-console": "off",
|
|
"new-cap": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"jsdoc/require-jsdoc": "off",
|
|
"jsdoc/require-param": "off",
|
|
"jsdoc/require-returns": "off",
|
|
"@typescript-eslint/no-useless-constructor": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/consistent-type-assertions": "off",
|
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
"stylistic/no-multi-spaces": "off",
|
|
"unicorn/filename-case": "off",
|
|
"@typescript-eslint/consistent-type-imports": "off",
|
|
},
|
|
},
|
|
];
|