Skip to content

Commit

Permalink
feat: use first class class sorter
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSuperDev authored and theodorusclarence committed Jan 25, 2022
1 parent 2281aba commit 964c0c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5,326 deletions.
4 changes: 0 additions & 4 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ module.exports = {
jsxSingleQuote: true,
tabWidth: 2,
semi: true,
sortClassNamesUnknownClassesSeparator: '',
sortClassNamesPrefixes:
'xs:,sm:,md:,lg:,xl:,2xl:,dark:,motion-safe:,motion-reduce:,first:,last:,odd:,even:,visited:,checked:,group-hover:,group-focus:,focus-within:,hover:,focus:,focus-visible:,active:,disabled:',
sortClassNamesSortFunctions: 'clsx,classNames,cx,clsxm',
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"next-sitemap": "^1.9.12",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"prettier-plugin-sort-class-names": "^3.0.1",
"prettier-plugin-tailwindcss": "^0.1.3",
"react-test-renderer": "^17.0.2",
"standard-version": "^9.3.2",
"tailwindcss": "^3.0.15",
Expand Down
Loading

0 comments on commit 964c0c5

Please sign in to comment.