diff --git a/.eslintrc.json b/.eslintrc.json index b0d38a5b..6d35f3aa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,10 +23,12 @@ "markdown" ], "rules": { - "prettier/prettier": "error", + "prettier/prettier": ["error", { + "endOfLine":"auto" + }], "import/no-unresolved": [ 2, { "ignore": ["^@"] } ] } -} \ No newline at end of file +} diff --git a/.prettierrc b/.prettierrc index 15e442db..ddbf76db 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,7 +1,8 @@ { "tabWidth": 4, "useTabs": true, + "printWidth": 120, "trailingComma": "es5", "bracketSpacing": true, - "endOfLine": "lf" + "endOfLine": "auto" } diff --git a/src/.vuepress/components/DownloadButtons.vue b/src/.vuepress/components/DownloadButtons.vue index 2215f426..dba72dbf 100644 --- a/src/.vuepress/components/DownloadButtons.vue +++ b/src/.vuepress/components/DownloadButtons.vue @@ -11,11 +11,7 @@