-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for ".stylussupremacyrc" and/or ".stylussupremacyrc.js"? #48
Comments
Hello, Do you mean making Stylus Supremacy (NPM module & VSCode extension) automatically pick up |
I am aware of the ...exactly like you do with the On second thought, maybe I shouldn't be using |
I'd rather want this to be configurable from within E. g. in {
"name": "my-project",
"version": "1.0.0",
"...": "the other stuff",
"prettier": {},
"stylusSupremacy": {
"insertSemicolons": false,
"insertBraces": false
}
} |
My thought against having a default config file is, without going through the document, you will never know which configs will be used. Personally, explicitly running |
Hello @maranomynet, Yes, using the VSCode extension, you can use |
...the config files don't have to be implicitly selected. If you provide a Allowing the config to be exported from a JavaScript module (like ESLint, Rollup and others do) makes it possible to compose the config based on other project settings and/or some centralized style-configs, etc. |
Nope, in the CLI arg I can only see where my config file is but not what it includes, so in either case I have to look it up, |
That's true but my point is, it's straightforward to keep the config file path in CLI arguments. This is an open-source project. You are welcome to edit whatever float your boat and create a pull-request. |
It would be great if the config could be stored in a single file that would both be picked up by all editor plugins and the CLI command.
...similar to the way you pick up
.stylintrc
.Please allow the option of using a JavaScript module, as it allows for several interesting use-cases.
The text was updated successfully, but these errors were encountered: