-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade prettier and stylelint (#2146)
* ⬆️ Upgrade prettier * 💄 Lint and prettify cookbook styles * 🎨 Lint and prettify cookbook ts files * 🎨 Lint and prettify cookbook templates * 🔧 Update prettier and stylelint config * 🎨 Lint and prettify misc project files * 🎨 Lint and prettify designsystem styles * 🤡 Use same line endings across mocks * 🎨 Lint and prettify designsystem spec files * 🎨 Lint and prettify designsystem ts files * 💄 Rename css-class in template * ✅ Fix tab test according to changed css * 🙈 Update ignore files with newline at EOF * ♻️ Increase readability of span * 🔧 Prettify .stylelintrc (whoa, meta!) * ➖ Remove unused depencency * 💄 Replace duplicate ::after with ::before for print * ⏪ Revert unintentional prettier change * 🔥 Remove vendor prefix This is handled by Angular via auto-prefixer. * ⏪ Revert unintentional change to line clamp styles
- Loading branch information
1 parent
a14fea3
commit 6ebc263
Showing
298 changed files
with
3,549 additions
and
4,826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/src/kirby/scss/base/_include-media.scss | ||
/.github/ | ||
/libs/designsystem/src/lib/components/web-component-proxies.component.ts | ||
/libs/designsystem/src/lib/components/angular-component-lib/** | ||
/libs/core/scss/** | ||
/libs/core/dist/** | ||
/libs/core/loader/** | ||
/libs/core/component-docs.d.ts | ||
/libs/core/component-docs.json | ||
/libs/core/src/components.d.ts | ||
/libs/**/readme.md | ||
/libs/**/readme.md | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
/src/kirby/scss/base/_include-media.scss | ||
libs/core/scss/** | ||
/.github/ | ||
/libs/designsystem/src/lib/components/web-component-proxies.component.ts | ||
/libs/designsystem/src/lib/components/angular-component-lib/** | ||
/libs/core/scss/** | ||
/libs/core/dist/** | ||
/libs/core/loader/** | ||
/libs/core/component-docs.d.ts | ||
/libs/core/component-docs.json | ||
/libs/core/src/components.d.ts | ||
/libs/**/readme.md | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,25 @@ | ||
{ | ||
"plugins": ["stylelint-prettier"], | ||
"extends": ["stylelint-prettier/recommended"], | ||
"extends": ["stylelint-config-standard-scss", "stylelint-config-prettier-scss"], | ||
"rules": { | ||
"scss/at-mixin-pattern": [ | ||
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$", | ||
{ | ||
"message": "Expected mixin name to be kebab-case" | ||
} | ||
], | ||
"scss/at-function-pattern": [ | ||
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$", | ||
{ | ||
"message": "Expected function name to be kebab-case" | ||
} | ||
], | ||
"scss/dollar-variable-pattern": [ | ||
"^(-?_?[a-z][a-z0-9]*)(-[a-z0-9]+)*$", | ||
{ | ||
"message": "Expected variable to be kebab-case" | ||
} | ||
], | ||
"scss/at-extend-no-missing-placeholder": null, | ||
"no-descending-specificity": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/cookbook/src/app/examples/avatar-example/examples/badge.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/cookbook/src/app/examples/badge-example/badge-example.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@use "sass:map"; | ||
@use 'sass:map'; | ||
@use '~@kirbydesign/core/src/scss/utils'; | ||
|
||
:host { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/cookbook/src/app/examples/button-example/button-example.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@use "sass:map"; | ||
@use 'sass:map'; | ||
@use '~@kirbydesign/core/src/scss/utils'; | ||
|
||
kirby-card { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.