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.

Ability to retrieve the current configuration file path

See original GitHub issue

Currently, there is no way to know which .editorconfig file is used when getting the configuration using parseSync: if we try to load the configuration from a path when there is no .editorconfig file, the package will travel through the file system to search for another .editorconfig file and finally retrieve the read configuration.

It should be great to be able to retrieve the configuration file name or file path to know which file is currently used.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jednanocommented, Oct 31, 2019

There may be more than one .editorconfig file that was merged into the final configuration, so it would have to be a list of files.

1reaction
hildjjcommented, Sep 5, 2022

I’ll prepare a PR for this repo after I’ve gotten a few other things cleared up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot - get current configuration file path in runtime
I thought about it. We can try find file recursively in project folder with "*.yml". But who says that the config is active?......
Read more >
Where system, global and local Git config files on Windows ...
Here we will answer all of those questions about Git config file locations and where the various gitconfig files are stored. git config...
Read more >
Chapter: Managing Configuration Files - Cisco IOS XE 3SE
Running configuration files (running-config) contain the current configuration of the software. The two configuration files can be different.
Read more >
Rescue and Recovery of Configuration File (Junos OS)
To save a current device configuration as a rescue configuration file: ... The rescue configuration file is automatically saved under /config directory as...
Read more >
Manually create or edit the CloudWatch agent configuration file
json on a Linux server and $Env:ProgramData\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent.json on servers running Windows Server. After you have created ...
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