Skip to content

Commit 5c7e54c

Browse files
committed
[workflow/test] Updated sonar config
1 parent 50708f0 commit 5c7e54c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sonar.organization=material-elements
33

44
sonar.sources=src
55

6-
sonar.exclusions=**/node_modules/**, **/*.test.ts, **/*.spec.ts, **/__test__/**, **/examples/**
6+
sonar.exclusions=**/node_modules/**, **/*.test.ts, **/*.spec.ts, **/__test__/**, **/examples/**, **/**.styles.ts
77

88
sonar.javascript.file.suffixes=.js,.jsx
99
sonar.typescript.file.suffixes=.ts,.tsx

src/packages/react-native-material-elements/src/components/Progress/Progress.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const ProgressBar = React.forwardRef<View, ProgressBarProps>(
120120
const startAnimation = useCallback(() => {
121121
if (indeterminate) {
122122
if (!indeterminateAnimation.current) {
123-
indeterminateAnimation.current = Animated.timing(animatedWidth, {
123+
indeterminateAnimation.current ??= Animated.timing(animatedWidth, {
124124
duration: INDETERMINATE_DURATION,
125125
toValue: 1,
126126
useNativeDriver: true,

src/packages/react-native-material-elements/src/components/TextField/TextField.style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
INPUT_SMALL_HEIGHT,
99
TRANSLATE_Y_ANIMATED_DEFAULT_POSITION,
1010
} from './constants';
11+
import { GetIconInputStyles } from './IconInput';
1112
import {
1213
BaseInputStylesProps,
1314
LabelTextStylesProps,
@@ -17,7 +18,6 @@ import {
1718
TextInputStylesProps,
1819
} from './Input.types';
1920
import { GetOtpInputStylesParams } from './OtpInput';
20-
import { GetIconInputStyles } from './IconInput';
2121

2222
const baseInputDefaultStyles: ViewStyle = {
2323
position: 'relative',

0 commit comments

Comments
 (0)