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

use .buildifier-tables.json file without specifying on CLI #1181

Open
peakschris opened this issue Aug 2, 2023 · 0 comments
Open

use .buildifier-tables.json file without specifying on CLI #1181

peakschris opened this issue Aug 2, 2023 · 0 comments

Comments

@peakschris
Copy link

peakschris commented Aug 2, 2023

We need to use a custom tables.json file with --add_tables or --tables. But it would help if we did not need to specify it on the command line each time. Some integrations such as VSCode auto-download buildifier and auto-run it.

Fixes could include:

  • if .buildifier-tables.json exists in root of workspace, use it
  • add config option to .buildifier.json file with the path to tables.json (and whether it is an -add_tables or --tables)
  • allow buildifier-tables.json content to be embedded inside .buildifier.json

Maybe I have missed something and this is already there -- if so it would be helpful to know. Thanks for a great tool!

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
@peakschris and others