Skip to content

Conversation

@brody4hire
Copy link

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

NOTE that this has a trick to use eslint-config-standard-jsx
to quickly get a very basic working set of eslint
rules working with React that is up-to-date.

TODO: we need a new eslint config package that is designed to
gives us the basic set of working eslint rules
without using this kind of a trick.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant