Krister Kari
Krister Kari
Thanks! That's great, I'll think about it. Maybe some kind of directory of rules with a search to migrate the rules from this repo?
Probably yes. There are some cases that the plugin can not catch because it does not have the info about the elements that the CSS is applied to.
@arvigeus There is already a rule that does that: https://github.com/kristerkari/stylelint-react-native/blob/master/src/rules/css-property-no-unknown/README.md#css-property-no-unknown This idea was for checking valid **values** for those properties.
@jason1985 No worries. Honestly, I don't see much point to add linting for the example that you gave, since it can be easily avoided if you use Typescript and add...
@jason1985 yes, that's good way to do it. Just assign the style object the `ViewStyle`, `TextStyle`, etc. depending on which element the styles get applied to 👍
@ekateriinal thanks! It would also be nice to get some unit tests for these new properties.
@certainlyakey Thanks for reporting this! Would you be able to contribute a fix for it?
Fixed in #82, releasing a new version soon.
Using percentages with `border-radius` works in the browser, but not in React Native: Only works in the browser: ```css border-radius: 50%; ``` Works in the browser and React Native: ```css...
@yulrosy these changes need unit tests. Could you please add at least a couple of tests that verify that the changes are working?