File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change
1
+ dist : trusty
2
+ language : node_js
3
+ node_js :
4
+ - ' 10'
5
+ - ' 8'
6
+ - ' 6'
7
+ install : npm i
8
+ script :
9
+ - npm run check-format
10
+ - npm run test
Original file line number Diff line number Diff line change 32
32
"dummy.js" : " file:dummy.js" ,
33
33
"eslint" : " ^5.6.1" ,
34
34
"eslint-plugin-import" : " ^2.14.0" ,
35
+ "prettier" : " ^1.14.3" ,
35
36
"typescript" : " ^3.1.1"
36
37
},
37
38
"scripts" : {
38
- "test" : " eslint ./tests/withPaths/index.ts && eslint ./tests/withoutPaths/index.ts"
39
+ "test" : " eslint ./tests/withPaths/index.ts && eslint ./tests/withoutPaths/index.ts" ,
40
+ "check-format" : " prettier --config prettier.config.js index.js -l" ,
41
+ "format" : " prettier --config prettier.config.js index.js --write"
39
42
}
40
43
}
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
1
3
module . exports = {
2
- parser : 'typescript' ,
4
+ arrowParens : 'avoid' ,
5
+ bracketSpacing : true ,
6
+ parser : 'babylon' ,
7
+ jsxBracketSameLine : true ,
8
+ proseWrap : 'preserve' ,
9
+ semi : true ,
3
10
singleQuote : true ,
11
+ tabWidth : 2 ,
4
12
trailingComma : 'all' ,
13
+ useTabs : false ,
5
14
} ;
You can’t perform that action at this time.
0 commit comments