Skip to content

Commit

Permalink
RN: Permit Inline Styles in Tests
Browse files Browse the repository at this point in the history
Summary:
Configures ESLint in React Native to permit inline styles in tests. Because, why not.

Changelog:
[Internal]

Reviewed By: TheSavior

Differential Revision: D18290625

fbshipit-source-id: 111c7fd2972179536487b94bd7b14f34167ea8c7
  • Loading branch information
yungsters authored and facebook-github-bot committed Nov 4, 2019
1 parent e22946c commit 03f5951
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/eslint-config-react-native-community/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ module.exports = {
jest: true,
'jest/globals': true,
},
rules: {
'react-native/no-inline-styles': 0,
},
},
],

Expand Down

0 comments on commit 03f5951

Please sign in to comment.