From cf71d2bd0a0c081c993d5b45861a9869a8ef9e85 Mon Sep 17 00:00:00 2001 From: Kobi Meirson Date: Thu, 20 Oct 2022 15:27:17 +0300 Subject: [PATCH] chore(cr): newline at end of file + eslint enforcement --- .eslintrc.cjs | 1 + src/nginxconfig/util/logging.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c06f4b6..583e355 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -30,6 +30,7 @@ module.exports = { 'vue/html-self-closing': 0, 'vue/multi-word-component-names': 0, 'vue/no-reserved-component-names': 0, + 'eol-last': ['error', 'always'], }, globals: { 'describe': true, diff --git a/src/nginxconfig/util/logging.js b/src/nginxconfig/util/logging.js index 02d8bea..de5f0de 100644 --- a/src/nginxconfig/util/logging.js +++ b/src/nginxconfig/util/logging.js @@ -27,4 +27,4 @@ THE SOFTWARE. export const accessLogParamsDefault = 'buffer=512k flush=1m'; export const errorLogLevelDefault = 'warn'; -export const errorLogLevelOptions = Object.freeze(['debug', 'info', 'notice', 'warn', 'error', 'crit', 'alert', 'emerg']); \ No newline at end of file +export const errorLogLevelOptions = Object.freeze(['debug', 'info', 'notice', 'warn', 'error', 'crit', 'alert', 'emerg']);