🎨 remove prettier/prettier rules & only single quotes

This commit is contained in:
Kevin van der Werff
2019-10-01 14:06:58 +02:00
parent 4d1dc461f2
commit 405e0d61cb

View File

@@ -8,11 +8,11 @@ module.exports = {
parser: 'babel-eslint'
},
extends: [
"eslint:recommended",
'eslint:recommended',
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
"plugin:vue/recommended",
"plugin:prettier/recommended"
'plugin:vue/recommended',
// 'plugin:prettier/recommended'
],
// required to lint *.vue files
plugins: [
@@ -20,9 +20,9 @@ module.exports = {
],
// add your custom rules here
rules: {
"semi": [2, "never"],
"no-console": "off",
"vue/max-attributes-per-line": "off",
"prettier/prettier": ["error", { "semi": false }]
'semi': [2, 'never'],
'no-console': 'off',
'vue/max-attributes-per-line': 'off',
'quotes': [2, 'single', { 'avoidEscape': true }],
}
}