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 <derick.montague@ibm.com>
Change-Id: I4e36c1967ae9b4d839ef88f1d47ffa20ab4e4991
diff --git a/.eslintrc.js b/.eslintrc.js
index 2e8a358..4de4c1f 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -6,7 +6,13 @@
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'