🎨 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'
|
||||
},
|
||||
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 }],
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user