MOBILE-3947 chore: Remove old ionic migration
parent
07f661e5ab
commit
a76b18a127
|
@ -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
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue