question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow to specify config file location?

See original GitHub issue

We currently use markdownlint for both GitHub action workflows and contributors who choose to use VS Code. Our config files live in a non-standard location for use with workflows (.github/configs/.markdownlint.json) it would be really nice if VS Code users could point their workspace settings at that file for linting use while they’re working on things.

I know we could move the file to the root and still use it in the workflows, however, keeping the root of the project tiddy is also a worthy goal so we’d like an option to support both uses with only one file in a non-standard location. (It doesn’t seem practical to keep settings files for VS Code/Eclipse/IntelliJ/Atom/whatever all in the root of the repo to facilitate whatever editor and add-ons users may choose to use, however, if we could say "If you’re using VS Code, you can lint locally by pointing at .github/configs/.markdownlint.json, that seems great.)

This would also impact the project’s ability to facilitate markdownlint’s use for GitHub Codespaces.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
DavidAnsoncommented, Mar 5, 2022

This was a bug on my part - per the associated commit, the “extends” file should be resolved relative to HOMEDIR only if it came from user configuration. In your scenario, user and workspace configuration with non-overlapping properties get merged and the old logic resolved relative to HOMEDIR if ANY value came from user configuration. This should work as expected in the next release of the extension.

1reaction
DavidAnsoncommented, Feb 20, 2022

@TomerFi, can you try running markdownlint-cli2 from the root of that repo and say if it works or not? Maybe we can narrow this down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Relocating app.config file to a custom path - Stack Overflow
An additional requirement we have is to programatically specify where to find the app.config file. The reason for this being that we spawn...
Read more >
Stylelint: provide a way to specify config file location - YouTrack
It is common to put config files (webpack.js, etc) in a "config" folder to separate them from the project root. I would like...
Read more >
Web.config location element demystified - elmah.io Blog
In the appSettings element of the Web.config file located in the root, I'll create a new setting named Message :.
Read more >
A Complete Guide to Linux Config Files | CBT Nuggets
Those config files, for each network interface, are stored in the /etc/sysconfig/network-scripts/ directory. If your network interface was ...
Read more >
Configuration File - an overview | ScienceDirect Topics
The configuration file(s) to be included must be located in the base directory of etc/sysconfig/mic. The configuration parser processes each parameter ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found