cli
cli copied to clipboard
Add support to .sequelizerc.js
Feature Description
Other tools like ESLint and Prettier have support to JavaScript, JSON, or YAML. This can be in the form of an .sequelizerc.*
file.
I'm just proposing .sequelizerc.js
because the content is JavaScript. We will win highlighting and autocomplete.
I can open a PR if you want.
I support this idea
Hi! Thanks for the suggestion. Looks like a good idea, if you are still willing to open a PR for this @andredesousa that would be great. Maybe also incorporate a JSON file, YAML/YML file (as requested in https://github.com/sequelize/cli/issues/957) and possibly also incorporating it in package.json (as requested in https://github.com/sequelize/cli/issues/673) or in the command line in there as well? Basically just what Mocha does as well
@WikiRik I think that implementing *js is straightforward. Other formats, I need to investigate.
Not sure how much it will help you, but this is how Mocha does it; https://github.com/mochajs/mocha/blob/master/lib/cli/config.js