New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-template-lint-plugin-prettier

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-lint-plugin-prettier - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

prettier.js

14

package.json
{
"name": "ember-template-lint-plugin-prettier",
"version": "0.0.5",
"version": "0.0.6",
"description": "A prettier plugin for ember-template-lint",

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

"files": [
"index.js"
"prettier.js"
],
"main": "index.js",
"main": "prettier.js",
"scripts": {

@@ -21,3 +21,3 @@ "changelog": "lerna-changelog",

"lint:md": "prettylint ./*.md",
"test": "jest",
"test": "mocha --recursive",
"format": "yarn prettier '**/*.{hbs,js,json,md,yml}' --write"

@@ -34,10 +34,10 @@ },

"devDependencies": {
"ember-template-lint": "^1.3.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-jest": "^22.7.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"jest": "^24.8.0",
"jest-watch-typeahead": "^0.3.1",
"lerna-changelog": "^0.8.2",
"mocha": "^6.1.4",
"prettier": "^1.18.2",
"prettylint": "^1.0.0"

@@ -44,0 +44,0 @@ },

@@ -19,3 +19,3 @@ # ember-template-lint-plugin-prettier 👋

plugins: ['ember-template-lint-plugin-prettier'],
plugins: ['prettier'],

@@ -30,1 +30,12 @@ rules: {

```
## TODO
- Fix eof in prettier: [a PR is opened](https://github.com/prettier/prettier/pull/6243)
- A recommended ember-template-lint rule is conflicting with prettier formatting: `self-closing-void-elements`. [According to this issue](https://github.com/ember-template-lint/ember-template-lint/issues/691), it should find a solution.
I have been using the plugin to lint / format / lint [ember-observer](https://www.emberobserver.com/). I don't have additional issues. But this list could probably be appeneded if we were formatting against an other code base!
## Credits
This plugin has been inspired by [the eslint plugin](https://github.com/prettier/eslint-plugin-prettier) for Prettier.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc