Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1338 from eyesplitter/dev/prettier
Browse files Browse the repository at this point in the history
Prettier support
  • Loading branch information
Dushusir authored Aug 1, 2023
2 parents 71a9679 + 78cbdc4 commit 947d9bb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dist

*.css
*.html
*.md
*.yml
*.min.js
package.json
package-lock.json
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 80,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"arrowParens": "avoid"
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"gulp-uglify": "^3.0.2",
"gulp-useref": "^4.0.1",
"http-proxy-middleware": "^1.0.6",
"prettier": "2.8.8",
"rollup": "^2.32.1",
"rollup-plugin-terser": "^6.1.0",
"standard-version": "^8.0.2",
Expand All @@ -51,7 +52,9 @@
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"commit": "git-cz",
"release": "standard-version"
"release": "standard-version",
"prettier": "npx prettier --check .",
"prettier:fix": "npx prettier -w ."
},
"files": [
"dist"
Expand Down

0 comments on commit 947d9bb

Please sign in to comment.