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

A prettier plugin for ember-template-lint

  • 0.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10K
decreased by-24.84%
Maintainers
1
Weekly downloads
 
Created
Source

ember-template-lint-plugin-prettier 👋

A prettier plugin for ember-template-lint

It runs Prettier as a rule. Then it reports differences as individual ember-template-lint issues.

Install

yarn add -D prettier ember-template-lint-plugin-prettier

Usage

module.exports = {
  extends: 'recommended',

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

  rules: {
    prettier: true,
    'no-abstract-roles': true,
    'no-obsolete-elements': true,
    'no-positive-tabindex': true,
  },
};

TODO

  • Fix eof in prettier: a PR is opened
  • A recommended ember-template-lint rule is conflicting with prettier formatting: self-closing-void-elements. According to this issue, it should find a solution.

I have been using the plugin to lint / format / lint ember-observer. 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 for Prettier.

Keywords

FAQs

Package last updated on 25 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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