-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #523 from IQSS/feat/373-prettier-check
Check/Format correct files with Prettier
- Loading branch information
Showing
59 changed files
with
306 additions
and
238 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Ignore Cypress autogenerated files | ||
.nyc_output | ||
coverage | ||
cypress | ||
merged-coverage | ||
|
||
# Ignore dev environment files | ||
dev-env | ||
|
||
# Ignore deployment files | ||
deployment | ||
|
||
# Ignore both dist folders from SPA and Design System | ||
dist | ||
/packages/design-system/dist | ||
|
||
# Ignore mdx files due to different conflicts between prettier and mdx files | ||
*.mdx | ||
|
||
# Ignore config files | ||
.babelrc | ||
.eslintrc.json | ||
.nycrc.json | ||
.prettierrc | ||
.stylelintrc.json | ||
cypress.config.ts | ||
dev.Dockerfile | ||
lerna.json | ||
LICENSE | ||
package.json | ||
package-lock.json | ||
tsconfig.json | ||
vite.config.ts |
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,3 +1,3 @@ | ||
<script> | ||
window.global = window; | ||
</script> | ||
window.global = window | ||
</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<script> | ||
window.global = window; | ||
</script> | ||
window.global = window | ||
</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
@import "fontcustom"; | ||
@import "bootstrap-customized"; | ||
|
||
@import 'fontcustom'; | ||
@import 'bootstrap-customized'; |
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
7 changes: 4 additions & 3 deletions
7
packages/design-system/src/lib/components/button-group/ButtonGroup.module.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,5 +1,6 @@ | ||
@import "src/lib/assets/styles/design-tokens/colors.module"; | ||
@import 'src/lib/assets/styles/design-tokens/colors.module'; | ||
|
||
.border > button, .border > [role="group"] > button { | ||
.border > button, | ||
.border > [role='group'] > button { | ||
border: 1px solid $dv-button-border-color; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/design-system/src/lib/components/button/Button.module.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,3 +1,3 @@ | ||
.spacing { | ||
margin: 0 7px; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/design-system/src/lib/components/dropdown-button/DropdownButton.module.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,3 +1,3 @@ | ||
.spacing { | ||
margin: 0 7px | ||
margin: 0 7px; | ||
} |
4 changes: 2 additions & 2 deletions
4
...rc/lib/components/form/form-group-multiple-fields/FormGroupWithMultipleFields.module.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,7 +1,7 @@ | ||
@import "src/lib/assets/styles/design-tokens/typography.module"; | ||
@import 'src/lib/assets/styles/design-tokens/typography.module'; | ||
|
||
.title { | ||
padding-top: calc(0.375rem + 1px); | ||
padding-bottom: calc(0.375rem + 1px); | ||
font-weight: $dv-font-weight-bold; | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...sign-system/src/lib/components/form/required-input-symbol/RequiredInputSymbol.module.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,5 +1,5 @@ | ||
@import "src/lib/assets/styles/design-tokens/colors.module"; | ||
@import 'src/lib/assets/styles/design-tokens/colors.module'; | ||
|
||
.asterisk { | ||
color: $dv-danger-color; | ||
} | ||
color: $dv-danger-color; | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/design-system/src/lib/components/icon/Icon.module.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,3 +1,3 @@ | ||
.icon { | ||
margin-right: .3em; | ||
} | ||
margin-right: 0.3em; | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/design-system/src/lib/components/table/Table.module.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,3 +1,3 @@ | ||
.table > thead { | ||
text-align: center; | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...s/design-system/src/lib/components/tooltip/question-mark-tooltip/QuestionIcon.module.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,9 +1,9 @@ | ||
@import "src/lib/assets/styles/design-tokens/colors.module"; | ||
@import 'src/lib/assets/styles/design-tokens/colors.module'; | ||
|
||
.question-tooltip { | ||
color: $dv-tooltip-color; | ||
} | ||
|
||
.question-tooltip:hover { | ||
color: $dv-tooltip-hover-color; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...n-system/src/lib/components/tooltip/question-mark-tooltip/QuestionMarkTooltip.module.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 @@ | ||
.tooltip { | ||
display: inline-block; | ||
vertical-align: 0.125em; | ||
} | ||
} |
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,12 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||
<title>Components App</title> | ||
</head> | ||
<body> | ||
<div data-cy-root></div> | ||
</body> | ||
</html> | ||
</head> | ||
<body> | ||
<div data-cy-root></div> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ | |
@media (min-width: 768px) { | ||
padding-left: 1rem; | ||
} | ||
} | ||
} |
Oops, something went wrong.