ember-template-lint-plugin-prettier
Advanced tools
Comparing version 1.1.0-beta.0 to 1.1.0
# CHANGELOG | ||
## v1.1.0 (2019-11-27) | ||
#### :rocket: Enhancement | ||
* [#52](https://github.com/ember-template-lint/ember-template-lint-plugin-prettier/pull/52) Add a recommended set of rules ([@dcyriller](https://github.com/dcyriller)) | ||
#### Committers: 1 | ||
- Cyrille David ([@dcyriller](https://github.com/dcyriller)) | ||
## v1.1.0-beta.0 (2019-11-24) | ||
#### :house: Internal | ||
* [#51](https://github.com/ember-template-lint/ember-template-lint-plugin-prettier/pull/51) Upgrade prettier devDependency ([@dcyriller](https://github.com/dcyriller)) | ||
* [#50](https://github.com/ember-template-lint/ember-template-lint-plugin-prettier/pull/50) Remove markdown linting ([@dcyriller](https://github.com/dcyriller)) | ||
#### Committers: 1 | ||
- Cyrille David ([@dcyriller](https://github.com/dcyriller)) | ||
## v1.0.0 (2019-11-04) | ||
@@ -4,0 +22,0 @@ |
{ | ||
"name": "ember-template-lint-plugin-prettier", | ||
"version": "1.1.0-beta.0", | ||
"version": "1.1.0", | ||
"description": "A prettier plugin for ember-template-lint", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -27,4 +27,2 @@ # ember-template-lint-plugin-prettier 👋 | ||
Also, this plugin doesn't come with a recommended set of rules (that you often provide in the `extends` config key). At least for today! You'll have to enable them manually (see "Recommended configuration"). | ||
## Recommended configuration | ||
@@ -34,2 +32,3 @@ | ||
to your `.templatelintrc.js` file: | ||
``` | ||
@@ -44,19 +43,4 @@ module.exports = { | ||
The recommended set will apply the following rules: | ||
``` | ||
module.exports = { | ||
rules: { | ||
prettier: true, // turn this plugin's rule on | ||
The recommended set will apply [these rules](https://github.com/ember-template-lint/ember-template-lint-plugin-prettier/blob/v1.1.0-beta.0/lib/config/recommended.js). | ||
// if you use ember-template-lint's recommended set of rules | ||
// the following stylistic rules need to be disabled | ||
// to let Prettier handle formatting | ||
"block-indentation": false, | ||
"linebreak-style": false, | ||
quotes: false, | ||
"self-closing-void-elements": false | ||
}, | ||
}; | ||
``` | ||
## Warnings | ||
@@ -63,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
25068
1
0
83