UNPKG

prettierx

Version:

prettierX - a less opinionated fork of the Prettier code formatter

42 lines (39 loc) 949 B
"use strict"; const CATEGORY_COMMON = "Common"; // format based on https://github.com/prettier/prettier/blob/main/src/main/core-options.js module.exports = { singleQuote: { since: "0.0.0", category: CATEGORY_COMMON, type: "boolean", default: false, description: "Use single quotes instead of double quotes.", }, proseWrap: { since: "1.8.2", category: CATEGORY_COMMON, type: "choice", default: [ { since: "1.8.2", value: true }, { since: "1.9.0", value: "preserve" }, ], description: "How to wrap prose.", choices: [ { since: "1.9.0", value: "always", description: "Wrap prose if it exceeds the print width.", }, { since: "1.9.0", value: "never", description: "Do not wrap prose.", }, { since: "1.9.0", value: "preserve", description: "Wrap prose as-is.", }, ], }, };