croraf/orderme

Eslint Setup

Closed this issue · 1 comments

Eslint in its current configuration complains a lot about not having prop types defined on most all the components in the frontend. I had started to work on a rather large number of changes to try to address this the other night, but was wondering if would rather just turn the rule off in the eslint config if they are not going to be used.

{
    "rules": {
        "react/prop-types": "off"
    }
}

https://github.com/jnmorse/orderme/tree/linting-fixes

Indeed. This is a good idea to temporarily turn them off. I plan to use them later, but probably in the meantime this is a way to go.