Merge pull request #3734 from 343max/style-lint-quiet

fixed stylelint errors
This commit is contained in:
AkiraFukushima 2022-11-04 19:51:57 +09:00 committed by GitHub
commit cbb360f14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 16 deletions

View File

@ -1,22 +1,25 @@
{ {
"extends": [ "extends": ["stylelint-config-html/vue", "stylelint-config-standard", "stylelint-config-prettier"],
"stylelint-config-html/vue", "overrides": [
"stylelint-config-standard", {
"stylelint-config-prettier" "customSyntax": "postcss-scss",
"files": ["**/*.scss"]
}
], ],
"rules": { "rules": {
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"color-hex-length": null,
"no-descending-specificity": null,
"no-empty-source": null,
"selector-class-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$",
"selector-id-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$",
"selector-pseudo-class-no-unknown": [ "selector-pseudo-class-no-unknown": [
true, true,
{ {
"ignorePseudoClasses": ["deep"] "ignorePseudoClasses": ["deep"]
} }
], ],
"selector-class-pattern": "^(([a-z][a-zA-Z0-9_]+)|([a-z][a-z0-9]*)(-[a-zA-Z0-9_]+)*)$" "shorthand-property-no-redundant-values": null
}, }
"overrides": [
{
"files": ["**/*.scss"],
"customSyntax": "postcss-scss"
}
]
} }

View File

@ -132,7 +132,7 @@ p {
margin: 8px 0; margin: 8px 0;
} }
.clearfix:after { .clearfix::after {
content: ' '; content: ' ';
display: block; display: block;
clear: both; clear: both;

View File

@ -173,6 +173,7 @@ export default defineComponent({
} }
} }
/* stylelint-disable-next-line selector-class-pattern */
.action :deep(.svg-inline--fa) { .action :deep(.svg-inline--fa) {
padding-right: 4px; padding-right: 4px;
} }

View File

@ -119,6 +119,7 @@ export default defineComponent({
height: 100%; height: 100%;
user-select: none; user-select: none;
} }
.setting-menu :deep(.icon) { .setting-menu :deep(.icon) {
margin-right: 9px; margin-right: 9px;
} }

View File

@ -172,6 +172,7 @@ export default defineComponent({
#timeline_space { #timeline_space {
height: 100%; height: 100%;
} }
.page { .page {
margin-left: 180px; margin-left: 180px;
height: 100%; height: 100%;

View File

@ -114,6 +114,7 @@ export default defineComponent({
.image-viewer-leave-active { .image-viewer-leave-active {
transition: opacity 0.5s; transition: opacity 0.5s;
} }
.image-viewer-enter, .image-viewer-enter,
.image-viewer-leave-to { .image-viewer-leave-to {
opacity: 0; opacity: 0;

View File

@ -556,8 +556,7 @@ export default defineComponent({
.preview { .preview {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: row; flex-flow: row wrap;
flex-wrap: wrap;
.image-wrapper { .image-wrapper {
position: relative; position: relative;

View File

@ -493,6 +493,7 @@ export default defineComponent({
width: 18px; width: 18px;
} }
} }
.menu-item * { .menu-item * {
vertical-align: middle; vertical-align: middle;
} }
@ -500,7 +501,7 @@ export default defineComponent({
.el-badge { .el-badge {
vertical-align: top; vertical-align: top;
line-height: 32px; line-height: 32px;
margin-left: 0px; margin-left: 0;
} }
} }

View File

@ -71,6 +71,7 @@ export default defineComponent({
height: 20px; height: 20px;
} }
} }
.body { .body {
margin-top: 4px; margin-top: 4px;