bem-sdk-archive / bemjson-to-decl

BEMJSON to BEMDECL converter. DEPRECATED →
https://github.com/bem/bem-sdk/tree/master/packages/bemjson-to-decl
Other
2 stars 2 forks source link

Return normalized declaration #10

Open skad0 opened 7 years ago

skad0 commented 7 years ago

Package must return normalized declaration with newer version of bem-decl.

@blond @zxqfox we should decide something with version of declaration in case that it didn't specified. We can use parse form bem-decl, but it expects special format.

qfox commented 7 years ago

LET"S FIX IT!

skad0 commented 7 years ago

LET"S FIX IT!

@zxqfox what we should decide with decl versioning?

qfox commented 7 years ago

https://github.com/bem-sdk/bemjson-to-decl/blob/master/index.js#L69 — we can pass an option here, right?

skad0 commented 7 years ago

https://github.com/bem-sdk/bemjson-to-decl/blob/master/index.js#L69 — we can pass an option here, right?

in case that it didn't specified

the problem is in using right format, on which depends detect method of bem-decl.