diff --git a/lib/utils/style-settings.js b/lib/utils/style-settings.js index 45d80d8..0bf2fb6 100644 --- a/lib/utils/style-settings.js +++ b/lib/utils/style-settings.js @@ -88,6 +88,8 @@ function checkStyleSettings (filePath, textEditor) { settings.globals = [].concat(styleSettings.global || []) } + styleSettings.env = styleSettings.env || styleSettings.envs + if (styleSettings.env) { settings.env = [].concat(styleSettings.env || []) }