Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6c21f15

Browse files
Simekfacebook-github-bot
authored andcommittedOct 27, 2020
Lint: fix few "no-unused-var" warnings for imports (#30157)
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
1 parent f1f9cef commit 6c21f15

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed
 

‎.eslintignore

-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ Libraries/vendor/**/*
88
node_modules/
99
packages/*/node_modules
1010
packages/react-native-codegen/lib
11-
pr-inactivity-bookmarklet.js
12-
question-bookmarklet.js

‎Libraries/Animated/createAnimatedComponent.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
'use strict';
1212

1313
const View = require('../Components/View/View');
14-
const Platform = require('../Utilities/Platform');
1514
const {AnimatedEvent} = require('./AnimatedEvent');
1615
const AnimatedProps = require('./nodes/AnimatedProps');
1716
const React = require('react');

‎Libraries/Components/Touchable/Touchable.js

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const BoundingDimensions = require('./BoundingDimensions');
1414
const Platform = require('../../Utilities/Platform');
1515
const Position = require('./Position');
1616
const React = require('react');
17-
const ReactNative = require('../../Renderer/shims/ReactNative');
1817
const StyleSheet = require('../../StyleSheet/StyleSheet');
1918
const UIManager = require('../../ReactNative/UIManager');
2019
const View = require('../View/View');

‎Libraries/Components/Touchable/TouchableWithoutFeedback.js

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import type {
2828
LayoutEvent,
2929
PressEvent,
3030
} from '../../Types/CoreEventTypes';
31-
import Platform from '../../Utilities/Platform';
3231
import View from '../../Components/View/View';
3332
import * as React from 'react';
3433

0 commit comments

Comments
 (0)
Please sign in to comment.