react-native-web-starter
react-native-web-starter copied to clipboard
[WIP] React lint WIP - DO NOT MERGE
Note that this WIP PR includes the changes I proposed in PR #17.
This is a trick to use eslint-config-standard-jsx
without eslint-config-standard
to get some very basic React code linting.
This PR includes an additional change to require the logo image exactly once at the beginning of the module, which should be both cleaner and slightly more efficient.
The motivation is that eslint-plugin-react
needs some extra configuration to get plugin:react/recommended
working and eslint-config-react
seems to be pretty badly outdated.
I am planning to make a new, cleaner eslint-config package in the near future, would like to finish some higher-priority tasks first.
ref: #19 - very basic linting