Skip to content

Commit b865d0a

Browse files
committed
style: sync style config to template-mina
1 parent fc99522 commit b865d0a

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.gitattributes

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# GitLab
2+
# https://docs.gitlab.com/ee/user/project/highlighting.html
3+
*.wxml gitlab-language=xml
4+
*.wxss gitlab-language=css
5+
*.wxs gitlab-language=js
6+
*.mina gitlab-language=html
7+
8+
# GitHub
9+
# https://github.com/github/linguist#overrides
10+
*.wxml linguist-language=xml
11+
*.wxss linguist-language=css
12+
*.wxs linguist-language=js
13+
*.mina linguist-language=html

.vscode/setting.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files.associations": {
3+
"*.wxml": "xml",
4+
"*.wxss": "css",
5+
"*.wxs": "js",
6+
"*.mina": "vue"
7+
}
8+
}

prettier.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// @see https://prettier.io/docs/en/options.html
2+
module.exports = {
3+
semi: false,
4+
singleQuote: true,
5+
trailingComma: 'es5',
6+
}

0 commit comments

Comments
 (0)