From d81bbf083a3cf0b38ab76ba99aea633a87b9f22f Mon Sep 17 00:00:00 2001 From: lisonge Date: Thu, 14 Sep 2023 14:12:48 +0800 Subject: [PATCH] chore: format+lint --- .prettierignore | 3 ++- src/apps/com.jxedt.ts | 41 +++++++++++++++++++------------------- src/apps/com.njh.biubiu.ts | 12 +++++------ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.prettierignore b/.prettierignore index 8336f4fd..95e35ce0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,5 +3,6 @@ pnpm-workspace.yaml LICENCE dist -# README.md by pnpm build + README.md +CHANGELOG.md diff --git a/src/apps/com.jxedt.ts b/src/apps/com.jxedt.ts index 6d3f9551..dee8eed9 100644 --- a/src/apps/com.jxedt.ts +++ b/src/apps/com.jxedt.ts @@ -1,24 +1,23 @@ import { defineAppConfig } from '../types'; export default defineAppConfig({ - id: 'com.jxedt', - name: '驾校一点通', - groups: [ - { - key: 1, - name: '首页广告', - activityIds: ['com.jxedt.ui.activitys.GuideActivity'], - rules: [ - { - matches: '[id="com.jxedt:id/tv_guide_tiaoguo" || text*="跳过"]', - snapshotUrls: [ - 'https://gkd-kit.gitee.io/import/12605051', - 'https://gkd-kit.gitee.io/import/12605053', - 'https://gkd-kit.gitee.io/import/12605057', - ], - }, - ], - }, - ], - } -); \ No newline at end of file + id: 'com.jxedt', + name: '驾校一点通', + groups: [ + { + key: 1, + name: '首页广告', + activityIds: ['com.jxedt.ui.activitys.GuideActivity'], + rules: [ + { + matches: '[id="com.jxedt:id/tv_guide_tiaoguo" || text*="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12605051', + 'https://gkd-kit.gitee.io/import/12605053', + 'https://gkd-kit.gitee.io/import/12605057', + ], + }, + ], + }, + ], +}); diff --git a/src/apps/com.njh.biubiu.ts b/src/apps/com.njh.biubiu.ts index d42522a9..bd9456fb 100644 --- a/src/apps/com.njh.biubiu.ts +++ b/src/apps/com.njh.biubiu.ts @@ -1,17 +1,17 @@ -import { defineAppConfig } from "../types"; +import { defineAppConfig } from '../types'; export default defineAppConfig({ - id: "com.njh.biubiu", - name: `biubiu加速器`, + id: 'com.njh.biubiu', + name: 'biubiu加速器', groups: [ { key: 0, - name: "开屏广告", - activityIds: "com.njh.ping.business.base.activity.BusinessActivity", + name: '开屏广告', + activityIds: 'com.njh.ping.business.base.activity.BusinessActivity', rules: [ { matches: '[text="跳过"]', - snapshotUrls: "https://gkd-kit.gitee.io/import/12512845", + snapshotUrls: 'https://gkd-kit.gitee.io/import/12512845', }, ], },