Skip to content

Commit 25857a8

Browse files
committed
Fixes from lint run
1 parent 66dbf39 commit 25857a8

File tree

1,282 files changed

+1501
-1380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,282 files changed

+1501
-1380
lines changed

_templates/playground/new/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = {
7272

7373
const playgroundName = changeCase.pascal(answers.path.split('/').pop());
7474
console.log(
75-
`\nTo use this playground in a docs markdown file, include\nthe following:\n\n## ${playgroundName}\n\nimport ${playgroundName} from '@site/static/usage/v${answers.version}/${answers.name}/${answers.path}/index.md';\n\n<${playgroundName} />\n`
75+
`\nTo use this playground in a docs markdown file, include\nthe following:\n\n## ${playgroundName}\n\nimport ${playgroundName} from '@site/static/usage/v${answers.version}/${answers.name}/${answers.path}/index.md';\n\n<${playgroundName} />\n`,
7676
);
7777

7878
return answers;

docs/developer-resources/guides/first-app-v4/intro.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ Download/install these right away to ensure an optimal Ionic development experie
1212

1313
- [Git](https://git-scm.com/downloads) for version control.
1414
- <strong>SSH client</strong>, such as [PuTTy](https://www.putty.org/), for secure login to Appflow.
15-
- <strong>Node.js</strong> for interacting with the Ionic ecosystem. [Download the LTS version here](https://nodejs.org/en/).
16-
- <strong>A code editor</strong> for... writing code! We are fans of [Visual Studio Code](https://code.visualstudio.com/).
15+
- <strong>Node.js</strong> for interacting with the Ionic ecosystem. [Download the LTS version
16+
here](https://nodejs.org/en/).
17+
- <strong>A code editor</strong> for... writing code! We are fans of [Visual Studio
18+
Code](https://code.visualstudio.com/).
1719
- <strong>Command-line terminal (CLI)</strong>: FYI <strong>Windows</strong> users, for the best Ionic experience, we
18-
recommend the built-in command line (cmd) or the Powershell CLI, running in Administrator mode. For <strong>
19-
Mac/Linux
20-
</strong> users, virtually any terminal will work.
20+
recommend the built-in command line (cmd) or the Powershell CLI, running in Administrator mode. For
21+
<strong>Mac/Linux</strong> users, virtually any terminal will work.
2122

2223
## Install Ionic and Cordova
2324

docs/react/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ type UseIonRouterResult = {
607607
routerDirection?: RouterDirection,
608608
routeAction?: RouteAction,
609609
routerOptions?: RouterOptions,
610-
animationBuilder?: AnimationBuilder
610+
animationBuilder?: AnimationBuilder,
611611
): void;
612612
/**
613613
* Navigates backwards in history, using the IonRouter to determine history

docs/react/testing/unit-testing/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('example', async () => {
4141
render(
4242
<IonApp>
4343
<Example />
44-
</IonApp>
44+
</IonApp>,
4545
);
4646

4747
await user.click(screen.getByRole('button', { name: /click me!/i }));

docs/react/testing/unit-testing/examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test('button presents a modal when clicked', async () => {
3737
render(
3838
<IonApp>
3939
<Example />
40-
</IonApp>
40+
</IonApp>,
4141
);
4242
// Simulate a click on the button
4343
fireEvent.click(screen.getByText('Open'));
@@ -99,7 +99,7 @@ test('should present ModalContent when button is clicked', async () => {
9999
render(
100100
<IonApp>
101101
<Example />
102-
</IonApp>
102+
</IonApp>,
103103
);
104104
// Simulate a click on the button
105105
fireEvent.click(screen.getByText('Open'));

docs/reference/browser-support.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Ionic supports the following browsers:
4040

4141
| Browser | Ionic v8 | Ionic v7 | Ionic v6 | Ionic v5 | Ionic v4 |
4242
| :---------: | :------: | :------: | :------: | :------: | :------: |
43-
| **Chrome** | 89+ | 79+ | 60+ | | |
44-
| **Safari** | 15+ | 14+ | 13+ | | |
45-
| **Edge** | 89+ | 79+ | 79+ | 79+ | |
46-
| **Firefox** | 75+ | 70+ | 63+ | | |
43+
| **Chrome** | 89+ | 79+ | 60+ |||
44+
| **Safari** | 15+ | 14+ | 13+ |||
45+
| **Edge** | 89+ | 79+ | 79+ | 79+ ||
46+
| **Firefox** | 75+ | 70+ | 63+ |||
4747
| **IE 11** | **X** | **X** | **X** | **X** | **X** |

docs/reference/support.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ The Ionic team has compiled a set of recommendations for using the Ionic Framewo
5252
| v3 | v5.2.11 | v5.2.11 | 2.6.2 |
5353

5454
[^1]: Angular 14.x supported starting in Ionic v6.1.9. Angular 15.x supported starting in Ionic v6.3.6.
55+
5556
[^2]: Angular 17.x supported starting in Ionic v7.5.4.
57+
5658
[^3]: Angular 18.x supported starting in Ionic v8.2.0.
5759

5860
**Angular 13+ Support On Older Versions of iOS**

docs/vue/pwa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if (process.env.NODE_ENV === 'production') {
7878
register(`${process.env.BASE_URL}service-worker.js`, {
7979
ready() {
8080
console.log(
81-
'App is being served from cache by a service worker.\n' + 'For more details, visit https://goo.gl/AFskqB'
81+
'App is being served from cache by a service worker.\n' + 'For more details, visit https://goo.gl/AFskqB',
8282
);
8383
},
8484
registered() {

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
if ((match = docPath.match(/cli\/commands\/(.*)\.md/)) != null) {
7272
return `https://github.com/ionic-team/ionic-cli/edit/develop/packages/@ionic/cli/src/commands/${match[1].replace(
7373
'-',
74-
'/'
74+
'/',
7575
)}.ts`;
7676
}
7777
if ((match = docPath.match(/native\/(.*)\.md/)) != null) {

plugins/docusaurus-plugin-ionic-component-api/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = function (context, options) {
7777
createData(`${basePath}/methods.md`, data.methods),
7878
createData(`${basePath}/parts.md`, data.parts),
7979
createData(`${basePath}/custom-props.mdx`, data.customProps),
80-
createData(`${basePath}/slots.md`, data.slots)
80+
createData(`${basePath}/slots.md`, data.slots),
8181
);
8282
}
8383

@@ -209,7 +209,7 @@ ${methods
209209
| **Description** | ${formatMultiline(method.docs)} |
210210
| **Signature** | \`${method.signature.replace(/\|/g, '\uff5c')}\` |
211211
${method.parameters.length !== 0 ? renderParameters(method.parameters) : ''}
212-
`
212+
`,
213213
)
214214
.join('\n')}
215215

0 commit comments

Comments
 (0)