mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
ci(lint): ensure linted results are pushed for build to pass (#25196)
This commit is contained in:
@ -18,3 +18,10 @@ runs:
|
|||||||
run: npm run lint
|
run: npm run lint
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
|
# Lint changes should be pushed
|
||||||
|
# to the branch before the branch
|
||||||
|
# is merge eligible.
|
||||||
|
- name: Check Lint Results
|
||||||
|
run: git diff --exit-code
|
||||||
|
shell: bash
|
||||||
|
working-directory: ./core
|
||||||
|
@ -4,7 +4,6 @@ import { Component, Element, Host, Prop, h } from '@stencil/core';
|
|||||||
import { getIonMode } from '../../global/ionic-global';
|
import { getIonMode } from '../../global/ionic-global';
|
||||||
import { findIonContent, getScrollElement, printIonContentErrorMsg } from '../../utils/content';
|
import { findIonContent, getScrollElement, printIonContentErrorMsg } from '../../utils/content';
|
||||||
|
|
||||||
|
|
||||||
import { handleFooterFade } from './footer.utils';
|
import { handleFooterFade } from './footer.utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,6 @@ import { Component, Element, Event, Host, Method, Prop, State, Watch, h, readTas
|
|||||||
import { getIonMode } from '../../global/ionic-global';
|
import { getIonMode } from '../../global/ionic-global';
|
||||||
import { findClosestIonContent, getScrollElement, printIonContentErrorMsg } from '../../utils/content';
|
import { findClosestIonContent, getScrollElement, printIonContentErrorMsg } from '../../utils/content';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-infinite-scroll',
|
tag: 'ion-infinite-scroll',
|
||||||
styleUrl: 'infinite-scroll.scss',
|
styleUrl: 'infinite-scroll.scss',
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import type { ComponentInterface, EventEmitter } from '@stencil/core';
|
import type { ComponentInterface, EventEmitter } from '@stencil/core';
|
||||||
import { Component, Element, Event, Host, Method, Prop, State, Watch, h, readTask, writeTask } from '@stencil/core';
|
import { Component, Element, Event, Host, Method, Prop, State, Watch, h, readTask, writeTask } from '@stencil/core';
|
||||||
|
|
||||||
|
|
||||||
import { getIonMode } from '../../global/ionic-global';
|
import { getIonMode } from '../../global/ionic-global';
|
||||||
import type { Animation, Gesture, GestureDetail, RefresherEventDetail } from '../../interface';
|
import type { Animation, Gesture, GestureDetail, RefresherEventDetail } from '../../interface';
|
||||||
import { getTimeGivenProgression } from '../../utils/animation/cubic-bezier';
|
import { getTimeGivenProgression } from '../../utils/animation/cubic-bezier';
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import type { ComponentInterface, EventEmitter } from '@stencil/core';
|
import type { ComponentInterface, EventEmitter } from '@stencil/core';
|
||||||
import { Component, Element, Event, Host, Method, Prop, State, Watch, h } from '@stencil/core';
|
import { Component, Element, Event, Host, Method, Prop, State, Watch, h } from '@stencil/core';
|
||||||
|
|
||||||
|
|
||||||
import { getIonMode } from '../../global/ionic-global';
|
import { getIonMode } from '../../global/ionic-global';
|
||||||
import type { Gesture, GestureDetail, ItemReorderEventDetail } from '../../interface';
|
import type { Gesture, GestureDetail, ItemReorderEventDetail } from '../../interface';
|
||||||
import { findClosestIonContent, getScrollElement } from '../../utils/content';
|
import { findClosestIonContent, getScrollElement } from '../../utils/content';
|
||||||
|
@ -8,13 +8,7 @@ import type {
|
|||||||
import { test as base } from '@playwright/test';
|
import { test as base } from '@playwright/test';
|
||||||
|
|
||||||
import { initPageEvents } from './page/event-spy';
|
import { initPageEvents } from './page/event-spy';
|
||||||
import {
|
import { getSnapshotSettings, goto as goToPage, setIonViewport, spyOnEvent, waitForChanges } from './page/utils';
|
||||||
getSnapshotSettings,
|
|
||||||
goto as goToPage,
|
|
||||||
setIonViewport,
|
|
||||||
spyOnEvent,
|
|
||||||
waitForChanges,
|
|
||||||
} from './page/utils';
|
|
||||||
import type { E2EPage } from './playwright-declarations';
|
import type { E2EPage } from './playwright-declarations';
|
||||||
|
|
||||||
type CustomTestArgs = PlaywrightTestArgs &
|
type CustomTestArgs = PlaywrightTestArgs &
|
||||||
|
Reference in New Issue
Block a user