chore(lint): enable obsidianmd/object-assign rule (#2415)

Follow-up to #2410. The rule only flags `Object.assign(<ident-containing-default>, <non-object-literal>)` — the Obsidian anti-pattern of mutating DEFAULT_SETTINGS. No call sites in this repo match, so enabling produces zero new errors.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zero Liu 2026-05-13 01:26:48 -07:00 committed by GitHub
parent c88b1e2e5b
commit f767d88038
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,9 +73,6 @@ export default [
"tailwindcss/no-contradicting-classname": "error",
// obsidianmd: defer to follow-up PRs
"obsidianmd/vault/iterate": "error",
"obsidianmd/prefer-active-doc": "error",
"obsidianmd/object-assign": "off",
"obsidianmd/ui/sentence-case": "off",
// obsidianmd: disabled intentionally — Platform.isMacOS branching is on-purpose