eslint-plugin-react-native icon indicating copy to clipboard operation
eslint-plugin-react-native copied to clipboard

React Native plugin for ESLint

Results 91 eslint-plugin-react-native issues
Sort by recently updated
recently updated
newest added

The following code: ``` Some Text ``` Triggers this error: ``` error Raw text Some Text cannot be used outside of a tag react-native/no-raw-text ``` This should not create an...

help wanted

The rule `no-unused-styles` is unable to discriminate between actually unused styles, and an entire StyleSheet object being passed through to a component. In particular, I am using `react-native-htmlview`, which accepts...

I'm getting the following error: > ESLint: 7.25.0 > > TypeError: Cannot read property 'type' of undefined > Occurred while linting root/packages/mobile/src/screens/main/index.tsx:22 > at JSXAttribute (root/node_modules/eslint-plugin-react-native/lib/rules/no-single-element-style-arrays.js:40:35) > at root/node_modules/eslint/lib/linter/safe-emitter.js:45:58 >...

Hi! πŸ‘‹ Firstly, thanks for your work on this project! πŸ™‚ Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. I made this work with https://github.com/wvteijlingen/react-native-themed-styles,...

## The devDependency [mocha](https://github.com/mochajs/mocha) was updated from `5.2.0` to `6.0.0`. This version is **not covered** by your **current version range**. If you don’t accept this pull request, your project will...

greenkeeper

Fixes #254 This is an attempt to add a suggestion for the rule `no-inline-styles`. there are two different ways that the suggestion would act. - if there are no StyleSheet.create...

### Description In `react-native`, `eslint` warns us to avoid `inline-style` in our components but it provides one solution by __disabling the rule.__ However, I'd recommend to add an option that...

**Hi,** **Very great librairy!, i like it** I need your help for the installation! I am following the step for the installation, and at the configurations step i don't know...

Add rules for FlatList 1. Warning for when a FlatList is put as a child inside of a Scrollable component. 2. Suggest memoizing function props for items within a FlatList...

When I memoize a Stylesheet that derives some styles from props or state, the `react-native/no-unused-styles` reports an error although the memoized object is used. > Unused style detected: undefined.box eslint(react-native/no-unused-styles)...