diff --git a/.eslintrc.js b/.eslintrc.js index dbd8121..0e188f0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,6 +9,7 @@ module.exports = { "react-app/jest", "plugin:@typescript-eslint/recommended", "plugin:storybook/recommended", + "plugin:tailwindcss/recommended", ], parserOptions: { babelOptions: { @@ -32,6 +33,7 @@ module.exports = { ignoreDeclarationSort: true, }, ], + "tailwindcss/classnames-order": "off", "import/order": [ 1, { diff --git a/package.json b/package.json index d1615aa..c3a875f 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-react": "7.32.2", "eslint-plugin-storybook": "^0.6.11", + "eslint-plugin-tailwindcss": "^3.12.1", "fetch-mock": "^9.11.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", diff --git a/yarn.lock b/yarn.lock index 5d69424..5bdbd97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8543,6 +8543,14 @@ eslint-plugin-storybook@^0.6.11: requireindex "^1.1.0" ts-dedent "^2.2.0" +eslint-plugin-tailwindcss@^3.12.1: + version "3.12.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.12.1.tgz#ab7fc554b97872208460aac6921f391683c992f1" + integrity sha512-LyIRV0rx6prTpJZsSCXSNJ34Yry3Nj9OJwvzh1xTsiG6+UCnAPW1Bx41s7vZzUDKMlwFgpUN9Me+NK12T4DHYg== + dependencies: + fast-glob "^3.2.5" + postcss "^8.4.4" + eslint-plugin-testing-library@^5.0.1: version "5.11.0" resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-5.11.0.tgz#0bad7668e216e20dd12f8c3652ca353009163121" @@ -8831,7 +8839,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.9: +fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.5, fast-glob@^3.2.9: version "3.2.12" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== @@ -13656,7 +13664,7 @@ postcss@8.4.14: picocolors "^1.0.0" source-map-js "^1.0.2" -postcss@^8.2.14, postcss@^8.4.21, postcss@^8.4.23: +postcss@^8.2.14, postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.4: version "8.4.24" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.24.tgz#f714dba9b2284be3cc07dbd2fc57ee4dc972d2df" integrity sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==