Open Kronuz opened 11 years ago
I'm not entirely sold on options :)
There are only three that do anything any more:
style
, which doesn't make sense except at the very top level — and if you're compiling multiple files together, the top level doesn't really exist! It also prevents you from ever compiling with a different style, without editing the files themselves. And heaven help you if you import a file with this option in it.warn-unused
, which seems like something you would want either completely on or completely off? If other files are warning you when you don't want them to, well, you have some imports to clean up :)control-scoping
, which does make sense to scope... but I'm hoping it's a temporary "feature" we can get rid of in the nearish future.
Some options like
@option: warn-undefined: yes
are best to be local to the working file only, and not propagate into imports.Actually, it could be that applied options always are the ones where the final rules are added or mixins/functions are used, instead of where they are defined. This way, options life would be limited to the single file they were added to.