|
|
d903274d73
|
Other: Require trailing commas for multiline for most
Require trailing commas for multiline for arrays, objects, imports and
exports and disallow trailing commas for functions.
Do this by updating the ESLint config and fixing new complaints.
The reason for this change are the resulting future cleaner version
diffs.
Also see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas
https://eslint.org/docs/latest/rules/comma-dangle
|
2023-10-05 14:50:36 +02:00 |
|
|
|
a1188d5684
|
Breaking: Migrate extension to the new ESM system of GNOME 45
Migrate with the help of, among others, the following resources:
https://blogs.gnome.org/shell-dev/2023/09/02/extensions-in-gnome-45/
https://gjs.guide/extensions/upgrading/gnome-shell-45.html
Only support GNOME Shell version 45, since only 45 is compatible with
the new ESM system.
Since panel._originalAddToPanelBox is no longer valid, just overwrite
using the prototype on disable.
Add "sourceType": "module" to eslintrc.yml to get rid of:
"Parsing error: 'import' and 'export' may appear only with 'sourceType:
module'"
See here:
https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
|
2023-10-04 03:57:35 +02:00 |
|
|
|
cedb54ed64
|
Other: Disallow omitting curly braces and enforce one true brace style
Do this by updating the ESLint config accordingly and also fix new
complaints.
|
2023-01-28 23:34:15 +01:00 |
|
|
|
8de94d6b01
|
Other: Add whitespace rules from GJS Style Guide and fix complaints
Add whitespace rules from GJS Style Guide to ESLint config and fix new
complaints.
See here for the GJS Style guide whitespace section:
https://gjs.guide/guides/gjs/style-guide.html#whitespace
|
2023-01-28 23:13:46 +01:00 |
|
|
|
ba373e9e49
|
Other: Mark AppIndicator/KStatusNotifierItem addition as broken
|
2023-01-27 21:44:59 +01:00 |
|
|
|
062bc9ae26
|
Other: Allow underscore-prefixed unused arguments in ESLint config
|
2023-01-24 19:26:08 +01:00 |
|
|
|
17d7bd23b4
|
Other: Set ecmaVersion to 2022 for ESLint to sup. priv. class feat.
|
2023-01-24 19:12:38 +01:00 |
|
|
|
b938d7a28f
|
Other: Introduce ESLint for code linting
|
2021-05-17 17:45:22 +02:00 |
|