From 87301667a2eae0f23bbeb8cea362db1d99a76dad Mon Sep 17 00:00:00 2001 From: Aleksei Tsybin Date: Tue, 22 Feb 2022 19:12:06 +0300 Subject: [PATCH] feature: fix prettier problems --- .eslintrc.js | 6 +++ .prettierrc.js | 1 + src/App.vue | 141 +------------------------------------------------ 3 files changed, 8 insertions(+), 140 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index ed6d110..ce1a92e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,5 +14,11 @@ module.exports = { rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'prettier/prettier': [ + 'error', + { + endOfLine: 'auto', + }, + ], }, } diff --git a/.prettierrc.js b/.prettierrc.js index 0614ee7..2f44711 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -3,4 +3,5 @@ module.exports = { tabWidth: 2, semi: false, singleQuote: true, + endOfLine: 'auto', } diff --git a/src/App.vue b/src/App.vue index 3e0499c..df72cf7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,140 +1 @@ - - - - - + \ No newline at end of file