ember-template-lint-plugin-prettier
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"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. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17682
40
108
1