bin/index.js

Expected parentheses around arrow function argument. (arrow-parens)
44
}).catch(err=>{

dist/dsw.js

Function has a complexity of 11. (complexity)
1452
self.addEventListener('fetch', function (event) {
Function has a complexity of 5. (complexity)
1694
}).then(function (windowClients) {

lib/dsw.js

Arrow function has a complexity of 12. (complexity)
16
return new Promise((resolve, reject)=>{
Expected parentheses around arrow function argument. (arrow-parens)
139
}).catch(err=>{

sandbox/scripts/default.js

Missing space before =>. (arrow-spacing)
47
el.onload = _=>{resolve(location.protocol+'//'+location.host+'/'+url);};
Expected method shorthand. (object-shorthand)
122
"#btn-8-video": function(){
Missing space before =>. (arrow-spacing)
281
DSW.ready.then(event=>{

src/cache-manager.js

Expected parentheses around arrow function argument. (arrow-parens)
73
return caches.keys().then(keys=>{
Missing space before =>. (arrow-spacing)
198
cache.add(request).then(cached=>{
Expected parentheses around arrow function argument. (arrow-parens)
204
}).catch(err=>{

src/logger.js

Expected method shorthand. (object-shorthand)
35
track: function () {

src/main.js

Missing space before =>. (arrow-spacing)
94
.some((cur, idx)=>{
Missing space before =>. (arrow-spacing)
149
Object.keys(dswConfig.rules || dswConfig.dswRules).forEach(heuristic=>{
Expected parentheses around arrow function argument. (arrow-parens)
426
result.forEach(cur=>{
Missing space before =>. (arrow-spacing)
564
return Promise.all(promises).then(_=>{

src/strategies.js

Missing space before =>. (arrow-spacing)
18
.then(result=>{
Function 'treatFetch' has a complexity of 6. (complexity)
135
function treatFetch (response) {

src/utils.js

Method 'createRequest' has a complexity of 9. (complexity)
16
createRequest (request, reqData) {

tests/helpers.js

A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
27
waitTestsToFinish: ClientFunction(() => {