🎨 remove prettier/prettier rules & only single quotes
This commit is contained in:
14
.eslintrc.js
14
.eslintrc.js
@@ -8,11 +8,11 @@ module.exports = {
|
|||||||
parser: 'babel-eslint'
|
parser: 'babel-eslint'
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended",
|
'eslint:recommended',
|
||||||
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
|
// 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.
|
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
||||||
"plugin:vue/recommended",
|
'plugin:vue/recommended',
|
||||||
"plugin:prettier/recommended"
|
// 'plugin:prettier/recommended'
|
||||||
],
|
],
|
||||||
// required to lint *.vue files
|
// required to lint *.vue files
|
||||||
plugins: [
|
plugins: [
|
||||||
@@ -20,9 +20,9 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
// add your custom rules here
|
// add your custom rules here
|
||||||
rules: {
|
rules: {
|
||||||
"semi": [2, "never"],
|
'semi': [2, 'never'],
|
||||||
"no-console": "off",
|
'no-console': 'off',
|
||||||
"vue/max-attributes-per-line": "off",
|
'vue/max-attributes-per-line': 'off',
|
||||||
"prettier/prettier": ["error", { "semi": false }]
|
'quotes': [2, 'single', { 'avoidEscape': true }],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user