Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High-level visibility of configurations #155

Closed
rektide opened this issue Jun 25, 2020 · 2 comments
Closed

High-level visibility of configurations #155

rektide opened this issue Jun 25, 2020 · 2 comments

Comments

@rektide
Copy link

rektide commented Jun 25, 2020

  • kcd-scripts version: 6.2.3
  • node version: 12.16.1
  • npm (or yarn) version: 6.13.4

Relevant code or config

all the config produced by kcd-scripts

What you did:

i introduced kcd-scripts to our team in order to set up a clear repeateable process

What happened:

we now have a consistent means of deploying configuration to our projects, but our team has a weak understanding of what rules we have subjected ourselves to.

Problem description:

trying to understand what eslint and what babel configuration we have is a bit complicated, as there are numerous different configurations that are combined (in eslints case) and a variety of conditionals in the babelrc config generator. eslint in particular has been hard to understand.

Suggested solution:

it would be lovely to have a way to preview the aggregated eslint rules, for example. i'm less sure what could be done about, for example, babel, but that's less difficult to understand.

@kentcdodds
Copy link
Owner

This project is open source, but I make no effort to make it easy for other people to use other than myself. So sorry, I don't have the bandwidth.

I recommend forking it and improving it in whatever way you wish.

@rektide
Copy link
Author

rektide commented Jun 26, 2020

For anyone who happens upon this, one can eslint --print-config some/random/file.js to get the js rules for that file. Thanks eslint discord for the help there.

Closing for now. Godspeed all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants