Skip to content

Commit ffb2a59

Browse files
committedJan 12, 2019
style: lint add semi and prettier
1 parent b4d9bfd commit ffb2a59

File tree

1,264 files changed

+38272
-36576
lines changed

Some content is hidden

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

1,264 files changed

+38272
-36576
lines changed
 

‎.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ node_modules/
33
**/style/
44
*.html
55
/components/test/*
6+
es/
7+
lib/
8+
site-dist/
9+
dist/

‎.eslintrc

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
"es6": true
88
},
99
"parser": "babel-eslint",
10-
"extends": ["plugin:vue-libs/recommended"],
10+
"extends": ["plugin:vue-libs/recommended", "prettier"],
1111
"rules": {
1212
"comma-dangle": [2, "always-multiline"],
1313
"no-var": "error",
1414
"no-unused-vars": "warn",
1515
"camelcase": "off",
16-
"no-extra-boolean-cast": "off"
16+
"no-extra-boolean-cast": "off",
17+
"semi": ["error", "always"]
1718
}
18-
}
19+
}

0 commit comments

Comments
 (0)
Please sign in to comment.