UNPKG

prettier-plugin-astro-attributes

Version:

A Prettier plugin that automatically sorts HTML attributes alphabetically in .astro files for consistent code formatting.

72 lines (71 loc) 2.02 kB
{ "author": "mlane", "bugs": { "url": "https://github.com/mlane/prettier-plugin-astro-attributes/issues" }, "description": "A Prettier plugin that automatically sorts HTML attributes alphabetically in .astro files for consistent code formatting.", "devDependencies": { "@eslint/js": "^9.23.0", "@typescript-eslint/parser": "^8.28.0", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.5", "eslint-plugin-sort-keys-fix": "^1.1.2", "prettier": "^3.5.3", "prettier-plugin-astro": "^0.14.1", "prettier-plugin-organize-attributes": "^1.0.0", "prettier-plugin-organize-imports": "^4.1.0", "prettier-plugin-sort-json": "^4.1.1", "typescript": "^5.8.2", "typescript-eslint": "^8.28.0", "vitest": "^3.0.9" }, "homepage": "https://github.com/mlane/prettier-plugin-astro-attributes#readme", "keywords": [ "astro", "astro-formatting", "attribute-sorting", "automated-formatting", "code-formatting", "frontend-tools", "javascript-tools", "html-attribute-sorting", "prettier", "prettier-plugin", "open-source", "web-development-tools" ], "license": "MIT", "main": "dist/index.js", "name": "prettier-plugin-astro-attributes", "peerDependencies": { "prettier": "^3.5.3", "prettier-plugin-astro": "^0.14.1" }, "peerDependenciesMeta": { "prettier-plugin-astro": { "optional": false } }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/mlane/prettier-plugin-astro-attributes.git" }, "scripts": { "build": "tsc", "format": "prettier --write .", "lint": "eslint 'src/*.ts'", "lint:fix": "eslint 'src/*.ts' --fix", "prepare": "npm run lint && npm run format", "publish-package": "npm publish --access public", "test": "vitest run" }, "type": "module", "version": "1.0.1", "dependencies": { "@vitest/ui": "^3.0.9" } }