style: add missing semicolon, fix codestyle in `.stylelintrc.cjs` and `types.d.ts`
This commit is contained in:
parent
2e1fde4715
commit
460020f6cf
|
@ -1,26 +1,26 @@
|
|||
module.exports = {
|
||||
extends: ["stylelint-config-standard"],
|
||||
plugins: ["stylelint-plugin-defensive-css", "stylelint-plugin-logical-css"],
|
||||
extends: ['stylelint-config-standard'],
|
||||
plugins: ['stylelint-plugin-defensive-css', 'stylelint-plugin-logical-css'],
|
||||
rules: {
|
||||
"custom-property-empty-line-before": null,
|
||||
"color-hex-length": "long",
|
||||
"plugin/use-defensive-css": [true, {
|
||||
"accidental-hover": false,
|
||||
"background-repeat": true,
|
||||
"custom-property-fallbacks": false,
|
||||
"flex-wrapping": false,
|
||||
"scroll-chaining": false,
|
||||
"vendor-prefix-grouping": true
|
||||
'custom-property-empty-line-before': null,
|
||||
'color-hex-length': 'long',
|
||||
'plugin/use-defensive-css': [true, {
|
||||
'accidental-hover': false,
|
||||
'background-repeat': true,
|
||||
'custom-property-fallbacks': false,
|
||||
'flex-wrapping': false,
|
||||
'scroll-chaining': false,
|
||||
'vendor-prefix-grouping': true,
|
||||
}],
|
||||
"plugin/use-logical-properties-and-values": [true, {
|
||||
"severity": "warning",
|
||||
"disable-auto-fix": true,
|
||||
"ignore": ["overflow-y", "overflow-x"]
|
||||
'plugin/use-logical-properties-and-values': [true, {
|
||||
'severity': 'warning',
|
||||
'disable-auto-fix': true,
|
||||
'ignore': ['overflow-y', 'overflow-x'],
|
||||
}],
|
||||
"plugin/use-logical-units": [true, {
|
||||
"severity": "warning",
|
||||
"disable-auto-fix": true,
|
||||
"ignore": ["dvh", "dvw"]
|
||||
}]
|
||||
}
|
||||
'plugin/use-logical-units': [true, {
|
||||
'severity': 'warning',
|
||||
'disable-auto-fix': true,
|
||||
'ignore': ['dvh', 'dvw'],
|
||||
}],
|
||||
},
|
||||
};
|
||||
|
|
|
@ -12,6 +12,14 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
- Improve init of popup script and simplify `setLinks`
|
||||
|
||||
### 🎨 Styling
|
||||
|
||||
- Add missing semicolon, fix codestyle in `.stylelintrc.cjs` and `types.d.ts`
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update `@types/firefox-webext-browser`, `eslint`, `eslint-plugin-jsdoc`
|
||||
|
||||
## \[[0.9.5](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.5)] - 2023-09-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
|
|
@ -48,7 +48,7 @@ function setLinks() {
|
|||
for (const quickLink of QUICK_LINKS) {
|
||||
const template = getCleanTemplateById('template-link-item');
|
||||
|
||||
const linkElement = template.querySelector('.link')
|
||||
const linkElement = template.querySelector('.link');
|
||||
linkElement.dataset.url = quickLink.url;
|
||||
linkElement.addEventListener('click', linkElementClickListener);
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ export interface SpaceApi {
|
|||
*/
|
||||
matrix?: string;
|
||||
[k: string]: unknown;
|
||||
}[]
|
||||
}[],
|
||||
];
|
||||
/**
|
||||
* URL of the IRC channel
|
||||
|
@ -833,7 +833,7 @@ export interface SpaceApi {
|
|||
*/
|
||||
description?: string;
|
||||
[k: string]: unknown;
|
||||
}[]
|
||||
}[],
|
||||
];
|
||||
[k: string]: unknown;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue