mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
* Prettier all the JS files * Add GitHub Action to autoformat code pushed to master * Fix eslint violation due to formatting. * Remove GitHub actions for styling * Add restyled.io config
13 lines
267 B
JavaScript
13 lines
267 B
JavaScript
const DEFAULT_OPTIONS = {
|
|
timeInterval: "daily",
|
|
mode: "diagonal",
|
|
dateColumn: "date",
|
|
stageColumn: "day_number",
|
|
totalColumn: "total",
|
|
valueColumn: "value",
|
|
};
|
|
|
|
export default function getOptions(options) {
|
|
return { ...DEFAULT_OPTIONS, ...options };
|
|
}
|