cra-template-eslint-airbnb-tailwind
This a template based on Create React App that applies stricter linting, code formatting with Prettier and includes Tailwind CSS.
npx create-react-app my-app --template cra-template-eslint-airbnb-tailwind
will kick 🦵🏾 things off and then checkout that README in your my-app
directory.
Using it?
Release Notes
1.0.0: Initial release
1.0.2: Updated ES Lint rules
1.0.3: Set VS Code to allow Emmet in JSX
1.0.4: Include components
directory in src
@testing-library/user-event@latest
2.0.0: Update @testing-library/user-event@latest
2.1.0: Add ES Lint Rule for eslint-plugin-use-encapsulation. You'll want to check the docs for this and/or tweak or remove it if needed. It's definitely worth strongly considering and not just removing it because you don't 'like' it. It's a great way to enforce encapsulation and keep your code clean and maintainable.
2.2.0 Turn use-encapsulation
rule to just be a warning. :)
2.2.1 Update dependencies