Browse Source
Feature/setup prettier plugin organize attributes (#1346)
* Setup prettier plugin: prettier-plugin-organize-attributes
* Update changelog
pull/1353/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
16 additions and
0 deletions
-
.prettierrc
-
CHANGELOG.md
-
package.json
-
yarn.lock
|
|
@ -1,4 +1,13 @@ |
|
|
|
{ |
|
|
|
"attributeGroups": [ |
|
|
|
"$ANGULAR_ELEMENT_REF", |
|
|
|
"$ANGULAR_STRUCTURAL_DIRECTIVE", |
|
|
|
"$DEFAULT", |
|
|
|
"$ANGULAR_INPUT", |
|
|
|
"$ANGULAR_TWO_WAY_BINDING", |
|
|
|
"$ANGULAR_OUTPUT" |
|
|
|
], |
|
|
|
"attributeSort": "ASC", |
|
|
|
"endOfLine": "auto", |
|
|
|
"printWidth": 80, |
|
|
|
"singleQuote": true, |
|
|
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Added |
|
|
|
|
|
|
|
- Added support to change the appearance (dark mode) in user settings |
|
|
|
- Setup the `prettier` plugin `prettier-plugin-organize-attributes` |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
|
|
@ -181,6 +181,7 @@ |
|
|
|
"jest-preset-angular": "12.2.2", |
|
|
|
"nx": "14.6.4", |
|
|
|
"prettier": "2.7.1", |
|
|
|
"prettier-plugin-organize-attributes": "0.0.5", |
|
|
|
"replace-in-file": "6.2.0", |
|
|
|
"rimraf": "3.0.2", |
|
|
|
"ts-jest": "28.0.8", |
|
|
|
|
|
@ -16717,6 +16717,11 @@ prelude-ls@~1.1.2: |
|
|
|
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" |
|
|
|
integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== |
|
|
|
|
|
|
|
prettier-plugin-organize-attributes@0.0.5: |
|
|
|
version "0.0.5" |
|
|
|
resolved "https://registry.yarnpkg.com/prettier-plugin-organize-attributes/-/prettier-plugin-organize-attributes-0.0.5.tgz#46e54533936fc42a3cff3d876a738a3f98df0360" |
|
|
|
integrity sha512-dSts16q8wd+oq8Zwk5mwmYXo1aN3B+ZkEJqx/ar5fedNHdOvx7S4XDMH/pNK7rmBW0bPXkp/kJX5gAANsWzh3A== |
|
|
|
|
|
|
|
prettier@2.7.1: |
|
|
|
version "2.7.1" |
|
|
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" |
|
|
|