From a76b18a127eae468da955252bcb9e4d01f6d27d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 7 Nov 2023 09:46:57 +0100 Subject: [PATCH] MOBILE-3947 chore: Remove old ionic migration --- .github/workflows/migration.yml | 18 -------------- ionic-migration.json | 43 --------------------------------- 2 files changed, 61 deletions(-) delete mode 100644 .github/workflows/migration.yml delete mode 100644 ionic-migration.json diff --git a/.github/workflows/migration.yml b/.github/workflows/migration.yml deleted file mode 100644 index 360a4361b..000000000 --- a/.github/workflows/migration.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Migration checks - -on: workflow_dispatch - -jobs: - checks: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' - - run: npm ci --no-audit - - run: result=$(find src -type f -iname '*.html' -exec sh -c 'cat {} | tr "\n" " " | grep -Eo "class=\"[^\"]+\"[^>]+class=\"" ' \; | wc -l); test $result -eq 0 - - run: npm install -D @ionic/v4-migration-tslint - - run: npx tslint -c ionic-migration.json -p tsconfig.json diff --git a/ionic-migration.json b/ionic-migration.json deleted file mode 100644 index 8da798098..000000000 --- a/ionic-migration.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "rulesDirectory": ["@ionic/v4-migration-tslint/rules"], - "rules": { - "ion-action-sheet-method-create-parameters-renamed": true, - "ion-alert-method-create-parameters-renamed": true, - "ion-back-button-not-added-by-default": { "options": [true], "severity": "warning" }, - "ion-button-attributes-renamed": true, - "ion-button-is-now-an-element": true, - "ion-buttons-attributes-renamed": true, - "ion-col-attributes-renamed": true, - "ion-datetime-capitalization-changed": true, - "ion-fab-attributes-renamed": true, - "ion-fab-button-is-now-an-element": true, - "ion-fab-fixed-content": true, - "ion-icon-attribute-is-active-removed": true, - "ion-item-attributes-renamed": true, - "ion-item-divider-ion-label-required": true, - "ion-item-ion-label-required": true, - "ion-item-is-now-an-element": true, - "ion-item-option-is-now-an-element": true, - "ion-item-option-method-get-sliding-percent-renamed": true, - "ion-item-options-attribute-values-renamed": true, - "ion-label-attributes-renamed": true, - "ion-list-header-ion-label-required": true, - "ion-loading-method-create-parameters-renamed": true, - "ion-menu-events-renamed": true, - "ion-menu-toggle-is-now-an-element": true, - "ion-navbar-is-now-ion-toolbar": true, - "ion-option-is-now-ion-select-option": true, - "ion-overlay-method-create-should-use-await": true, - "ion-overlay-method-present-should-use-await": { "options": [true], "severity": "warning" }, - "ion-radio-attributes-renamed": true, - "ion-radio-group-is-now-an-element": true, - "ion-radio-slot-required": true, - "ion-range-attributes-renamed": true, - "ion-segment-button-ion-label-required": true, - "ion-spinner-attribute-values-renamed": true, - "ion-tabs-refactored": { "options": [true], "severity": "warning" }, - "ion-text-is-now-an-element": true - } -} - -