Richardsl / heatmap-calendar-obsidian

An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Apache License 2.0
614 stars 102 forks source link

[DRAFT] Update dependencies, add prettier/eslint for consistent style, add more type safety #127

Open epsilonhalbe opened 2 months ago

epsilonhalbe commented 2 months ago

I noticed the dependencies were a bit out of date and the style was not very consistent. As well as a few as ... and ts-ignore.

I moved the ts file into a src folder and extracted default values and the domain model.

I ran the linter & formatter on the codebase, I tried to make it do as little changes as possible but the mix of commas/semicolons/quotes needed some changes to be unified.

the formatting & linting is cnotained in a single commit so it can be reverted more easily and review of unrelated content is easier.