From decc1aba5e652f71750a23534977ced23c1c7164 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 21 Jan 2021 17:56:22 +0000 Subject: [PATCH] Linting. --- packages/string-templates/src/processors/index.js | 2 +- packages/string-templates/src/processors/preprocessor.js | 6 +----- packages/string-templates/src/utilities.js | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/string-templates/src/processors/index.js b/packages/string-templates/src/processors/index.js index d781de53ad..225a707c60 100644 --- a/packages/string-templates/src/processors/index.js +++ b/packages/string-templates/src/processors/index.js @@ -23,4 +23,4 @@ module.exports.preprocess = string => { module.exports.postprocess = string => { return process(string, postprocessor.processors) -} \ No newline at end of file +} diff --git a/packages/string-templates/src/processors/preprocessor.js b/packages/string-templates/src/processors/preprocessor.js index 0d71445788..aa1d58bd43 100644 --- a/packages/string-templates/src/processors/preprocessor.js +++ b/packages/string-templates/src/processors/preprocessor.js @@ -1,9 +1,5 @@ const { HelperNames } = require("../helpers") -const { - swapStrings, - isAlphaNumeric, - FIND_HBS_REGEX, -} = require("../utilities") +const { swapStrings, isAlphaNumeric, FIND_HBS_REGEX } = require("../utilities") const PreprocessorNames = { SWAP_TO_DOT: "swap-to-dot-notation", diff --git a/packages/string-templates/src/utilities.js b/packages/string-templates/src/utilities.js index b973b56acd..e700ea6c53 100644 --- a/packages/string-templates/src/utilities.js +++ b/packages/string-templates/src/utilities.js @@ -22,6 +22,4 @@ module.exports.removeNull = obj => { ) } -module.exports.findHbsStatements = string => { - -} \ No newline at end of file +module.exports.findHbsStatements = string => {}