JS test files should have tabs to correctly lint (#7844)

This commit is contained in:
Evert Timberg 2020-10-04 07:49:14 -04:00 committed by GitHub
parent d332ebc63d
commit df0b79b9cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 82 additions and 82 deletions

View File

@ -1,33 +1,33 @@
module.exports = { module.exports = {
config: { config: {
type: 'doughnut', type: 'doughnut',
data: { data: {
labels: ['A', 'B', 'C', 'D', 'E'], labels: ['A', 'B', 'C', 'D', 'E'],
datasets: [{ datasets: [{
data: [1, 5, 10, 50, 100], data: [1, 5, 10, 50, 100],
backgroundColor: [ backgroundColor: [
'rgba(255, 99, 132, 0.8)', 'rgba(255, 99, 132, 0.8)',
'rgba(54, 162, 235, 0.8)', 'rgba(54, 162, 235, 0.8)',
'rgba(255, 206, 86, 0.8)', 'rgba(255, 206, 86, 0.8)',
'rgba(75, 192, 192, 0.8)', 'rgba(75, 192, 192, 0.8)',
'rgba(153, 102, 255, 0.8)' 'rgba(153, 102, 255, 0.8)'
], ],
borderWidth: 1, borderWidth: 1,
borderColor: [ borderColor: [
'rgb(255, 99, 132)', 'rgb(255, 99, 132)',
'rgb(54, 162, 235)', 'rgb(54, 162, 235)',
'rgb(255, 206, 86)', 'rgb(255, 206, 86)',
'rgb(75, 192, 192)', 'rgb(75, 192, 192)',
'rgb(153, 102, 255)' 'rgb(153, 102, 255)'
], ],
circumference: 180 circumference: 180
}] }]
}, },
options: { options: {
circumference: 57.32, circumference: 57.32,
responsive: false, responsive: false,
legend: false, legend: false,
title: false title: false
} }
} }
} };

View File

@ -1,51 +1,51 @@
module.exports = { module.exports = {
config: { config: {
type: 'doughnut', type: 'doughnut',
data: { data: {
labels: ['A', 'B', 'C', 'D', 'E'], labels: ['A', 'B', 'C', 'D', 'E'],
datasets: [{ datasets: [{
data: [1, 5, 10, 50, 100], data: [1, 5, 10, 50, 100],
backgroundColor: [ backgroundColor: [
'rgba(255, 99, 132, 0.8)', 'rgba(255, 99, 132, 0.8)',
'rgba(54, 162, 235, 0.8)', 'rgba(54, 162, 235, 0.8)',
'rgba(255, 206, 86, 0.8)', 'rgba(255, 206, 86, 0.8)',
'rgba(75, 192, 192, 0.8)', 'rgba(75, 192, 192, 0.8)',
'rgba(153, 102, 255, 0.8)' 'rgba(153, 102, 255, 0.8)'
], ],
borderWidth: 1, borderWidth: 1,
borderColor: [ borderColor: [
'rgb(255, 99, 132)', 'rgb(255, 99, 132)',
'rgb(54, 162, 235)', 'rgb(54, 162, 235)',
'rgb(255, 206, 86)', 'rgb(255, 206, 86)',
'rgb(75, 192, 192)', 'rgb(75, 192, 192)',
'rgb(153, 102, 255)' 'rgb(153, 102, 255)'
], ],
rotation: -90 rotation: -90
}, { }, {
data: [1, 5, 10, 50, 100], data: [1, 5, 10, 50, 100],
backgroundColor: [ backgroundColor: [
'rgba(255, 99, 132, 0.8)', 'rgba(255, 99, 132, 0.8)',
'rgba(54, 162, 235, 0.8)', 'rgba(54, 162, 235, 0.8)',
'rgba(255, 206, 86, 0.8)', 'rgba(255, 206, 86, 0.8)',
'rgba(75, 192, 192, 0.8)', 'rgba(75, 192, 192, 0.8)',
'rgba(153, 102, 255, 0.8)' 'rgba(153, 102, 255, 0.8)'
], ],
borderWidth: 1, borderWidth: 1,
borderColor: [ borderColor: [
'rgb(255, 99, 132)', 'rgb(255, 99, 132)',
'rgb(54, 162, 235)', 'rgb(54, 162, 235)',
'rgb(255, 206, 86)', 'rgb(255, 206, 86)',
'rgb(75, 192, 192)', 'rgb(75, 192, 192)',
'rgb(153, 102, 255)' 'rgb(153, 102, 255)'
], ],
rotation: 0 rotation: 0
}] }]
}, },
options: { options: {
circumference: 180, circumference: 180,
responsive: false, responsive: false,
legend: false, legend: false,
title: false title: false
} }
} }
} };