You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

prettier-plugin-templ-script

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-templ-script - npm Package Compare versions

Comparing version

to
0.3.1

2

package.json
{
"name": "prettier-plugin-templ-script",
"version": "0.3.0",
"version": "0.3.1",
"description": "Prettier plugin for .templ files with script element and class attribute formatting.",

@@ -5,0 +5,0 @@ "keywords": [

# prettier-plugin-templ-script
> Prettier plugin for `<script>` elements in templ.
> Prettier plugin for .templ files with script element and class attribute formatting.
**Note:** This cannot work with nested `<script>` elements.
**Note: This cannot work with nested script elements.**
## Features
- Formats JavaScript in script elements (defaults to tabs for Go convention consistency)
- Formats class attributes in all elements (compatible with [Tailwind's Prettier plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss))
## Install

@@ -8,0 +13,0 @@

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.