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 = {
6
6
es2020 : true
7
7
} ,
8
8
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
+ ]
10
16
} ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ module.exports = ({
110
110
}
111
111
112
112
// "alternate" link header is a redirect
113
- alternate = linkHeaders [ ' alternate' ] ;
113
+ alternate = linkHeaders . alternate ;
114
114
if ( alternate &&
115
115
alternate . type == 'application/ld+json' &&
116
116
! ( contentType || '' )
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module.exports = ({
90
90
}
91
91
92
92
// "alternate" link header is a redirect
93
- alternate = linkHeaders [ ' alternate' ] ;
93
+ alternate = linkHeaders . alternate ;
94
94
if ( alternate &&
95
95
alternate . type == 'application/ld+json' &&
96
96
! ( 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 104
104
"coverage" : " cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm test" ,
105
105
"coverage-ci" : " cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test" ,
106
106
"coverage-report" : " nyc report" ,
107
- "lint" : " eslint *.js lib/**.js tests/**.js "
107
+ "lint" : " eslint . "
108
108
},
109
109
"nyc" : {
110
110
"exclude" : [
You can’t perform that action at this time.
0 commit comments