2017-01-24 00:33:58 +03:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
const deprecated = {
|
|
|
|
useFlowParser: config =>
|
|
|
|
` The ${"\"useFlowParser\""} option is deprecated. Use ${"\"parser\""} instead.
|
|
|
|
|
|
|
|
Prettier now treats your configuration as:
|
|
|
|
{
|
2017-01-24 02:47:34 +03:00
|
|
|
${"\"parser\""}: ${config.useFlowParser ? "\"flow\"" : "\"babylon\""}
|
2017-01-24 00:33:58 +03:00
|
|
|
}`
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = deprecated;
|