Uses Prettier to format js of focused
Prettier JS Extension
Triggered either by pressing `Ctrl + Shift + F` or by pressing its Browser Action icon.
Idea courtesy of @sebmarkbage (https://twitter.com/sebmarkbage/status/843866641515536384).
Read more
Idea courtesy of @sebmarkbage (https://twitter.com/sebmarkbage/status/843866641515536384).
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Prettier JS", "version": "0.0.3", "manifest_version": 2, "description": "Uses Prettier to format js of focused "homepage_url": "https://github.com/krawaller/prettier-js-extension", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "background": { "scripts": [ "background.js" ], "persistent": false }, "browser_action": { "default_icon": { "19": "icons/icon19.png", "38": "icons/icon76.png" }, "default_title": "Prettier JS" }, "permissions": [ "activeTab" ], "commands": { "prettier": { "suggested_key": { "default": "Ctrl+Shift+F", "mac": "MacCtrl+Shift+F" }, "description": "Prettier" } }, "web_accessible_resources": [ "prettier.min.js", "prettierify.js" ]}
Read more