File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,11 @@ module.exports = {
66 es2020 : true
77 } ,
88 extends : 'eslint-config-digitalbazaar' ,
9- root : true
9+ root : true ,
10+ ignorePatterns : [
11+ 'dist/' ,
12+ 'tests/webidl/WebIDLParser.js' ,
13+ 'tests/webidl/idlharness.js' ,
14+ 'tests/webidl/testharness.js'
15+ ]
1016} ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ module.exports = ({
110110 }
111111
112112 // "alternate" link header is a redirect
113- alternate = linkHeaders [ ' alternate' ] ;
113+ alternate = linkHeaders . alternate ;
114114 if ( alternate &&
115115 alternate . type == 'application/ld+json' &&
116116 ! ( contentType || '' )
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module.exports = ({
9090 }
9191
9292 // "alternate" link header is a redirect
93- alternate = linkHeaders [ ' alternate' ] ;
93+ alternate = linkHeaders . alternate ;
9494 if ( alternate &&
9595 alternate . type == 'application/ld+json' &&
9696 ! ( contentType || '' ) . match ( / ^ a p p l i c a t i o n \/ ( \w * \+ ) ? j s o n $ / ) ) {
Original file line number Diff line number Diff line change 104104 "coverage" : " cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm test" ,
105105 "coverage-ci" : " cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test" ,
106106 "coverage-report" : " nyc report" ,
107- "lint" : " eslint *.js lib/**.js tests/**.js "
107+ "lint" : " eslint . "
108108 },
109109 "nyc" : {
110110 "exclude" : [
You can’t perform that action at this time.
0 commit comments