14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
"use strict";
|
|
|
|
const deprecated = {
|
|
useFlowParser: config =>
|
|
` The ${'"useFlowParser"'} option is deprecated. Use ${'"parser"'} instead.
|
|
|
|
Prettier now treats your configuration as:
|
|
{
|
|
${'"parser"'}: ${config.useFlowParser ? '"flow"' : '"babylon"'}
|
|
}`
|
|
};
|
|
|
|
module.exports = deprecated;
|