Skip to content

Commit

Permalink
eslint: enable comma-dangle rule
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Jul 22, 2020
1 parent 47d59a5 commit 50b9535
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
"ignoredNodes": ["TemplateLiteral"],
"SwitchCase": 1
}],
'comma-dangle': ["error", "never"],
'no-console': 1,
'no-unused-vars': 'off',
'no-unreachable': 2,
Expand Down
2 changes: 1 addition & 1 deletion example/regions/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ document.addEventListener('DOMContentLoaded', function() {
end: 7,
loop: false,
color: 'hsla(200, 50%, 70%, 0.4)',
minLength: 1,
minLength: 1
}
],
dragSelection: {
Expand Down
2 changes: 1 addition & 1 deletion example/split-channels/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ window.onload = function() {
waveColor: 'purple'
}
},
filterChannels: [],
filterChannels: []
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/drawer.multicanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export default class MultiCanvas extends Drawer {
offsetY: offsetY,
halfH: halfH,
peaks: peaks,
channelIndex: channelIndex,
channelIndex: channelIndex
});
})();
}
Expand Down
2 changes: 1 addition & 1 deletion src/wavesurfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export default class WaveSurfer extends util.Observer {
splitChannelsOptions: {
overlay: false,
channelColors: {},
filterChannels: [],
filterChannels: []
},
waveColor: '#999',
xhr: {}
Expand Down

0 comments on commit 50b9535

Please sign in to comment.