All Projects â†’ Idered â†’ eslint-plugin-tailwind

Idered / eslint-plugin-tailwind

Licence: MIT license
ESLint rules for Tailwind CSS

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
typescript
32286 projects

Projects that are alternatives of or similar to eslint-plugin-tailwind

tailwind-ui-components
Free Tailwind CSS UI Components - Crafted for modern websites, landing pages and web apps. TailGrids Core is free and open-source so, feel free to use with your personal or commercial projects. If you would like to show your support and love, don't forget to give us a star 🌟
Stars: ✭ 49 (-49.48%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
vuejs-tailwindcss-portfolio
A simple multipage and responsive Vue.js & Tailwind CSS portfolio theme with dark mode.
Stars: ✭ 100 (+3.09%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
tailwindcss-postcss-browsersync-boilerplate
Tailwind CSS + PostCSS + BrowserSync boilerplate
Stars: ✭ 28 (-71.13%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
tailwind-color-alpha
Automatic alpha variants for your Tailwind CSS colors based on your opacity config
Stars: ✭ 21 (-78.35%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
Twin.macro
đŸŠč‍♂ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time.
Stars: ✭ 5,137 (+5195.88%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
cra-tailwindcss
Integrate Tailwind CSS in a Create React App setup
Stars: ✭ 105 (+8.25%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
memento-svelte-electron-typescript
Template to create a desktop app with Svelte, TailwindCSS, Electron and TypeScript (with electron-updater, electron-reload and electron-builder)
Stars: ✭ 27 (-72.16%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
Next-JS-Landing-Page-Starter-Template
🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript âšĄïž Made with developer experience first: Next.js 12 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
Stars: ✭ 521 (+437.11%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
vite-react-ts-tailwind-firebase-starter
Starter using Vite + React + TypeScript + Tailwind CSS. And already set up Firebase(v9), Prettier and ESLint.
Stars: ✭ 108 (+11.34%)
Mutual labels:  eslint, tailwind, tailwindcss
material-tailwind
@material-tailwind is an easy-to-use components library for Tailwind CSS and Material Design.
Stars: ✭ 861 (+787.63%)
Mutual labels:  tailwind, tailwindcss, tailwind-css
next-tailwind-motion
A simple Next.js starter kit with TailwindCSS (JIT) and Framer Motion preconfigured. Optional feature branches for Locomotive Scroll, Sanity and Dato configuration coming soon...
Stars: ✭ 40 (-58.76%)
Mutual labels:  tailwind, tailwindcss
shopify-foundation-theme
Modern Shopify theme using Shopify Theme Lab, Liquid, Vue and Tailwind CSS 🎹
Stars: ✭ 195 (+101.03%)
Mutual labels:  tailwind, tailwindcss
kickstart
Ruby on Rails application templates
Stars: ✭ 61 (-37.11%)
Mutual labels:  tailwind, tailwindcss
XT-Tailwind-for-Joomla
XT Tailwind for Joomla. My Blog template, based on Tailwind CSS.
Stars: ✭ 15 (-84.54%)
Mutual labels:  tailwindcss, tailwind-css
svelte-tailwind-snowpack
TailwindCSS with Svelte and Snowpack v3
Stars: ✭ 100 (+3.09%)
Mutual labels:  tailwind, tailwindcss
react-simple-boilerplate
Simple React Boilerplate with Webpack, Github Actions, Scss, Lazy Loading etc....
Stars: ✭ 38 (-60.82%)
Mutual labels:  eslint, tailwindcss
tailwind-react-next.js-typescript-eslint-jest-starter
Starter template for building a project using React, Typescript, Next.js, Jest, TailwindCSS and ESLint.
Stars: ✭ 80 (-17.53%)
Mutual labels:  eslint, tailwindcss
taro-plugin-tailwind
Taro æŽ„ć…„ windicss / tailwindcss 插件
Stars: ✭ 78 (-19.59%)
Mutual labels:  tailwind, tailwindcss
reactjs-vite-tailwindcss-boilerplate
ReactJS + Vite boilerplate to be used with Tailwindcss.
Stars: ✭ 103 (+6.19%)
Mutual labels:  eslint, tailwindcss
awesome-vue-boilerplate
😍 Awesome Vue Boilerplate đŸ„ł Vue đŸ„° Vuex, vuex-pathify đŸ€— element-ui đŸ€Č tailwindcss
Stars: ✭ 60 (-38.14%)
Mutual labels:  eslint, tailwindcss

eslint-plugin-tailwind

npm (scoped) npm bundle size (scoped)

ESLint rules for Tailwind CSS

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-tailwind:

$ npm install eslint-plugin-tailwind --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-tailwind globally.

Usage

Extend your ESLint config with tailwind config:

{
  "extends": ["plugin:tailwind/recommended"]
}

Supported Rules

Supported languages and file extensions

  • HTML - html
  • React - js, jsx, tsx

VS Code integration

See /example/.vscode directory for recommended project settings.

Roadmap

  • Handle responsive prefixes - sm, md etc.
  • Handle pseudo classes - hover, active etc.
  • Add support for Vue
  • Add support for Svelte
  • Add support for Angular
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].