myt/templates/view.js

10 lines
222 B
JavaScript

const sqlFormatter = require('@sqltools/formatter');
module.exports = function(params) {
params.definition = sqlFormatter.format(params.definition, {
indent: '\t',
reservedWordCase: 'upper'
});
}