From 3c98eaf830ff3518f5475827ac0168d2582d36f3 Mon Sep 17 00:00:00 2001 From: oweitman Date: Fri, 2 Aug 2024 02:13:47 +0200 Subject: [PATCH] chore: release v1.4.10 - switch to eslint 9 - adjust markdownlint settings to be compatible with prettier --- .markdownlint.json | 10 +++++++++ .prettierrc.js | 7 ++++++- README.md | 51 +++++++++++++++++++++++++++++++++------------- io-package.json | 28 ++++++++++++------------- package-lock.json | 4 ++-- package.json | 4 ++-- 6 files changed, 71 insertions(+), 33 deletions(-) create mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..0fa289c --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,10 @@ +{ + "list-marker-space": { + "ul_multi": 3, + "ul_single": 3 + }, + "ul-indent": { + "indent": 4 + }, + "first-line-heading": false +} diff --git a/.prettierrc.js b/.prettierrc.js index 2e89362..7b22be1 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -4,6 +4,11 @@ module.exports = { singleQuote: false, printWidth: 120, useTabs: false, - tabWidth: 4, + tabWidth: 2, endOfLine: "lf", + "overrides": [ + { + + } + ] }; diff --git a/README.md b/README.md index 7066be9..a6d243e 100755 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ If a season is spread over two years, please enter only the start year. Example data for 1. German Bundliga is shortcut = bl1 season = 2023 -If you saved and closed the configuration, a short while after this there must be new datapoints for your league and season. +If you saved and closed the configuration, a short while after this there must +be new datapoints for your league and season. ## vis and Widgets @@ -43,7 +44,8 @@ This widget show goal getters of this season ### Gameday -All games of the actual or selected gameday. There are many widget-attributes to configure the amount of the displayed data +All games of the actual or selected gameday. There are many widget-attributes +to configure the amount of the displayed data ### Games of favorite clubs @@ -65,7 +67,8 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat - ~~documentation adapter / widget~~ - ~~fix issue for dynamic with of club column~~ - ~~new widget: next x games of club~~ -- ~~widget gameday setting for start gameday an length (-1,3 = show previous gameday and 3 gamedays after that)~~ +- ~~widget gameday setting for start gameday an length (-1,3 = show previous + gameday and 3 gamedays after that)~~ - ~~Replacement value for edit mode if showgameday is set with binding~~ - ~~highlight favorite club~~ - ~~controllable gameday in the gameday widget~~ @@ -76,6 +79,11 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> +### 1.4.10 (2024-08-02) + +- switch to eslint 9 +- adjust markdownlint settings to be compatible with prettier + ### 1.4.9 (2024-06-13) - fix if no game exist for team1/team2 @@ -185,14 +193,17 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat ### 0.11.1 -- change some template settings, goalgetter table get headers, add object change sensing +- change some template settings, goalgetter table get headers, + add object change sensing - widget goalgetters: add parameter highlight and showonlyhighlight - widget pivottable: add sort option and choice to place favorite teams on top - remove year from date for several widgets ### 0.11.0 -- extend table to calculate with x last games and extend table to calculate ranking for a defined gameday, to ensure backward compatibility i have to create a new table v3 widget +- extend table to calculate with x last games and extend table to calculate + ranking for a defined gameday, to ensure backward compatibility i have to + create a new table v3 widget - extend table with trend sign (arrow up/down, point for no change) - new widget goal getter ranking with sort function - new widget pivot table of played games @@ -200,21 +211,27 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat ### 0.10.3 -- change computing and output logic of gameday widget to mark gameday header with favorite class +- change computing and output logic of gameday widget to mark gameday + header with favorite class - improve documentation with css-klasses for table widget - bugfix for calculate gameday. ### 0.10.2 -- Add data column goaldiff to table widget, improve more documentation (systax highlighting,copy code function), add example to control gameday with buttons, +- Add data column goaldiff to table widget, improve more documentation + (systax highlighting,copy code function), add example to + control gameday with buttons, ### 0.10.1 -- Improve documentation with more recipes and syntax highlighting, improve code to get and subscribe states +- Improve documentation with more recipes and syntax highlighting, + improve code to get and subscribe states ### 0.10.0 -- New widget Table 2 that includes the calculation of the total, home and away results. the previous widget is now deprecated, due to the different datapoint (allmatches) to be selected. +- New widget Table 2 that includes the calculation of the total, home and + away results. the previous widget is now deprecated, due to the + different datapoint (allmatches) to be selected. ### 0.9.3 @@ -230,11 +247,14 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat ### 0.9.0 -- new Function for vis Binding to search for games at the actual day for favorite clubs, css-classes für games at actual day, fix bug to show the right match results, +- new Function for vis Binding to search for games at the actual day for + favorite clubs, css-classes für games at actual day, fix bug to show + the right match results, ### 0.8.0 -- push version for latest repository. fix some typos. fix a problem with date handling on different OS +- push version for latest repository. fix some typos. fix a problem with + date handling on different OS ### 0.0.11 @@ -246,11 +266,13 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat ### 0.0.9 -- optional weekday for widgets: gameday and gamesoffavclub,highlight the clubname in gamesoffavclub +- optional weekday for widgets: gameday and gamesoffavclub,highlight the + clubname in gamesoffavclub ### 0.0.8 -- new widget games of favorite clubs with multi league support as replacement for the old one +- new widget games of favorite clubs with multi league support as + replacement for the old one ### 0.0.7 @@ -264,7 +286,8 @@ Documentation for the vis-widgets are available inside vis or [Widget-Documentat - highlight favorite club, - Replacement value for edit mode if showgameday is set with binding, -- widget gameday setting for start gameday an length (-1,3 = show previous gameday and 3 gamedays after that) +- widget gameday setting for start gameday an length (-1,3 = show previous + gameday and 3 gamedays after that) - some documentation - remove unused code - new widget: next x games of club diff --git a/io-package.json b/io-package.json index f17cc7e..b29ca64 100755 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "openligadb", - "version": "1.4.9", + "version": "1.4.10", "news": { + "1.4.10": { + "en": "switch to eslint 9\nadjust markdownlint settings to be compatible with prettier", + "de": "schalter zu eslint 9\nmarkdownlint-einstellungen anpassen, um kompatibel mit der prättier", + "ru": "переход на eslint 9\nнастроить настройки markdownlint, чтобы быть совместимым с prettier", + "pt": "mudar para eslint 9\najustar as configurações do markdownlint para ser compatível com mais", + "nl": "schakelen naar eslint 9\nmarkdownlintinstellingen aanpassen om compatibel te zijn met mooier", + "fr": "passer à eslint 9\najuster les paramètres de balisage pour être compatible avec le meilleur", + "it": "passare a eslint 9\nregolare le impostazioni di markdownlint per essere compatibili con le impostazioni più belle", + "es": "interruptor a eslint 9\najustar la configuración de marcado para ser compatible con", + "pl": "przełącz na eslint 9\ndostosować ustawienia markdownlint, aby były kompatybilne z ładniejszymi", + "uk": "вимикач до eslint 9\nналаштування відмітки, щоб бути сумісними з претензією", + "zh-cn": "切换到 eslint 9\n调整标记下lint 设置以与更美的设置兼容" + }, "1.4.9": { "en": "fix if no game exist for team1/team2\nsomme prettier changes\nlaunch config for vscode", "de": "fix, wenn kein spiel existiert für team1/team2\nsomme prettier änderungen\nstart config für vscode", @@ -80,19 +93,6 @@ "pl": "Włącz NPM Publikuj\nWłącz zależny\npoprawianie kontroli z kontrolera adaptera", "uk": "Увімкнути NPM Публікація\nУвімкнути залежності\nфіксувати перевірки з адаптера", "zh-cn": "启用国家预防机制 发布\n启用依托保护\n适配器检查器的固定检查" - }, - "1.4.3": { - "en": "remove files from eslint check", - "de": "dateien vom eslint-check entfernen", - "ru": "удалить файлы из eslint", - "pt": "remover arquivos da verificação eslint", - "nl": "bestanden verwijderen van eslint check", - "fr": "supprimer les fichiers de vérification eslint", - "it": "rimuovere i file dal controllo eslint", - "es": "quitar archivos de la comprobación de eslint", - "pl": "usunąć pliki z sprawdzania eslintu", - "uk": "видалити файли з перевірки eslint", - "zh-cn": "从 eslint 检查中删除文件" } }, "titleLang": { diff --git a/package-lock.json b/package-lock.json index 7911b7c..1ca7b08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.openligadb", - "version": "1.4.9", + "version": "1.4.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.openligadb", - "version": "1.4.9", + "version": "1.4.10", "license": "MIT", "dependencies": { "@iobroker/adapter-core": "^3.1.6" diff --git a/package.json b/package.json index ac76744..78d074f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.openligadb", - "version": "1.4.9", + "version": "1.4.10", "description": "ioBroker Adapter to get soccer sport match results from OpenLigaDB", "author": { "name": "oweitman", @@ -76,7 +76,7 @@ "check": "tsc --noEmit -p tsconfig.check.json", "lint": "eslint .", "translate": "translate-adapter", - "release": "release-script" + "release": "release-script --all" }, "bugs": { "url": "https://github.com/oweitman/ioBroker.openligadb/issues"