From e2fd156773dbc2e919c912673de092d707e8ef69 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Fri, 20 Dec 2019 13:26:53 -0600 Subject: Fix linting in script blocks in vue files - Removed the .eslintrc and added the pretteri rules to the eslintrc file - Ran `npm run lint --fix` Signed-off-by: Derick Montague Change-Id: I4e36c1967ae9b4d839ef88f1d47ffa20ab4e4991 --- .eslintrc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index 2e8a358a..4de4c1fd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,13 @@ module.exports = { extends: ['plugin:vue/essential', '@vue/prettier'], rules: { 'no-console': 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'prettier/prettier': [ + 'error', + { + singleQuote: true + } + ] }, parserOptions: { parser: 'babel-eslint' -- cgit v1.2.3