chore(stylelint): update v15

pull/3/head
xingyuv 2023-03-23 11:36:40 +08:00
parent e1fcd82b32
commit 942f572446
14 changed files with 153 additions and 153 deletions

View File

@ -112,12 +112,11 @@
"rimraf": "^4.4.1",
"rollup": "^3.20.0",
"rollup-plugin-visualizer": "^5.9.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0",
"stylelint": "^15.3.0",
"stylelint-config-recommended": "^11.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^6.0.2",
"stylelint-config-standard": "^31.0.0",
"stylelint-order": "^6.0.3",
"terser": "^5.16.6",
"typescript": "^5.0.2",
"unplugin-vue-setup-extend-plus": "^0.4.9",

View File

@ -71,12 +71,11 @@ specifiers:
rollup: ^3.20.0
rollup-plugin-visualizer: ^5.9.0
sortablejs: ^1.15.0
stylelint: ^14.16.1
stylelint-config-prettier: ^9.0.5
stylelint-config-recommended: ^9.0.0
stylelint: ^15.3.0
stylelint-config-recommended: ^11.0.0
stylelint-config-recommended-vue: ^1.4.0
stylelint-config-standard: ^29.0.0
stylelint-order: ^6.0.2
stylelint-config-standard: ^31.0.0
stylelint-order: ^6.0.3
terser: ^5.16.6
tinymce: ^5.10.7
typescript: ^5.0.2
@ -181,12 +180,11 @@ devDependencies:
rimraf: 4.4.1
rollup: 3.20.0
rollup-plugin-visualizer: 5.9.0_rollup@3.20.0
stylelint: 14.16.1
stylelint-config-prettier: 9.0.5_stylelint@14.16.1
stylelint-config-recommended: 9.0.0_stylelint@14.16.1
stylelint-config-recommended-vue: 1.4.0_kbto3rg3njmczth2rrsgfnlsqa
stylelint-config-standard: 29.0.0_stylelint@14.16.1
stylelint-order: 6.0.3_stylelint@14.16.1
stylelint: 15.3.0
stylelint-config-recommended: 11.0.0_stylelint@15.3.0
stylelint-config-recommended-vue: 1.4.0_o7z2z2yv565o3a3uaodintvte4
stylelint-config-standard: 31.0.0_stylelint@15.3.0
stylelint-order: 6.0.3_stylelint@15.3.0
terser: 5.16.6
typescript: 5.0.2
unplugin-vue-setup-extend-plus: 0.4.9
@ -1604,6 +1602,31 @@ packages:
'@jridgewell/trace-mapping': 0.3.9
dev: true
/@csstools/css-parser-algorithms/2.0.1_5vzy4lghjvuzkedkkk4tqwjftm:
resolution: {integrity: sha512-B9/8PmOtU6nBiibJg0glnNktQDZ3rZnGn/7UmDfrm2vMtrdlXO3p7ErE95N0up80IRk9YEtB5jyj/TmQ1WH3dw==}
engines: {node: ^14 || ^16 || >=18}
peerDependencies:
'@csstools/css-tokenizer': ^2.0.0
dependencies:
'@csstools/css-tokenizer': 2.1.0
dev: true
/@csstools/css-tokenizer/2.1.0:
resolution: {integrity: sha512-dtqFyoJBHUxGi9zPZdpCKP1xk8tq6KPHJ/NY4qWXiYo6IcSGwzk3L8x2XzZbbyOyBs9xQARoGveU2AsgLj6D2A==}
engines: {node: ^14 || ^16 || >=18}
dev: true
/@csstools/media-query-list-parser/2.0.1_ppok7cytzjc65mcyxmtit3wdyi:
resolution: {integrity: sha512-X2/OuzEbjaxhzm97UJ+95GrMeT29d1Ib+Pu+paGLuRWZnWRK9sI9r3ikmKXPWGA1C4y4JEdBEFpp9jEqCvLeRA==}
engines: {node: ^14 || ^16 || >=18}
peerDependencies:
'@csstools/css-parser-algorithms': ^2.0.0
'@csstools/css-tokenizer': ^2.0.0
dependencies:
'@csstools/css-parser-algorithms': 2.0.1_5vzy4lghjvuzkedkkk4tqwjftm
'@csstools/css-tokenizer': 2.1.0
dev: true
/@csstools/selector-specificity/2.1.1_wajs5nedgkikc5pcuwett7legi:
resolution: {integrity: sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==}
engines: {node: ^14 || ^16 || >=18}
@ -2410,10 +2433,6 @@ packages:
resolution: {integrity: sha512-1cYJrqq9GezNFPsWTZpFut/d4CjpZqA0vhqDUPFWYKF1oIyBz5qnoYMzR+0C/T96t3ebLAC1SSnwrVOm5/j74A==}
dev: true
/@types/parse-json/4.0.0:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
dev: true
/@types/qrcode/1.5.0:
resolution: {integrity: sha512-x5ilHXRxUPIMfjtM+1vf/GPTRWZ81nqscursm5gMznJeK9M0YnZ1c3bEvRLQ0zSSgedLx1J6MGL231ObQGGhaA==}
dependencies:
@ -3826,17 +3845,6 @@ packages:
typescript: 4.9.5
dev: true
/cosmiconfig/7.1.0:
resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
engines: {node: '>=10'}
dependencies:
'@types/parse-json': 4.0.0
import-fresh: 3.3.0
parse-json: 5.2.0
path-type: 4.0.0
yaml: 1.10.2
dev: true
/cosmiconfig/8.0.0:
resolution: {integrity: sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==}
engines: {node: '>=14'}
@ -3847,6 +3855,16 @@ packages:
path-type: 4.0.0
dev: true
/cosmiconfig/8.1.3:
resolution: {integrity: sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==}
engines: {node: '>=14'}
dependencies:
import-fresh: 3.3.0
js-yaml: 4.1.0
parse-json: 5.2.0
path-type: 4.0.0
dev: true
/crc-32/1.2.2:
resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==}
engines: {node: '>=0.8'}
@ -3918,6 +3936,14 @@ packages:
source-map: 0.6.1
dev: true
/css-tree/2.3.1:
resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==}
engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
dependencies:
mdn-data: 2.0.30
source-map-js: 1.0.2
dev: true
/css-what/6.1.0:
resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
engines: {node: '>= 6'}
@ -6024,8 +6050,8 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/known-css-properties/0.26.0:
resolution: {integrity: sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==}
/known-css-properties/0.27.0:
resolution: {integrity: sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==}
dev: true
/kolorist/1.7.0:
@ -6338,6 +6364,10 @@ packages:
resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==}
dev: true
/mdn-data/2.0.30:
resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==}
dev: true
/meow/8.1.2:
resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==}
engines: {node: '>=10'}
@ -7968,7 +7998,7 @@ packages:
resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==}
dev: true
/stylelint-config-html/1.1.0_kbto3rg3njmczth2rrsgfnlsqa:
/stylelint-config-html/1.1.0_o7z2z2yv565o3a3uaodintvte4:
resolution: {integrity: sha512-IZv4IVESjKLumUGi+HWeb7skgO6/g4VMuAYrJdlqQFndgbj6WJAXPhaysvBiXefX79upBdQVumgYcdd17gCpjQ==}
engines: {node: ^12 || >=14}
peerDependencies:
@ -7976,20 +8006,10 @@ packages:
stylelint: '>=14.0.0'
dependencies:
postcss-html: 1.5.0
stylelint: 14.16.1
stylelint: 15.3.0
dev: true
/stylelint-config-prettier/9.0.5_stylelint@14.16.1:
resolution: {integrity: sha512-U44lELgLZhbAD/xy/vncZ2Pq8sh2TnpiPvo38Ifg9+zeioR+LAkHu0i6YORIOxFafZoVg0xqQwex6e6F25S5XA==}
engines: {node: '>= 12'}
hasBin: true
peerDependencies:
stylelint: '>= 11.x < 15'
dependencies:
stylelint: 14.16.1
dev: true
/stylelint-config-recommended-vue/1.4.0_kbto3rg3njmczth2rrsgfnlsqa:
/stylelint-config-recommended-vue/1.4.0_o7z2z2yv565o3a3uaodintvte4:
resolution: {integrity: sha512-DVJqyX2KvMCn9U0+keL12r7xlsH26K4Vg8NrIZuq5MoF7g82DpMp326Om4E0Q+Il1o+bTHuUyejf2XAI0iD04Q==}
engines: {node: ^12 || >=14}
peerDependencies:
@ -7998,48 +8018,52 @@ packages:
dependencies:
postcss-html: 1.5.0
semver: 7.3.8
stylelint: 14.16.1
stylelint-config-html: 1.1.0_kbto3rg3njmczth2rrsgfnlsqa
stylelint-config-recommended: 9.0.0_stylelint@14.16.1
stylelint: 15.3.0
stylelint-config-html: 1.1.0_o7z2z2yv565o3a3uaodintvte4
stylelint-config-recommended: 11.0.0_stylelint@15.3.0
dev: true
/stylelint-config-recommended/9.0.0_stylelint@14.16.1:
resolution: {integrity: sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==}
/stylelint-config-recommended/11.0.0_stylelint@15.3.0:
resolution: {integrity: sha512-SoGIHNI748OCZn6BxFYT83ytWoYETCINVHV3LKScVAWQQauWdvmdDqJC5YXWjpBbxg2E761Tg5aUGKLFOVhEkA==}
peerDependencies:
stylelint: ^14.10.0
stylelint: ^15.3.0
dependencies:
stylelint: 14.16.1
stylelint: 15.3.0
dev: true
/stylelint-config-standard/29.0.0_stylelint@14.16.1:
resolution: {integrity: sha512-uy8tZLbfq6ZrXy4JKu3W+7lYLgRQBxYTUUB88vPgQ+ZzAxdrvcaSUW9hOMNLYBnwH+9Kkj19M2DHdZ4gKwI7tg==}
/stylelint-config-standard/31.0.0_stylelint@15.3.0:
resolution: {integrity: sha512-CUGAmtROCvX0YgMY2+6P9tqSkHj5z/75XxrQ8bGxvkCa1xYdGDx4poM0pa7cXc3s74/PZLJH/okxZZouRfOSGw==}
peerDependencies:
stylelint: ^14.14.0
stylelint: ^15.3.0
dependencies:
stylelint: 14.16.1
stylelint-config-recommended: 9.0.0_stylelint@14.16.1
stylelint: 15.3.0
stylelint-config-recommended: 11.0.0_stylelint@15.3.0
dev: true
/stylelint-order/6.0.3_stylelint@14.16.1:
/stylelint-order/6.0.3_stylelint@15.3.0:
resolution: {integrity: sha512-1j1lOb4EU/6w49qZeT2SQVJXm0Ht+Qnq9GMfUa3pMwoyojIWfuA+JUDmoR97Bht1RLn4ei0xtLGy87M7d29B1w==}
peerDependencies:
stylelint: ^14.0.0 || ^15.0.0
dependencies:
postcss: 8.4.21
postcss-sorting: 8.0.2_postcss@8.4.21
stylelint: 14.16.1
stylelint: 15.3.0
dev: true
/stylelint/14.16.1:
resolution: {integrity: sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
/stylelint/15.3.0:
resolution: {integrity: sha512-9UYBYk7K9rtlKcTUDZrtntE840sZM00qyYBQHHe7tjwMNUsPsGvR6Fd43IxHEAhRrDLzpy3TVaHb6CReBB3eFg==}
engines: {node: ^14.13.1 || >=16.0.0}
hasBin: true
dependencies:
'@csstools/css-parser-algorithms': 2.0.1_5vzy4lghjvuzkedkkk4tqwjftm
'@csstools/css-tokenizer': 2.1.0
'@csstools/media-query-list-parser': 2.0.1_ppok7cytzjc65mcyxmtit3wdyi
'@csstools/selector-specificity': 2.1.1_wajs5nedgkikc5pcuwett7legi
balanced-match: 2.0.0
colord: 2.9.3
cosmiconfig: 7.1.0
cosmiconfig: 8.1.3
css-functions-list: 3.1.0
css-tree: 2.3.1
debug: 4.3.4
fast-glob: 3.2.12
fastest-levenshtein: 1.0.16
@ -8052,7 +8076,7 @@ packages:
import-lazy: 4.0.0
imurmurhash: 0.1.4
is-plain-object: 5.0.0
known-css-properties: 0.26.0
known-css-properties: 0.27.0
mathml-tag-names: 2.1.3
meow: 9.0.0
micromatch: 4.0.5
@ -8068,11 +8092,11 @@ packages:
string-width: 4.2.3
strip-ansi: 6.0.1
style-search: 0.1.0
supports-hyperlinks: 2.3.0
supports-hyperlinks: 3.0.0
svg-tags: 1.0.0
table: 6.8.1
v8-compile-cache: 2.3.0
write-file-atomic: 4.0.2
write-file-atomic: 5.0.0
transitivePeerDependencies:
- supports-color
dev: true
@ -8103,9 +8127,9 @@ packages:
has-flag: 4.0.0
dev: true
/supports-hyperlinks/2.3.0:
resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==}
engines: {node: '>=8'}
/supports-hyperlinks/3.0.0:
resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==}
engines: {node: '>=14.18'}
dependencies:
has-flag: 4.0.0
supports-color: 7.2.0
@ -9152,9 +9176,9 @@ packages:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
dev: true
/write-file-atomic/4.0.2:
resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
/write-file-atomic/5.0.0:
resolution: {integrity: sha512-R7NYMnHSlV42K54lwY9lvW6MnSm1HSJqZL3xiSgi9E7//FYaI74r2G0rd+/X6VAMkHEdzxQaU5HUOXWUz5kA/w==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies:
imurmurhash: 0.1.4
signal-exit: 3.0.7
@ -9201,11 +9225,6 @@ packages:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
dev: true
/yaml/1.10.2:
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
engines: {node: '>= 6'}
dev: true
/yaml/2.2.1:
resolution: {integrity: sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==}
engines: {node: '>= 14'}

View File

@ -2,10 +2,7 @@
overflow: hidden;
.ant-modal {
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
inset: 0 !important;
width: 100% !important;
height: 100%;

View File

@ -417,10 +417,7 @@ export default defineComponent({
<style lang="less">
.img-preview {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
inset: 0;
z-index: @preview-comp-z-index;
background: rgb(0 0 0 / 50%);
user-select: none;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
/* stylelint-disable import-notation */
@import './pagination.less';
@import './input.less';
@import './btn.less';

View File

@ -1,4 +1,3 @@
/* stylelint-disable import-notation */
@import 'transition/index.less';
@import 'var/index.less';
@import 'public.less';

View File

@ -1,4 +1,3 @@
/* stylelint-disable import-notation */
@import './base.less';
@import './fade.less';
@import './scale.less';

View File

@ -1,4 +1,3 @@
/* stylelint-disable import-notation */
@import (reference) '../color.less';
@import 'easing';
@import 'breakpoint';

View File

@ -174,7 +174,7 @@ export default defineComponent({
&--mobile {
.@{logo-prefix-cls} {
&__title {
opacity: 100%;
opacity: 1;
}
}
}

View File

@ -511,14 +511,14 @@ export default defineComponent({
font-size: 18px;
color: @primary-color;
border-bottom: 1px solid rgb(238 238 238);
opacity: 0%;
opacity: 0;
transition: unset;
align-items: center;
justify-content: space-between;
&.show {
min-width: 130px;
opacity: 100%;
opacity: 1;
transition: all 0.5s ease;
}

View File

@ -151,6 +151,7 @@ function handleShowForm(show = false) {
font-size: 90px;
}
}
@media screen and (min-width: @screen-lg) {
span:not(.meridiem) {
font-size: 220px;
@ -162,6 +163,7 @@ function handleShowForm(show = false) {
font-size: 260px;
}
}
@media screen and (min-width: @screen-2xl) {
span:not(.meridiem) {
font-size: 320px;

View File

@ -78,7 +78,7 @@ html[data-theme='dark'] {
background-color: @dark-bg;
&::before {
background-image: url(@/assets/svg/login-bg-dark.svg);
background-image: url('@/assets/svg/login-bg-dark.svg');
}
.ant-input,
@ -86,7 +86,7 @@ html[data-theme='dark'] {
background-color: #232a3b;
}
.ant-btn:not(.ant-btn-link):not(.ant-btn-primary) {
.ant-btn:not(.ant-btn-link, .ant-btn-primary) {
border: 1px solid #4a5569;
}
@ -109,6 +109,7 @@ html[data-theme='dark'] {
.@{prefix-cls} {
min-height: 100%;
overflow: hidden;
@media (max-width: @screen-xl) {
background-color: #293146;
@ -124,11 +125,12 @@ html[data-theme='dark'] {
width: 100%;
height: 100%;
margin-left: -48%;
background-image: url(@/assets/svg/login-bg.svg);
background-image: url('@/assets/svg/login-bg.svg');
background-position: 100%;
background-repeat: no-repeat;
background-size: auto 100%;
content: '';
@media (max-width: @screen-xl) {
display: none;
}

View File

@ -1,7 +1,7 @@
module.exports = {
root: true,
plugins: ['stylelint-order'],
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
extends: ['stylelint-config-standard'],
customSyntax: 'postcss-html',
rules: {
'function-no-unknown': null,
@ -25,13 +25,10 @@ module.exports = {
}
],
'no-empty-source': null,
'string-quotes': null,
'import-notation': null,
'named-grid-areas-no-invalid': null,
'unicode-bom': 'never',
'no-descending-specificity': null,
'font-family-no-missing-generic-family-keyword': null,
'declaration-colon-space-after': 'always-single-line',
'declaration-colon-space-before': 'never',
// 'declaration-block-trailing-semicolon': 'always',
'rule-empty-line-before': [
'always',