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 = {
|
module.exports = {
|
||||||
extends: ["stylelint-config-standard"],
|
extends: ['stylelint-config-standard'],
|
||||||
plugins: ["stylelint-plugin-defensive-css", "stylelint-plugin-logical-css"],
|
plugins: ['stylelint-plugin-defensive-css', 'stylelint-plugin-logical-css'],
|
||||||
rules: {
|
rules: {
|
||||||
"custom-property-empty-line-before": null,
|
'custom-property-empty-line-before': null,
|
||||||
"color-hex-length": "long",
|
'color-hex-length': 'long',
|
||||||
"plugin/use-defensive-css": [true, {
|
'plugin/use-defensive-css': [true, {
|
||||||
"accidental-hover": false,
|
'accidental-hover': false,
|
||||||
"background-repeat": true,
|
'background-repeat': true,
|
||||||
"custom-property-fallbacks": false,
|
'custom-property-fallbacks': false,
|
||||||
"flex-wrapping": false,
|
'flex-wrapping': false,
|
||||||
"scroll-chaining": false,
|
'scroll-chaining': false,
|
||||||
"vendor-prefix-grouping": true
|
'vendor-prefix-grouping': true,
|
||||||
}],
|
}],
|
||||||
"plugin/use-logical-properties-and-values": [true, {
|
'plugin/use-logical-properties-and-values': [true, {
|
||||||
"severity": "warning",
|
'severity': 'warning',
|
||||||
"disable-auto-fix": true,
|
'disable-auto-fix': true,
|
||||||
"ignore": ["overflow-y", "overflow-x"]
|
'ignore': ['overflow-y', 'overflow-x'],
|
||||||
}],
|
}],
|
||||||
"plugin/use-logical-units": [true, {
|
'plugin/use-logical-units': [true, {
|
||||||
"severity": "warning",
|
'severity': 'warning',
|
||||||
"disable-auto-fix": true,
|
'disable-auto-fix': true,
|
||||||
"ignore": ["dvh", "dvw"]
|
'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`
|
- 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
|
## \[[0.9.5](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.5)] - 2023-09-13
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
|
|
|
@ -48,7 +48,7 @@ function setLinks() {
|
||||||
for (const quickLink of QUICK_LINKS) {
|
for (const quickLink of QUICK_LINKS) {
|
||||||
const template = getCleanTemplateById('template-link-item');
|
const template = getCleanTemplateById('template-link-item');
|
||||||
|
|
||||||
const linkElement = template.querySelector('.link')
|
const linkElement = template.querySelector('.link');
|
||||||
linkElement.dataset.url = quickLink.url;
|
linkElement.dataset.url = quickLink.url;
|
||||||
linkElement.addEventListener('click', linkElementClickListener);
|
linkElement.addEventListener('click', linkElementClickListener);
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,7 @@ export interface SpaceApi {
|
||||||
*/
|
*/
|
||||||
matrix?: string;
|
matrix?: string;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[]
|
}[],
|
||||||
];
|
];
|
||||||
/**
|
/**
|
||||||
* URL of the IRC channel
|
* URL of the IRC channel
|
||||||
|
@ -833,7 +833,7 @@ export interface SpaceApi {
|
||||||
*/
|
*/
|
||||||
description?: string;
|
description?: string;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[]
|
}[],
|
||||||
];
|
];
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue