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.

Add `ConfigArrayFactory` and `CascadingConfigArrayFactory` to the public API

See original GitHub issue

In some cases people might want to know which config-files are used for running eslint and whether a package.json even contains eslint-settings.

While it’s easily possible to write such a functionality on one’s own it’s pretty much butthurt to maintain this coad oneself while eslint already has such a feature built-in.

It would be awesome if you could export ConfigArrayFactory and CascadingConfigArrayFactory to the export of api.js or add getConfigArrayForFile and getCascadingConfigArrayForFile to CLIEngine publicly.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kaicataldocommented, Dec 9, 2019

@manuth Sorry, missed your reply. The RFC process is in place for exactly those kinds of conversations, so thanks for creating the RFC.

1reaction
manuthcommented, Dec 9, 2019

Alright, so I created a new PR now: https://github.com/eslint/rfcs/pull/52

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint/eslint - Gitter
Hi...I'm having a problem with eslint 6 in that cli.getRules either does not get external rules or doesn't get rules in extended configs/plugins...
Read more >
reactjs - different behavior for CLI vs webpack-eslint-plugin
library is a separate package with some shared code, installed into app as a local dependency; app/.eslintrc.js extends from react-app and react ...
Read more >
failed to load config "airbnb-typescript" to extend from - You.com ...
Add the typescript plugin to .eslintrc, using the extends option in .eslintrc ... /eslint/lib/cli-engine/cascading-config-array-factory.js:328:46).
Read more >
eslint-plugin-evelyn - npm
eslint:cascading-config-array-factory Configuration was determined: ConfigArray [...] ... New capabilities to the public API are added ...
Read more >
Error: Failed to load config "xo/esnext" to extend from. #107
IssueHunt is an issue-based bounty platform for open source projects. ... linter-xo/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:234) ...
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