Skip to content

Commit

Permalink
lint warnings cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rnosov committed Feb 19, 2018
1 parent 9843c59 commit db4fe69
Show file tree
Hide file tree
Showing 22 changed files with 3 additions and 23 deletions.
3 changes: 1 addition & 2 deletions src/Reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, string, number, object, oneOf, oneOfType } from 'prop-types';
import { defaults } from './lib/globals';
import wrap from '../lib/wrap';
import wrap from './lib/wrap';
import Fade from './in-and-out/Fade';

const
Expand Down
2 changes: 1 addition & 1 deletion src/RevealBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import React from 'react';
import { string, object, number, bool, func, any, oneOfType, oneOf, instanceOf, shape, element } from 'prop-types';
import { string, object, number, bool, func, oneOfType, oneOf, shape, element } from 'prop-types';
import { namespace, ssr, disableSsr, globalHide, cascade, collapseend, fadeOutEnabled } from './lib/globals';
//import Step from './lib/Step';
import throttle from './lib/throttle';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Bounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Fade.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number, string } from 'prop-types';
import { animation, defaults } from '../lib/globals';
import wrap from '../lib/wrap';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Flip.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/LightSpeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import wrap from '../lib/wrap';
import { bool, number } from 'prop-types';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Roll.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import wrap from '../lib/wrap';
import { bool, number } from 'prop-types';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Rotate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/in-and-out/Zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import {version} from 'react';
//import {version} from 'react';

export const namespace = 'react-reveal';//, is16 = parseInt(version, 10) >= 16;
export const defaults = { duration: 1000, delay: 0, count: 1, };
Expand Down
1 change: 0 additions & 1 deletion src/simple/Flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/HeadShake.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Jello.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Jump.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Pulse.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/RubberBand.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Shake.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Spin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Swing.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Tada.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down
1 change: 0 additions & 1 deletion src/simple/Wobble.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* LICENSE.txt file in the root directory of this source tree.
*/

import React from 'react';
import { bool, number } from 'prop-types';
import wrap from '../lib/wrap';
import { animation, defaults } from '../lib/globals';
Expand Down

0 comments on commit db4fe69

Please sign in to comment.