UNPKG

@unibeautify/beautifier-sqlformat

Version:
50 lines 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const options = { // indent_tabs: [ // ["indent_style"], // (options): boolean => { // if (options.indent_style === "tab") { // return true; // } // return false; // }, // ], identifiers: [ ["identifier_case"], (options) => { switch (options.identifier_case) { case "uppercase": return "upper"; case "lowercase": return "lower"; case "capitalize": return "capitalize"; } }, ], indent_width: [ ["indent_size"], (options) => { if (options.indent_size) { return options.indent_size; } return 2; }, ], keywords: [ ["keyword_case"], (options) => { switch (options.keyword_case) { case "uppercase": return "upper"; case "lowercase": return "lower"; case "capitalize": return "capitalize"; } }, ], }; exports.default = options; //# sourceMappingURL=options.js.map