fix: 🐛 eslint and stylelint

Signed-off-by: WaitSpring <me@waitspring.com>
这个提交包含在:
WaitSpring 2022-12-18 13:59:01 +08:00
父节点 a79a65c538
当前提交 7d76e8481c
共有 13 个文件被更改,包括 10 次插入15 次删除

查看文件

@ -13,7 +13,8 @@
"accent-color", "accent-color",
"overflow-x: clip", "overflow-x: clip",
"scroll-behavior", "scroll-behavior",
"user-select" "user-select",
"scrollbar-width"
] ]
} }
] ]

查看文件

@ -11,7 +11,6 @@ module.exports = {
name: 'preset-default', name: 'preset-default',
params: { params: {
overrides: { overrides: {
cleanupIDs: false,
removeDesc: false, removeDesc: false,
removeTitle: false, removeTitle: false,
removeViewBox: false, removeViewBox: false,

查看文件

@ -23,8 +23,9 @@ If you would like to contribute to *Citizen*, follow these steps:
We will review your pull request and, if everything looks good, merge it into the main codebase. We will review your pull request and, if everything looks good, merge it into the main codebase.
## Translations ## Translations
You can submit translations via [TranslateWiki.net](https://translatewiki.net/w/i.php?title=Special:Translate&group=mwgithub-star-citizen). They are usually merged bi-weekly. You can submit translations via [TranslateWiki.net](https://translatewiki.net/w/i.php?title=Special:Translate&group=mwgithub-star-citizen). They are usually merged bi-weekly.
## Questions ## Questions
If you have any questions about contributing to *Citizen*, feel free to [open an issue](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/issues/new/choose) in the *Citizen* repository and ask. There are additional resources in the [GitHub wiki](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/wiki) as well. If you have any questions about contributing to *Citizen*, feel free to [open an issue](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/issues/new/choose) in the *Citizen* repository and ask. There are additional resources in the [GitHub wiki](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/wiki) as well.

查看文件

@ -1,12 +1,14 @@
# Credits # Credits
## Direct contributors ## Direct contributors
* **[Alistair3149](https://github.com/alistair3149)** authored *Citizen*. * **[Alistair3149](https://github.com/alistair3149)** authored *Citizen*.
* **[Octfx](https://github.com/octfx)** wrote and refactored many of the PHP and JS used in *Citizen*. He helped test many of *Citizen's* latest features. * **[Octfx](https://github.com/octfx)** wrote and refactored many of the PHP and JS used in *Citizen*. He helped test many of *Citizen's* latest features.
* **[Other contributors](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/graphs/contributors)** for PRs that keeps *Citizen* going. * **[Other contributors](https://github.com/StarCitizenTools/mediawiki-skins-Citizen/graphs/contributors)** for PRs that keeps *Citizen* going.
* **[Translatewiki.net translators](https://translatewiki.net/wiki/Translating:Citizen_Skin)** localized *Citizen* in different languages. * **[Translatewiki.net translators](https://translatewiki.net/wiki/Translating:Citizen_Skin)** localized *Citizen* in different languages.
## Indirect contributors ## Indirect contributors
* **[Jon Robson](https://github.com/jdlrobson)** for advocating and working in the MediaWiki skin ecosystem. It makes skin development much more accessible and makes many of *Citizen's* features possible. * **[Jon Robson](https://github.com/jdlrobson)** for advocating and working in the MediaWiki skin ecosystem. It makes skin development much more accessible and makes many of *Citizen's* features possible.
* **Wiki admins** who deploy *Citizen* on their wikis. It helps us test *Citizen* in different use cases, making it more versatile for the community. * **Wiki admins** who deploy *Citizen* on their wikis. It helps us test *Citizen* in different use cases, making it more versatile for the community.
* **[Wikimedia Foundation Core Experiences teams](https://www.mediawiki.org/wiki/Core_Experiences)** for their extensive design research. It drives many of the design decisions in *Citizen* that would otherwise be unable to validate quantitatively. * **[Wikimedia Foundation Core Experiences teams](https://www.mediawiki.org/wiki/Core_Experiences)** for their extensive design research. It drives many of the design decisions in *Citizen* that would otherwise be unable to validate quantitatively.
@ -14,6 +16,7 @@
* **Other WMF-deployed skins such as [Vector](https://www.mediawiki.org/wiki/Skin:Vector), [MinervaNeue](https://www.mediawiki.org/wiki/Skin:Minerva_Neue), and [Timeless](https://www.mediawiki.org/wiki/Skin:Timeless)** for some of the features and best practices in a MediaWiki skin. They became a part of the foundation of what *Citizen* has become today. * **Other WMF-deployed skins such as [Vector](https://www.mediawiki.org/wiki/Skin:Vector), [MinervaNeue](https://www.mediawiki.org/wiki/Skin:Minerva_Neue), and [Timeless](https://www.mediawiki.org/wiki/Skin:Timeless)** for some of the features and best practices in a MediaWiki skin. They became a part of the foundation of what *Citizen* has become today.
## Included assets ## ## Included assets ##
* **[Roboto Flex font](https://github.com/googlefonts/roboto-flex)** * **[Roboto Flex font](https://github.com/googlefonts/roboto-flex)**
A gigantic thank you to all the folks above! *Citizen* wouldn't be here today without any of you. If someone is missing, please drop us a note and let us know! A gigantic thank you to all the folks above! *Citizen* wouldn't be here today without any of you. If someone is missing, please drop us a note and let us know!

查看文件

@ -11,7 +11,6 @@
} }
.mw-headline, .mw-headline,
/* T13555 */
.mw-heading h1, .mw-heading h1,
.mw-heading h2 { .mw-heading h2 {
opacity: var( --opacity-icon-base ); opacity: var( --opacity-icon-base );
@ -19,7 +18,6 @@
} }
.mw-headline, .mw-headline,
/* T13555 */
.mw-heading h1, .mw-heading h1,
.mw-heading h2 { .mw-heading h2 {
transition: @transition-opacity; transition: @transition-opacity;

查看文件

@ -164,8 +164,8 @@
} }
], ],
"messages": [ "messages": [
"preferences", "preferences"
], ],
"targets": [ "targets": [
"desktop", "desktop",
"mobile" "mobile"

查看文件

@ -626,4 +626,3 @@ input:checked + .smw-indicator-accordion-tab-label::after {
transform: rotate(90deg); transform: rotate(90deg);
} }
*/ */

查看文件

@ -318,4 +318,3 @@
color: var( --color-base--emphasized ); color: var( --color-base--emphasized );
} }
} }

查看文件

@ -83,4 +83,3 @@
} }
} }
} }

查看文件

@ -78,4 +78,3 @@
.checkbox strong { .checkbox strong {
color: var( --color-base ); color: var( --color-base );
} }

查看文件

@ -32,4 +32,3 @@
content: none; content: none;
} }
} }

查看文件

@ -23,4 +23,3 @@
} }
} }
} }

查看文件

@ -129,4 +129,3 @@ ul.tagadata li.tagadata-choice .tagadata-label input:focus {
.wikibase-entitytermsview .wikibase-toolbar-container { .wikibase-entitytermsview .wikibase-toolbar-container {
background-color: var( --color-surface-1 ); background-color: var( --color-surface-1 );
} }