mirror of https://github.com/atom/atom.git
Fix lint error
This commit is contained in:
parent
6eff118c52
commit
03c3730b78
|
@ -38,7 +38,8 @@ module.exports = async ({test, benchmarkPaths}) => {
|
|||
if (data.points.length > 1) {
|
||||
const canvas = document.createElement('canvas')
|
||||
benchmarkContainer.appendChild(canvas)
|
||||
const chart = new Chart(canvas, {
|
||||
// eslint-disable-next-line no-new
|
||||
new Chart(canvas, {
|
||||
type: 'line',
|
||||
data: {
|
||||
datasets: [{label: key, fill: false, data: data.points}]
|
||||
|
|
Loading…
Reference in New Issue