Skip to content

Commit 6bd72b8

Browse files
author
Artur Bien
committed
fix(many): fix eslint issues and warnings
1 parent 0d4f3f0 commit 6bd72b8

File tree

9 files changed

+9
-3
lines changed

9 files changed

+9
-3
lines changed

example/src/examples/AppBarExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { View } from 'react-native';
3-
import { AppBar, Text, Button } from 'react95-native';
3+
import { AppBar } from 'react95-native';
44

55
const AppBarExample = () => {
66
return (

example/src/examples/ButtonExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React from 'react';
23
import { Button, Panel } from 'react95-native';
34

example/src/examples/CheckboxExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React, { useState } from 'react';
23
import { StyleSheet } from 'react-native';
34
import { Checkbox, Panel, Fieldset } from 'react95-native';

example/src/examples/ListExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React from 'react';
23
import { View } from 'react-native';
34
import { Panel, List, Hourglass, Cutout } from 'react95-native';

example/src/examples/MenuExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React from 'react';
23
import { Menu, Divider } from 'react95-native';
34

example/src/examples/RadioExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React, { useState } from 'react';
23
import { StyleSheet } from 'react-native';
34
import { Radio, Panel, Fieldset } from 'react95-native';

example/src/examples/WindowExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React from 'react';
23
import { View } from 'react-native';
34
import { Window, Text } from 'react95-native';

src/Hourglass/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default } from './Hourglass.tsx';
1+
export { default } from './Hourglass';

src/common/styleElements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const Border = ({
3939
inner = [border.cutoutInner];
4040
}
4141

42-
const getSharedStyles = (function () {
42+
const getSharedStyles = (() => {
4343
let r = radius + 4;
4444

4545
return () => {

0 commit comments

Comments
 (0)