aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.cjs11
-rw-r--r--.prettierrc7
-rw-r--r--package-lock.json1
-rw-r--r--package.json1
4 files changed, 10 insertions, 10 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 8b6c433..611ae17 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -16,15 +16,6 @@ module.exports = {
},
rules: {
'vue/multi-word-component-names': ['off'],
- 'prettier/prettier': [
- 'error',
- {
- singleQuote: true,
- semi: true,
- tabWidth: 2,
- trailingComma: 'all',
- printWidth: 120,
- },
- ],
+ 'prettier/prettier': ['error'],
},
};
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..13799bc
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,7 @@
+{
+ "singleQuote": true,
+ "semi": true,
+ "tabWidth": 2,
+ "trailingComma": "all",
+ "printWidth": 120
+}
diff --git a/package-lock.json b/package-lock.json
index 6bbf676..72a3c03 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -54,6 +54,7 @@
"@vue/tsconfig": "^0.1.3",
"c8": "^7.11.0",
"eslint": "^8.5.0",
+ "eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.2.0",
"jsdom": "^19.0.0",
"less": "^4.1.2",
diff --git a/package.json b/package.json
index afbeab8..52bbe45 100644
--- a/package.json
+++ b/package.json
@@ -76,6 +76,7 @@
"@vue/tsconfig": "^0.1.3",
"c8": "^7.11.0",
"eslint": "^8.5.0",
+ "eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.2.0",
"jsdom": "^19.0.0",
"less": "^4.1.2",