{"library":"prettier-plugin-nativewind","title":"prettier-plugin-nativewind","description":"A deprecated Prettier plugin for sorting Tailwind CSS classes in NativeWind projects. Version 0.2.3 is the final release. This fork added support for custom props, function calls, and tagged template literals beyond what upstream prettier-plugin-tailwindcss offered. However, as of prettier-plugin-tailwindcss v0.3.0 and later, all these features are natively supported, making this plugin obsolete. Users should migrate to the official plugin. No further updates are planned.","language":"javascript","status":"deprecated","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-nativewind"],"cli":null},"imports":["Add to prettier config as a plugin: module.exports = { plugins: ['prettier-plugin-nativewind'] }"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// prettier.config.js\nmodule.exports = {\n  plugins: ['prettier-plugin-nativewind'],\n  tailwindCustomProps: ['className', 'containerClassName'],\n  tailwindCustomFunctions: ['cva'],\n  tailwindCustomTaggedTemplates: ['tw']\n};\n\n// Input\nconst el = <div className=\"px-4 py-2 bg-blue-500 text-white\"></div>;\n\n// Output (sorted)\nconst el = <div className=\"bg-blue-500 px-4 py-2 text-white\"></div>;","lang":"javascript","description":"Shows how to configure the plugin with custom props and function calls, and demonstrates class sorting.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}