Skip to content

Commit

Permalink
Lint: fix few "no-unused-var" warnings for imports (#30157)
Browse files Browse the repository at this point in the history
Summary:
This small PR fixes few "no-unused-var" issues and  and removes two old entries for no longer existing files from the `.eslintignore`.

## Changelog

[Internal] [Fixed] - Lint: fix few "no-unused-var" warnings for imports

Pull Request resolved: #30157

Test Plan: Successfully run of `yarn lint` script. Warnings count has been reduced from `61` to `58`.

Reviewed By: yungsters

Differential Revision: D24288226

Pulled By: appden

fbshipit-source-id: 06e4ef015a331e3f2eac3b9aa6f757a3764e3ed9
  • Loading branch information
Simek authored and facebook-github-bot committed Oct 27, 2020
1 parent f1f9cef commit 6c21f15
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Expand Up @@ -8,5 +8,3 @@ Libraries/vendor/**/*
node_modules/
packages/*/node_modules
packages/react-native-codegen/lib
pr-inactivity-bookmarklet.js
question-bookmarklet.js
1 change: 0 additions & 1 deletion Libraries/Animated/createAnimatedComponent.js
Expand Up @@ -11,7 +11,6 @@
'use strict';

const View = require('../Components/View/View');
const Platform = require('../Utilities/Platform');
const {AnimatedEvent} = require('./AnimatedEvent');
const AnimatedProps = require('./nodes/AnimatedProps');
const React = require('react');
Expand Down
1 change: 0 additions & 1 deletion Libraries/Components/Touchable/Touchable.js
Expand Up @@ -14,7 +14,6 @@ const BoundingDimensions = require('./BoundingDimensions');
const Platform = require('../../Utilities/Platform');
const Position = require('./Position');
const React = require('react');
const ReactNative = require('../../Renderer/shims/ReactNative');
const StyleSheet = require('../../StyleSheet/StyleSheet');
const UIManager = require('../../ReactNative/UIManager');
const View = require('../View/View');
Expand Down
1 change: 0 additions & 1 deletion Libraries/Components/Touchable/TouchableWithoutFeedback.js
Expand Up @@ -28,7 +28,6 @@ import type {
LayoutEvent,
PressEvent,
} from '../../Types/CoreEventTypes';
import Platform from '../../Utilities/Platform';
import View from '../../Components/View/View';
import * as React from 'react';

Expand Down

0 comments on commit 6c21f15

Please sign in to comment.