ESLint can not find the rule react/no-this-in-sfc.
'
...
rules: {
'react/no-this-in-sfc': 2
}
...
Windows 10, node v.8.9.3, eslint-plugin-react v. 7.5.1, ESLint v.3.19.0 & babel-eslint 8.0.3.
It鈥檚 not yet released. Check the docs in the v7.5.1 tag to see what is released.
Ok, that explains it. It is true that there is nothing about no-this-in-sfc in the changelog. Perhaps there should be also a note in the no-this-in-sfc -docs or at the frontpage listing? :)
I suppose we could add a note; but the assumption that a repo's master branch is always released is just false, almost every single time, so this really just has to be something people already know.
Oh now I see! You can actually change the version of the README.md. I always thought the "frontpage" would mirror the latest release. Sorry, I am just learning GitHub. And thanks for the clarification.
Most helpful comment
Oh now I see! You can actually change the version of the README.md. I always thought the "frontpage" would mirror the latest release. Sorry, I am just learning GitHub. And thanks for the clarification.