Skip to content

Commit 5667ad2

Browse files
committed
init
1 parent 36d00b8 commit 5667ad2

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

.eslintrc.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// http://eslint.org/docs/user-guide/configuring
2+
3+
module.exports = {
4+
root: true,
5+
parser: 'babel-eslint',
6+
parserOptions: {
7+
sourceType: 'module'
8+
},
9+
env: {
10+
browser: true,
11+
},
12+
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
13+
extends: 'standard',
14+
// required to lint *.vue files
15+
plugins: [
16+
'html'
17+
],
18+
// add your custom rules here
19+
'rules': {
20+
// allow paren-less arrow functions
21+
'arrow-parens': 0,
22+
// allow async-await
23+
'generator-star-spacing': 0,
24+
// allow debugger during development
25+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
26+
// 忽略;
27+
'semi':0,
28+
// 忽略缩进
29+
'indent':0,
30+
// camel case
31+
'camelcase':0,
32+
// 键值对:后强制空格
33+
'key-spacing':0,
34+
// ,前不允许空格
35+
'comma-spacing':0,
36+
// 函数空格
37+
'space-before-function-paren':0,
38+
//
39+
'no-unused-vars':0,
40+
// else 强制换行
41+
'brace-style':0
42+
}
43+
}

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
zhystar.com

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mavon-editor",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Vue markdown editor",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)