Skip to content

Commit a9ec851

Browse files
author
Maël Lavault
committed
fix: linting
1 parent a7bd964 commit a9ec851

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

example/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {AppRegistry} from 'react-native';
1+
import { AppRegistry } from 'react-native';
22
import App from './src/App';
33

44
AppRegistry.registerComponent('main', () => App);

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function App() {
3232
-1,
3333
true
3434
);
35-
}, []);
35+
}, [animatedHeight, animatedWidth]);
3636

3737
const animatedStyle = useAnimatedStyle(() => ({
3838
width: `${animatedWidth.value}%`,

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
},
102102
"eslintIgnore": [
103103
"node_modules/",
104-
"lib/"
104+
"lib/",
105+
"coverage/"
105106
],
106107
"prettier": {
107108
"quoteProps": "consistent",

src/ShadowedView.android.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import React from 'react';
22
import {
33
I18nManager,
4-
StyleProp,
54
StyleSheet,
5+
StyleProp, // eslint-disable-line @typescript-eslint/no-unused-vars
66
ViewProps,
7-
ViewStyle,
7+
ViewStyle, // eslint-disable-line @typescript-eslint/no-unused-vars
88
} from 'react-native';
9+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
910
import { FastShadowView, FastShadowViewProps } from './FastShadowView';
1011

1112
export class ShadowedView extends React.Component<ViewProps> {

src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
12
import { ColorValue, Platform, ViewStyle } from 'react-native';
23

34
export type ShadowParams = {

0 commit comments

Comments
 (0)