This repository was archived by the owner on Sep 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +135
-85
lines changed Expand file tree Collapse file tree 3 files changed +135
-85
lines changed Original file line number Diff line number Diff line change 10
10
node: true
11
11
12
12
rules:
13
- indent: [2, 2] # 2 spaces indentation
14
- max-len: [2, 120, 4]
15
- quotes: [2, "double"]
16
- semi: [2, "never"]
17
- no-multiple-empty-lines: [2, {"max": 1}]
18
-
19
- brace-style: [2, "stroustrup"]
20
- comma-dangle: [2, "always-multiline"]
21
- comma-style: [2, "last"]
22
- computed-property-spacing: [2, "never"]
23
- dot-location: [2, "property"]
24
-
25
13
one-var: [2, "never"]
26
14
#no-var: [2]
27
15
prefer-const: [2]
28
16
no-bitwise: [2]
29
-
30
- object-curly-spacing: [2, "never"]
31
- array-bracket-spacing: [2, "never"]
32
- space-unary-ops: [2, {"words": true, "nonwords": false}]
33
- keyword-spacing: [2, {"after": true}]
34
- space-before-blocks: [2, "always"]
35
- space-before-function-paren: [2, "never"]
36
- space-in-parens: [2, "never"]
37
- spaced-comment: [2, "always"]
Original file line number Diff line number Diff line change 30
30
"ava" : " ^0.17.0" ,
31
31
"eslint" : " ^5.1.0" ,
32
32
"eslint-friendly-formatter" : " ^2.0.4" ,
33
- "npmpub" : " ^3.0.1" ,
33
+ "husky" : " ^0.14.3" ,
34
+ "npmpub" : " ^4.0.1" ,
35
+ "prettier" : " ^1.13.7" ,
36
+ "pretty-quick" : " ^1.6.0" ,
34
37
"webpack" : " ^4.0.0"
35
38
},
36
39
"scripts" : {
40
+ "precommit" : " pretty-quick --staged" ,
37
41
"lint" : " eslint ." ,
38
42
"ava" : " ava" ,
39
43
"test" : " npm run lint && npm run ava" ,
You can’t perform that action at this time.
0 commit comments