Skip to content

Commit 31a4c28

Browse files
authored
chore(chart bar): convert to typescript (#11727)
* chore(chart bar): convert to typescript * added example - Purple with bottom aligned legend * added examples - multi color and single * added alerts timeline example * disable eslint camelcase * renamed files and functions * updated the eslint config * fix lint issue
1 parent b9a8488 commit 31a4c28

File tree

7 files changed

+473
-407
lines changed

7 files changed

+473
-407
lines changed

eslint.config.mjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ export default [
8686
camelcase: [
8787
'error',
8888
{
89-
ignoreDestructuring: true
89+
ignoreDestructuring: true,
90+
allow: ['^t_[global|chart]', '^chart_']
91+
// TODO: Remove 'chart_' from the allowed patterns after updating all chart examples to use the 't_chart_' format
9092
}
9193
],
9294
'constructor-super': 'error',

0 commit comments

Comments
 (0)