@samitouri / QOS-React / commits / ea9e1575b7

Suppress lint warnings

Using [] is intentional because we don't want to trigger Babel plugin.

Dan Abramov committed Jan 31, 2017 at 19:30 UTC ea9e1575b72068b618a07c79b3253f72c4f0d878
2 files changed +4
src/isomorphic/classic/types/__tests__/ReactPropTypesProduction-test.js
+2
@@ -19,6 +19,7 @@ describe('ReactPropTypesProduction', function() {
19
20 beforeEach(function() {
21 __DEV__ = false;
22 + // eslint-disable-next-line dot-notation
23 process.env['NODE_ENV'] = 'production';
24
25 jest.resetModules();
@@ -30,6 +31,7 @@ describe('ReactPropTypesProduction', function() {
31
32 afterEach(function() {
33 __DEV__ = true;
34 + // eslint-disable-next-line dot-notation
35 process.env['NODE_ENV'] = 'test';
36 });
37
src/renderers/dom/__tests__/ReactDOMProduction-test.js
+2
@@ -18,6 +18,7 @@ describe('ReactDOMProduction', () => {
18
19 beforeEach(() => {
20 __DEV__ = false;
21 + // eslint-disable-next-line dot-notation
22 process.env['NODE_ENV'] = 'production';
23
24 jest.resetModules();
@@ -27,6 +28,7 @@ describe('ReactDOMProduction', () => {
28
29 afterEach(() => {
30 __DEV__ = true;
31 + // eslint-disable-next-line dot-notation
32 process.env['NODE_ENV'] = 'test';
33 });
34