chore: ESLint Flat Config (#834)

* chore: eslint flat config

* chore: format

* update according to review

* chore: remove prettier config and format

* fix: move handler to script to bypass eslint

* chore: config eslint for lang=js block

* docs: add surrounding empty lines for code block

* chore: also minify css in csp build

* chore: publint
This commit is contained in:
Yue JIN
2025-05-26 11:11:23 +08:00
committed by GitHub
parent eecc4e9405
commit 8be19fe2a5
50 changed files with 1020 additions and 1061 deletions

View File

@@ -10,33 +10,33 @@ export default function getData() {
return {
textStyle: {
fontFamily: 'Inter, "Helvetica Neue", Arial, sans-serif',
fontWeight: 300
fontWeight: 300,
},
title: {
text: "Dual Numeric Axis",
top: "5%",
left: "5%"
left: "5%",
},
legend: {
data: ["line"],
top: "6%"
top: "6%",
},
polar: {
radius: "65%",
center: ["50%", "56%"]
center: ["50%", "56%"],
},
tooltip: {
trigger: "axis",
axisPointer: {
type: "cross"
}
type: "cross",
},
},
angleAxis: {
type: "value",
startAngle: 0
startAngle: 0,
},
radiusAxis: {
min: 0
min: 0,
},
series: [
{
@@ -44,9 +44,9 @@ export default function getData() {
name: "line",
type: "line",
showSymbol: false,
data: data
}
data: data,
},
],
animationDuration: 2000
animationDuration: 2000,
};
}