platers / obsidian-linter

An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
https://platers.github.io/obsidian-linter/
MIT License
1.18k stars 80 forks source link

Question: after using linter I found some rules maybe redundant? #794

Open Ooopz opened 1 year ago

Ooopz commented 1 year ago

eg1: I have no idea of difference between Emphasis Style and Strong Style. eg2: Maybe Unordered List Style and Convert Bullet List Markers can be merge to one rule? eg3: Yaml aliases style and Yaml tags style both showed in basic setting and yaml setting?

pjkaufman commented 1 year ago

Thanks for the feedback.

eg1: I have no idea of difference between Emphasis Style and Strong Style.

Emphasis is italics _italicized_.

eg2: Maybe Unordered List Style and Convert Bullet List Markers can be merge to one rule?

This may be possible so long as bullet list markers register as a list in the markdown parser. If they do not, while they are related they would serve different functionalitites.

eg3: Yaml aliases style and Yaml tags style both showed in basic setting and yaml setting?

The general settings lets you determine what style to use throughout the plugin while the YAML settings typically are enabling or disabling affecting tags or aliases directly.

Ooopz commented 1 year ago

Thanks for reply and the grate job of this plugin.

pjkaufman commented 1 year ago

Thanks!

Looks like bullet list markers do not register as list items, so we cannot really merge the 2 rules since they work differently: Unordered List Style deals with existing lists according to the parser while Convert Bullet List Markers makes non-lists that would be interpreted as lists into lists.

I guess they could be combined as another setting in Unordered List Style could have an option to Convert Bullet List Markers.

Ooopz commented 1 year ago

Yes it's a better solution.