Skip to content

Commit 3dd02e4

Browse files
committed
disabled camel case rule
1 parent f26bb14 commit 3dd02e4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlotLegend.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
ChartThreshold,
88
createContainer
99
} from '@patternfly/react-charts/victory';
10-
import chartColorOrange300 from '@patternfly/react-tokens/dist/esm/chart_color_orange_300';
10+
// eslint-disable-next-line camelcase
11+
import chart_color_orange_300 from '@patternfly/react-tokens/dist/esm/chart_color_orange_300';
1112

1213
interface Data {
1314
name: string;
@@ -35,7 +36,8 @@ export const ChartBoxPlotLegend: React.FunctionComponent = () => {
3536
{
3637
childName: 'limit',
3738
name: 'Limit',
38-
symbol: { fill: chartColorOrange300.var, type: 'threshold' }
39+
// eslint-disable-next-line camelcase
40+
symbol: { fill: chart_color_orange_300.var, type: 'threshold' }
3941
},
4042
{ childName: 'cats', name: 'Cats' },
4143
// Force extra space below for line wrapping
@@ -95,7 +97,8 @@ export const ChartBoxPlotLegend: React.FunctionComponent = () => {
9597
name="limit"
9698
style={{
9799
data: {
98-
stroke: chartColorOrange300.var
100+
// eslint-disable-next-line camelcase
101+
stroke: chart_color_orange_300.var
99102
}
100103
}}
101104
/>

0 commit comments

Comments
 (0)