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.

Global configuration

See original GitHub issue

My defaults are very different than the normal xo defaults. Sometimes I mock up some JavaScript in a file in its own folder and would prefer to have a ~/.xoconfig with default options/overrides. Is this possible? I see there’s a ~/.xo-cache but is there a ~/.xorc or something similar?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
sindresorhuscommented, Nov 9, 2017

Hmm, actually, would probably be better to just resolve a globally installed sharable config and use that. Then it’s exactly like having a local shareable config but falls back to the global one if a local one is not found. So to have a global fallback, you would just have to do npm i -g eslint-config-foo. That way you only need maintain one override config in one place.

1reaction
sindresorhuscommented, Sep 13, 2017

@Goluis You could make a shareable config with your overrides.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview of global configurations - IBM
Global configurations enable you to reuse configurations in different versions or variants of software and product lines. By using global configurations, teams ...
Read more >
Global Configuration - SWR
The context SWRConfig can provide global configurations (options) for all SWR hooks. ... SWRConfig merges the configuration from the parent context.
Read more >
Global Configuration - IGEL Knowledge Base
Under Global Configuration, you can regulate administrative tasks, integrate user data from the Active Directory, set up Universal Firmware Updates and ...
Read more >
Using the Global Configuration Object - AWS SDK for JavaScript
There are two ways to configure the SDK: Set the global configuration using AWS.Config . Pass extra configuration information to a service object....
Read more >
Global Configuration Mode - an overview | ScienceDirect Topics
Here are the steps to configure MD5 authentication for EIGRP: 1. Enter Global Configuration mode. 2. Enter interface configuration mode. 3. Enable ...
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