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.

shareable config from an npm package

See original GitHub issue

if this is already supported, sorry for the noise, but from the docs and the code that i’ve looked through, it appears that the current shareable config capability assumes that the config file to be extended is a local file.

i’d like to put together an npm package that i use across my projects, but i’m just wanting to confirm support before i put in the effort. ideally, i’d love for support to follow the conventions that have emerged in projects like eslint, commitlint, semantic-release, and others where a package named <tool-name>-config-<config-name> could be extended by using "extends": "<config-name>". for a concrete example, i’d like to publish markdownlint-config-travi and use it in my .markdownlintrc as "extends": "travi"

is this possible today? if not, would it be an enhancement that you’d consider?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidAnsoncommented, Oct 24, 2018

Okay, thanks. Glad you found something that suits your needs!

0reactions
travicommented, Oct 24, 2018

my needs ended up becoming more complex, so i ended up switching to remark. i’ll close since i wont need this anymore, but certainly feel free to reopen if you still think this will be useful for the project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shareable Configs - ESLint - Pluggable JavaScript Linter
Shareable configs are simply npm packages that export a configuration object. To start, create a Node.js module like you normally would.
Read more >
standard-shared-config - npm
The configuration files is an important part of your project, and as such, you may want to share it with other projects or...
Read more >
Shareable configurations - semantic-release - GitBook
A shareable configuration is an npm package that exports a semantic-release configuration object. It allows for use of the same configuration across several ......
Read more >
How to Create Your Own ESLint Config Package
npm install -D eslint eslint-config-airbnb eslint-config-prettier ... The documentation mentions that if your shareable config depends on a ...
Read more >
Create a reusable ESLint config - Coding Licks
Step 1: Scaffolding · Create a new npm package. By convention, it should start with eslint-config- : · Create an index.js file under...
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