Add `ConfigArrayFactory` and `CascadingConfigArrayFactory` to the public API
See original GitHub issueIn 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:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@manuth Sorry, missed your reply. The RFC process is in place for exactly those kinds of conversations, so thanks for creating the RFC.
Alright, so I created a new PR now: https://github.com/eslint/rfcs/pull/52