disable checkboxes for nostr partner messages; adjust linting warnings

This commit is contained in:
2024-09-26 09:13:22 -06:00
parent a4073a5fff
commit 1d48da6855
9 changed files with 65 additions and 25 deletions

View File

@@ -17,15 +17,18 @@ module.exports = {
"max-len": [
"warn",
{
code: 100,
ignoreComments: true,
code: 120,
ignoreComments: true, // why does this not make it allow comment of any length?
ignorePattern: '^\\s*class="[^"]*"$',
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreTrailingComments: true,
ignoreUrls: true,
},
],
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"prettier/prettier": ["warn", { printWidth: 100 }],
// "prettier/prettier": ["warn", { printWidth: 120 }], // removes errors but adds thousands of warnings
"@typescript-eslint/no-unnecessary-type-constraint": "off",
},
};