refactor(lint): externalization of prettier for simpler IDE support

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2022-08-03 17:19:53 +02:00
1 parent 129f74c371
commit 02c4963531
4 files changed
+10 -10

No files matched your search

+1 -10
View File
@@ -16,15 +16,6 @@ module.exports = {
}, },
rules: { rules: {
'vue/multi-word-component-names': ['off'], 'vue/multi-word-component-names': ['off'],
'prettier/prettier': [ 'prettier/prettier': ['error'],
'error',
{
singleQuote: true,
semi: true,
tabWidth: 2,
trailingComma: 'all',
printWidth: 120,
},
],
}, },
}; };
+7
View File
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 120
}
+1
View File
@@ -54,6 +54,7 @@
"@vue/tsconfig": "^0.1.3", "@vue/tsconfig": "^0.1.3",
"c8": "^7.11.0", "c8": "^7.11.0",
"eslint": "^8.5.0", "eslint": "^8.5.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.2.0", "eslint-plugin-vue": "^8.2.0",
"jsdom": "^19.0.0", "jsdom": "^19.0.0",
"less": "^4.1.2", "less": "^4.1.2",
+1
View File
@@ -76,6 +76,7 @@
"@vue/tsconfig": "^0.1.3", "@vue/tsconfig": "^0.1.3",
"c8": "^7.11.0", "c8": "^7.11.0",
"eslint": "^8.5.0", "eslint": "^8.5.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.2.0", "eslint-plugin-vue": "^8.2.0",
"jsdom": "^19.0.0", "jsdom": "^19.0.0",
"less": "^4.1.2", "less": "^4.1.2",