react-bits
react-bits copied to clipboard
Linter
I just read a few examples, but many of them look a bit too esoteric, and for instance they don't pass a "standard" linter (e.g. the classic eslint+airbnb). One for all, nesting ternary operators.
I think in general this could improve a ton if the "wrong examples" wouldn't be abstract, but concrete/real world enough, and in general not things that a linter would catch already. (Not trying to be overly critic, love this kind of works.)
About linting - right now the suggested create-react-app
linting/formatting is through basic 'react-app' ESLint + Prettier
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#displaying-lint-output-in-the-editor