File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
1
+ zhystar.com
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mavon-editor" ,
3
- "version" : " 1.2.6 " ,
3
+ "version" : " 1.2.7 " ,
4
4
"description" : " Vue markdown editor" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments