This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
2169357c17
prettier
/
tests
/
css_combinator
/
jsfmt.spec.js
2 lines
40 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Split Less and SCSS parsing into different parsers (#2844) * Split Less and SCSS parsing into different parsers Now, .less files are always parsed with postcss-less, and .scss files areare always parsed with postcss-scss. This: - Is less hacky. - Is meant to avoid issues like #2829. - Is probably more performant. `parser: "postcss"` and `--parser postcss` continue to work like before: First trying postcss-less, and if that fails, postcss-scss, unless a regex says that we should try in the opposite order. The new values for the parser option are "postcss-less" and "postcss-scss". * Remove postcss from package.json since it is not used * Rename parser-less to less and parser-scss to scss * Deprecate parser:postcss in favor of parser:css * Fix CSS tests
2017-09-26 08:08:11 +03:00
run
_spec
(
_
_dirname
,
{
parser
:
"css"
}
)
;