File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,5 @@ accept your pull requests.
56
56
1 . Lint (and maybe fix) any changes:
57
57
58
58
npm run format
59
- npm run lint-fix
60
59
61
60
[ setup ] : https://cloud.google.com/nodejs/docs/setup
Original file line number Diff line number Diff line change 79
79
80
80
// An error is thrown when instantiating loader with new options
81
81
try {
82
- new google . maps . plugins . loader . Loader ( { apiKey : ' foo' } ) ;
82
+ new google . maps . plugins . loader . Loader ( { apiKey : " foo" } ) ;
83
83
} catch ( e ) {
84
- console . log ( e . message )
84
+ console . log ( e . message ) ;
85
85
}
86
86
87
87
// The loader is a singleton and new loaders will resolve with the old
91
91
anotherLoader . load ( ) . then ( ( ) => {
92
92
console . log ( "another loader was used with same options" ) ;
93
93
} ) ;
94
-
95
94
</ script >
96
95
</ head >
97
96
Original file line number Diff line number Diff line change 22
22
"types" : " dist/index.d.ts" ,
23
23
"scripts" : {
24
24
"docs" : " typedoc" ,
25
- "format" : " prettier *.json *.js src/* e2e/* examples/* --write" ,
25
+ "format" : " prettier *.json *.js src/* e2e/* examples/* --write && eslint src/* --fix " ,
26
26
"lint" : " eslint src/*" ,
27
27
"prepare" : " rollup -c" ,
28
28
"test" : " jest src/*" ,
You can’t perform that action at this time.
0 commit comments