Giter Club home page Giter Club logo

Comments (5)

pjkaufman avatar pjkaufman commented on July 16, 2024 1

No worries. The commander macro can use lint unless ignored and that should take care of it.

I am glad this is fixed for you!

from obsidian-linter.

pjkaufman avatar pjkaufman commented on July 16, 2024

I am not 100% sure what is happening here since I have used this plugin for years now and have not hit the issue where I have linted Templater files since I added them to my ignore path.

So I would like to better understand the problem since I believe that, except for manually telling a file to be linted, it should be checking that the file is a markdown file and that it is not ignored.

How are you currently able to lint your Templater files if they are in your ignored path? It may be a bug in the Linter unless you are using the rule/logic that is meant to bypass that.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on July 16, 2024

I did double check the logic and there is some logic in place to make sure that lint on file change does not run on ignored files. So if it is running on them, that would be a bug that needs fixing.
Edit: this comment is unrelated.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on July 16, 2024

Note: Lint on save is checking that the file is a markdown file and that it is ignored.

I am not sure how you are linting ignored folders (not sure if that is where your Templater scripts live), but if they do, a reproducible example would help greatly in getting to the bottom of this.

Thanks!

from obsidian-linter.

zanodor avatar zanodor commented on July 16, 2024

Turns out the command I was using with the key combo was actually a Commander macro (with the same name) that contained the single command 'lint the current file' -- probably I needed that on mobile where I cannot press key combinations...?

Indeed, when one lints on save, the ignored folders are respected.

Sorry about the trouble.

Cheers

from obsidian-linter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.