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 3232 "dummy.js" : " file:dummy.js" ,
3333 "eslint" : " ^5.6.1" ,
3434 "eslint-plugin-import" : " ^2.14.0" ,
35+ "prettier" : " ^1.14.3" ,
3536 "typescript" : " ^3.1.1"
3637 },
3738 "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"
3942 }
4043}
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
13module . exports = {
2- parser : 'typescript' ,
4+ arrowParens : 'avoid' ,
5+ bracketSpacing : true ,
6+ parser : 'babylon' ,
7+ jsxBracketSameLine : true ,
8+ proseWrap : 'preserve' ,
9+ semi : true ,
310 singleQuote : true ,
11+ tabWidth : 2 ,
412 trailingComma : 'all' ,
13+ useTabs : false ,
514} ;
You can’t perform that action at this time.
0 commit comments