mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Turn off no-inline-styles lint internally
Summary: no-inline-styles is a false positive more often than not because it fires even when compositing dynamic styles which must be done inline. It's not that big a deal anyway so I'm just turning it off to reduce noise on diffs. Also removes all existing supressions. Reviewed By: yungsters Differential Revision: D15457771 fbshipit-source-id: 44fbd058834e70966b71fbe4eb7af40d6f3a0a57
This commit is contained in:
committed by
Facebook Github Bot
parent
9fb31d1538
commit
f80a1c2146
@@ -8,12 +8,10 @@
|
||||
* @flow
|
||||
*/
|
||||
|
||||
/* eslint-disable react-native/no-inline-styles */
|
||||
|
||||
'use strict';
|
||||
|
||||
const React = require('react');
|
||||
const {Image, StyleSheet, Text, View} = require('react-native');
|
||||
const {StyleSheet, Text, View} = require('react-native');
|
||||
const RNTesterBlock = require('./RNTesterBlock');
|
||||
const RNTesterPage = require('./RNTesterPage');
|
||||
const TextInlineView = require('./Shared/TextInlineView');
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
/* eslint-disable react-native/no-inline-styles */
|
||||
|
||||
const React = require('react');
|
||||
const {
|
||||
StyleSheet,
|
||||
|
||||
Reference in New Issue
Block a user