Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1deb997

Browse files
authoredAug 7, 2020
Introduce Prettier (#96)
1 parent ed6d66b commit 1deb997

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1955
-1283
lines changed
 

‎.eslintignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
!docs/.vuepress
12
docs/.vuepress/dist

‎.eslintrc.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ module.exports = {
77
mocha: true
88
},
99
extends: [
10-
'plugin:vue-libs/recommended'
11-
],
12-
plugins: [
10+
'plugin:vue-libs/recommended',
11+
'plugin:prettier/recommended',
12+
'prettier',
13+
'prettier/vue'
1314
],
15+
plugins: [],
1416
parserOptions: {
1517
ecmaVersion: 2015
1618
},

‎.prettierrc‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
semi: false
2+
singleQuote: true
3+
printWidth: 80
4+
trailingComma: none
5+
arrowParens: "avoid"

‎docs/.eslintrc.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22

33
module.exports = {
44
extends: '../.eslintrc.js',
5-
plugins: [
6-
'markdown'
7-
]
5+
plugins: ['markdown']
86
}

0 commit comments

Comments
 (0)
Please sign in to comment.