diff --git a/package.json b/package.json index 7107114..620df37 100755 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@antfu/eslint-config": "2.4.6", "@iconify/json": "^2.2.161", "@iconify/vue": "^4.1.1", - "@stylistic/stylelint-plugin": "^2.0.0", + "@stylistic/stylelint-config": "^1.0.1", "@types/lodash-es": "^4.17.12", "@types/nprogress": "^0.2.3", "@types/path-browserify": "^1.0.2", @@ -69,7 +69,7 @@ "inquirer": "^9.2.12", "lint-staged": "^15.2.0", "npm-run-all": "^4.1.5", - "plop": "^4.0.0", + "plop": "^4.0.1", "sass": "^1.69.5", "simple-git-hooks": "^2.9.0", "stylelint": "^16.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 357e492..12d5da0 100755 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,9 +91,9 @@ devDependencies: '@iconify/vue': specifier: ^4.1.1 version: 4.1.1(vue@3.3.13) - '@stylistic/stylelint-plugin': - specifier: ^2.0.0 - version: 2.0.0(stylelint@16.0.2) + '@stylistic/stylelint-config': + specifier: ^1.0.1 + version: 1.0.1(stylelint@16.0.2) '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 @@ -149,8 +149,8 @@ devDependencies: specifier: ^4.1.5 version: 4.1.5 plop: - specifier: ^4.0.0 - version: 4.0.0 + specifier: ^4.0.1 + version: 4.0.1 sass: specifier: ^1.69.5 version: 1.69.5 @@ -2810,6 +2810,16 @@ packages: - typescript dev: true + /@stylistic/stylelint-config@1.0.1(stylelint@16.0.2): + resolution: {integrity: sha512-JgFP88HZEyo34k9RpWVdcQJtLPrMxYE58IO3qypXhmvE/NmZohj+xjDtQ8UfaarnYsLecnldw57/GHum07Ctdw==} + engines: {node: ^18.12 || >=20.9} + peerDependencies: + stylelint: ^16.0.2 + dependencies: + '@stylistic/stylelint-plugin': 2.0.0(stylelint@16.0.2) + stylelint: 16.0.2(typescript@5.3.3) + dev: true + /@stylistic/stylelint-plugin@2.0.0(stylelint@16.0.2): resolution: {integrity: sha512-dHKuT6PGd1WGZLOTuozAM7GdQzdmlmnFXYzvV1jYJXXpcCpV/OJ3+n8TXpMkoOeKHpJydY43EOoZTO1W/FOA4Q==} engines: {node: ^18.12 || >=20.9} @@ -2845,14 +2855,14 @@ packages: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} dev: true - /@types/fined@1.1.3: - resolution: {integrity: sha512-CWYnSRnun3CGbt6taXeVo2lCbuaj4mchVJ4UF/BdU5TSuIn3AmS13pGMwCsBUoehGbhZrBrpNJZSZI5EVilXww==} + /@types/fined@1.1.5: + resolution: {integrity: sha512-2N93vadEGDFhASTIRbizbl4bNqpMOId5zZfj6hHqYZfEzEfO9onnU4Im8xvzo8uudySDveDHBOOSlTWf38ErfQ==} dev: true - /@types/inquirer@9.0.3: - resolution: {integrity: sha512-CzNkWqQftcmk2jaCWdBTf9Sm7xSw4rkI1zpU/Udw3HX5//adEZUIm9STtoRP1qgWj0CWQtJ9UTvqmO2NNjhMJw==} + /@types/inquirer@9.0.7: + resolution: {integrity: sha512-Q0zyBupO6NxGRZut/JdmqYKOnN95Eg5V8Csg3PGKkP+FnvsUZx1jAyK7fztIszxxMuoBA6E3KXWvdZVXIpx60g==} dependencies: - '@types/through': 0.0.30 + '@types/through': 0.0.33 rxjs: 7.8.1 dev: true @@ -2860,11 +2870,11 @@ packages: resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} dev: true - /@types/liftoff@4.0.1: - resolution: {integrity: sha512-GUUFIP1wHuB6DEg65hkgJdqqmEeK5Vj+Wy5Tza26F9FuaHhtm4BxN00N3PhVUdCcryY9pn3SkcXGGQDLBisAPQ==} + /@types/liftoff@4.0.3: + resolution: {integrity: sha512-UgbL2kR5pLrWICvr8+fuSg0u43LY250q7ZMkC+XKC3E+rs/YBDEnQIzsnhU5dYsLlwMi3R75UvCL87pObP1sxw==} dependencies: - '@types/fined': 1.1.3 - '@types/node': 20.6.0 + '@types/fined': 1.1.5 + '@types/node': 20.10.5 dev: true /@types/lodash-es@4.17.12: @@ -2893,8 +2903,10 @@ packages: resolution: {integrity: sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg==} dev: true - /@types/node@20.6.0: - resolution: {integrity: sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==} + /@types/node@20.10.5: + resolution: {integrity: sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==} + dependencies: + undici-types: 5.26.5 dev: true /@types/normalize-package-data@2.4.4: @@ -2923,10 +2935,10 @@ packages: '@types/node': 18.13.0 dev: true - /@types/through@0.0.30: - resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==} + /@types/through@0.0.33: + resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==} dependencies: - '@types/node': 20.6.0 + '@types/node': 20.10.5 dev: true /@types/unist@2.0.10: @@ -4009,14 +4021,6 @@ packages: readable-stream: 3.6.2 dev: true - /bl@5.1.0: - resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} - dependencies: - buffer: 6.0.3 - inherits: 2.0.4 - readable-stream: 3.6.2 - dev: true - /bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true @@ -4103,13 +4107,6 @@ packages: ieee754: 1.2.1 dev: true - /buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - dev: true - /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -4361,13 +4358,13 @@ packages: restore-cursor: 4.0.0 dev: true - /cli-spinners@2.9.0: - resolution: {integrity: sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==} + /cli-spinners@2.9.1: + resolution: {integrity: sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==} engines: {node: '>=6'} dev: true - /cli-spinners@2.9.1: - resolution: {integrity: sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==} + /cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} dev: true @@ -4962,10 +4959,6 @@ packages: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} dev: true - /eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - dev: true - /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true @@ -5003,10 +4996,6 @@ packages: - '@vue/composition-api' dev: false - /emoji-regex@10.2.1: - resolution: {integrity: sha512-97g6QgOk8zlDRdgq1WxwgTMgEWGVAQvB5Fdpgc1MkNy56la5SKP9GsMXKDOdqwn90/41a8yPwIGk1Y6WVbeMQA==} - dev: true - /emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} dev: true @@ -6506,7 +6495,7 @@ packages: dependencies: dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.2.4 + ignore: 5.3.0 merge2: 1.4.1 slash: 4.0.0 dev: true @@ -6782,11 +6771,6 @@ packages: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} - engines: {node: '>= 4'} - dev: true - /ignore@5.3.0: resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} engines: {node: '>= 4'} @@ -7241,6 +7225,11 @@ packages: engines: {node: '>=12'} dev: true + /is-unicode-supported@2.0.0: + resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} + engines: {node: '>=18'} + dev: true + /is-weakmap@2.0.1: resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} dev: true @@ -7466,7 +7455,7 @@ packages: is-plain-object: 5.0.0 object.map: 1.0.1 rechoir: 0.8.0 - resolve: 1.22.4 + resolve: 1.22.8 dev: true /lilconfig@3.0.0: @@ -7598,9 +7587,9 @@ packages: is-unicode-supported: 0.1.0 dev: true - /log-symbols@5.1.0: - resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} - engines: {node: '>=12'} + /log-symbols@6.0.0: + resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==} + engines: {node: '>=18'} dependencies: chalk: 5.3.0 is-unicode-supported: 1.3.0 @@ -7971,7 +7960,7 @@ packages: resolution: {integrity: sha512-lKFSRSRuDHhwDKMUobdsvaWCbbDRbV3jMUSMiajQSQux1aNUevAZVxUHc2JERI//W8ABPRbi3ebYuSuIzkNIpQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: - '@types/inquirer': 9.0.3 + '@types/inquirer': 9.0.7 change-case: 4.1.2 del: 7.1.0 globby: 13.2.2 @@ -7981,7 +7970,7 @@ packages: lodash.get: 4.4.2 lower-case: 2.0.2 mkdirp: 3.0.1 - resolve: 1.22.4 + resolve: 1.22.8 title-case: 3.0.3 upper-case: 2.0.2 dev: true @@ -8206,18 +8195,18 @@ packages: wcwidth: 1.0.1 dev: true - /ora@7.0.1: - resolution: {integrity: sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==} - engines: {node: '>=16'} + /ora@8.0.1: + resolution: {integrity: sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==} + engines: {node: '>=18'} dependencies: chalk: 5.3.0 cli-cursor: 4.0.0 - cli-spinners: 2.9.0 + cli-spinners: 2.9.2 is-interactive: 2.0.0 - is-unicode-supported: 1.3.0 - log-symbols: 5.1.0 - stdin-discarder: 0.1.0 - string-width: 6.1.0 + is-unicode-supported: 2.0.0 + log-symbols: 6.0.0 + stdin-discarder: 0.2.1 + string-width: 7.0.0 strip-ansi: 7.1.0 dev: true @@ -8493,18 +8482,18 @@ packages: pathe: 1.1.1 dev: true - /plop@4.0.0: - resolution: {integrity: sha512-6hsuNofd5crnl7upQSRyw+7zVBZqxF9UZoWqsKqtPthpvtgUuYD+atBx7ZD9RT8qXWnylyCt9bpvYLZPexxDMg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /plop@4.0.1: + resolution: {integrity: sha512-5n8QU93kvL/ObOzBcPAB1siVFtAH1TZM6TntJ3JK5kXT0jIgnQV+j+uaOWWFJlg1cNkzLYm8klgASF65K36q9w==} + engines: {node: '>=18'} hasBin: true dependencies: - '@types/liftoff': 4.0.1 + '@types/liftoff': 4.0.3 chalk: 5.3.0 interpret: 3.1.1 liftoff: 4.0.0 minimist: 1.2.8 node-plop: 0.32.0 - ora: 7.0.1 + ora: 8.0.1 v8flags: 4.0.1 dev: true @@ -8751,7 +8740,7 @@ packages: resolution: {integrity: sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==} engines: {node: '>= 10.13.0'} dependencies: - resolve: 1.22.6 + resolve: 1.22.8 dev: true /regenerate-unicode-properties@10.1.1: @@ -8887,15 +8876,6 @@ packages: deprecated: https://github.com/lydell/resolve-url#deprecated dev: true - /resolve@1.22.4: - resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} - hasBin: true - dependencies: - is-core-module: 2.13.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /resolve@1.22.6: resolution: {integrity: sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==} hasBin: true @@ -9330,11 +9310,9 @@ packages: engines: {node: '>= 0.6'} dev: true - /stdin-discarder@0.1.0: - resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - bl: 5.1.0 + /stdin-discarder@0.2.1: + resolution: {integrity: sha512-wRXvkxiYhOAduH+LFL/Qpim5zIWKYH1yEGvU0W8PgmabrZZ29iC1LKS8i443SYct12oZmQH7nyEonKiV8RTIsg==} + engines: {node: '>=18'} dev: true /stop-iteration-iterator@1.0.0: @@ -9363,15 +9341,6 @@ packages: strip-ansi: 6.0.1 dev: true - /string-width@6.1.0: - resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} - engines: {node: '>=16'} - dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 10.2.1 - strip-ansi: 7.1.0 - dev: true - /string-width@7.0.0: resolution: {integrity: sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==} engines: {node: '>=18'} @@ -10006,6 +9975,10 @@ packages: mlly: 1.4.2 dev: true + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} diff --git a/stylelint.config.js b/stylelint.config.js index 974239e..719267a 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -3,10 +3,10 @@ export default { 'stylelint-config-standard-scss', 'stylelint-config-standard-vue/scss', 'stylelint-config-recess-order', + '@stylistic/stylelint-config', ], plugins: [ 'stylelint-scss', - '@stylistic/stylelint-plugin', ], rules: { 'at-rule-no-unknown': null, @@ -35,72 +35,6 @@ export default { ], 'scss/double-slash-comment-empty-line-before': null, 'scss/no-global-function-names': null, - // 提取自 https://github.com/elirasza/stylelint-stylistic/blob/main/config/index.js - '@stylistic/at-rule-name-case': 'lower', - '@stylistic/at-rule-name-space-after': 'always-single-line', - '@stylistic/at-rule-semicolon-newline-after': 'always', - '@stylistic/block-closing-brace-empty-line-before': 'never', - '@stylistic/block-closing-brace-newline-after': 'always', - '@stylistic/block-closing-brace-newline-before': 'always-multi-line', - '@stylistic/block-closing-brace-space-before': 'always-single-line', - '@stylistic/block-opening-brace-newline-after': 'always-multi-line', - '@stylistic/block-opening-brace-space-after': 'always-single-line', - '@stylistic/block-opening-brace-space-before': 'always', - '@stylistic/color-hex-case': 'lower', - '@stylistic/declaration-bang-space-after': 'never', - '@stylistic/declaration-bang-space-before': 'always', - '@stylistic/declaration-block-semicolon-newline-after': 'always-multi-line', - '@stylistic/declaration-block-semicolon-space-after': 'always-single-line', - '@stylistic/declaration-block-semicolon-space-before': 'never', - '@stylistic/declaration-block-trailing-semicolon': 'always', - '@stylistic/declaration-colon-newline-after': 'always-multi-line', - '@stylistic/declaration-colon-space-after': 'always-single-line', - '@stylistic/declaration-colon-space-before': 'never', - '@stylistic/function-comma-newline-after': 'always-multi-line', - '@stylistic/function-comma-space-after': 'always-single-line', - '@stylistic/function-comma-space-before': 'never', - '@stylistic/function-max-empty-lines': 0, - '@stylistic/function-parentheses-newline-inside': 'always-multi-line', - '@stylistic/function-parentheses-space-inside': 'never-single-line', - '@stylistic/function-whitespace-after': 'always', - '@stylistic/indentation': 2, - '@stylistic/max-empty-lines': 1, - '@stylistic/max-line-length': 120, - '@stylistic/media-feature-colon-space-after': 'always', - '@stylistic/media-feature-colon-space-before': 'never', - '@stylistic/media-feature-name-case': 'lower', - '@stylistic/media-feature-parentheses-space-inside': 'never', - '@stylistic/media-feature-range-operator-space-after': 'always', - '@stylistic/media-feature-range-operator-space-before': 'always', - '@stylistic/media-query-list-comma-newline-after': 'always-multi-line', - '@stylistic/media-query-list-comma-space-after': 'always-single-line', - '@stylistic/media-query-list-comma-space-before': 'never', - '@stylistic/no-empty-first-line': true, - '@stylistic/no-eol-whitespace': true, - '@stylistic/no-extra-semicolons': true, - '@stylistic/no-missing-end-of-source-newline': true, - '@stylistic/number-leading-zero': 'always', - '@stylistic/number-no-trailing-zeros': true, - '@stylistic/property-case': 'lower', - '@stylistic/selector-attribute-brackets-space-inside': 'never', - '@stylistic/selector-attribute-operator-space-after': 'never', - '@stylistic/selector-attribute-operator-space-before': 'never', - '@stylistic/selector-combinator-space-after': 'always', - '@stylistic/selector-combinator-space-before': 'always', - '@stylistic/selector-descendant-combinator-no-non-space': true, - '@stylistic/selector-list-comma-newline-after': 'always', - '@stylistic/selector-list-comma-space-before': 'never', - '@stylistic/selector-max-empty-lines': 0, - '@stylistic/selector-pseudo-class-case': 'lower', - '@stylistic/selector-pseudo-class-parentheses-space-inside': 'never', - '@stylistic/selector-pseudo-element-case': 'lower', - '@stylistic/string-quotes': 'double', - '@stylistic/unit-case': 'lower', - '@stylistic/value-list-comma-newline-after': 'always-multi-line', - '@stylistic/value-list-comma-space-after': 'always-single-line', - '@stylistic/value-list-comma-space-before': 'never', - '@stylistic/value-list-max-empty-lines': 0, - // 根据需要覆盖部分规则 '@stylistic/max-line-length': null, '@stylistic/block-closing-brace-newline-after': [ 'always',