]> git.wincent.com - hextrapolate.git/commitdiff
Drop explicit strict mode
authorGreg Hurrell <greg@hurrell.net>
Tue, 30 May 2017 13:45:32 +0000 (06:45 -0700)
committerGreg Hurrell <greg@hurrell.net>
Tue, 30 May 2017 13:45:32 +0000 (06:45 -0700)
Implied by use of ES6 modules.

13 files changed:
.eslintrc
src/App.js
src/DIGITS.js
src/DynamicField.react.js
src/Field.react.js
src/Label.react.js
src/Size.react.js
src/add.js
src/addDigits.js
src/convert.js
src/getDigits.js
src/joinDigits.js
src/multiplyDigits.js

index 167d121d8b5dd34190d168432a17d532a1c4f0fb..6ed25eee5cbdfa01f5246016d14456d7ed8ff6e3 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -9,10 +9,11 @@
   "rules": {
     // key: 0 = allow, 1 = warn, 2 = error
     "comma-dangle": [0, "always-multiline"],
+    "global-strict": [0],
     "no-process-exit": [0],
     "no-underscore-dangle": [0],
     "no-use-before-define": [0],
     "quotes": [1, "single", "avoid-escape"],
-    "strict": [2, "global"]
+    "strict": [0]
   }
 }
index 3f7ccd6bce537d4cffaec2fae5570d5aa967db20..018be604eba0dcc6cb96f1861ba4786e9d633812 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import DIGITS from './DIGITS';
 import DynamicField from './DynamicField.react';
 import Field from './Field.react';
index 8ed278c926aab24442c8b2660ecf5bbe84c547c3..79a24bee2bbb1be53a49c2076cced5a91f5b2915 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 const DIGITS = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
 
 export default DIGITS;
index 1a0595de58972067609a50d5f702deaa47201955..f24c60524bef9691fc68cab5b3bd0a5bb9dc14d2 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import React from 'react';
 import {
   default as Field,
index bff30b192e19a5bea2c42c9aba47006d28fa41e2..0b6dd200eb91a3bbdcabbf8ec1154c2702f2f5ce 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import DIGITS from './DIGITS';
 import React from 'react';
 import convert from './convert';
index 377a4521a1bf15a10d99f0d2dab1746ff2b4ec06..f2fd3fc68524980b7d7ef76b88821d5c3dff6e70 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import React from 'react';
 
 export default class Label extends React.Component {
index 717d2e934a703bdfdf45eb95680c2a5ee8a116a2..10e97baa11580b657a1ed7c4073c2dd233149178 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import React from 'react';
 import {ValuePropType} from './Field.react';
 import convert from './convert';
index 861a04a5bca8f04ca3e5deae686be4a3939b291c..77473f57587c5de7a9c97b2d44f7329edb4ce207 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import addDigits from './addDigits';
 import getDigits from './getDigits';
 import joinDigits from './joinDigits';
index 0f9765be87738fe8ebd156e1d4d117eab67a3ce0..1d3b1a88ebe72de751df5afce6faa3171f699b90 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 export default function addDigits(
   aDigits: Array<number>,
   bDigits: Array<number>,
index 6b094d4bd9c3bb9c4a43b6c36dd189f0357739e1..14b4562b42d4b7ae1011c20d5776528e7b9290d1 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import addDigits from './addDigits';
 import getDigits from './getDigits';
 import joinDigits from './joinDigits';
index 09a8635f066b0a814afc8e2e923ed597ae161fe8..64a1bc851bbe87fc216b909fa1ede0b333732575 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import DIGITS from './DIGITS';
 
 /**
index 3376a02ff50c9011687591aae3a7cdb6b211029e..1f1ee74d2f738b7f2c1ae8bc529d99c7224d3be4 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import DIGITS from './DIGITS';
 
 function encode(number: string, base: number) {
index e580d6dc1cd66118c3a2aefec0344aa0423adfa7..7554e8127d388827301567aae16adca7988aa979 100644 (file)
@@ -5,8 +5,6 @@
  * @flow
  */
 
-'use strict';
-
 import addDigits from './addDigits';
 
 /**