Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

17 changes: 17 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const ionic = require('@ionic/eslint-config/recommended');

module.exports = [
{
ignores: [
// eslint . --ext ts linted TypeScript only
'**/*.js',
'**/*.mjs',
'**/*.cjs',
'**/build/**',
'.build/**',
'**/dist/**',
'**/example-app/**',
],
},
...ionic,
];
2 changes: 1 addition & 1 deletion example-app/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
baseUrl: "http://localhost:5173",
setupNodeEvents(on, config) {
setupNodeEvents() {
// implement node event listeners here
},
},
Expand Down
3 changes: 2 additions & 1 deletion example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"terser": "^5.44.1",
"typescript": "^5.9.3",
"vite": "^7.3.2",
"vitest": "^0.34.6"
"vitest": "^0.34.6",
"eslint": "^10.0.0"
},
"overrides": {
"rollup": "4.60.1"
Expand Down
3 changes: 1 addition & 2 deletions example-app/src/components/ExploreContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import './ExploreContainer.css';

interface ContainerProps { }

const ExploreContainer: React.FC<ContainerProps> = () => {
const ExploreContainer: React.FC = () => {
return (
<div id="container">
<strong>Ready to create an app?</strong>
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"verify:web": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
"eslint": "eslint . --ext ts",
"eslint": "eslint .",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api KeyboardPlugin --output-readme README.md --output-json dist/docs.json",
Expand All @@ -52,7 +52,7 @@
"@capacitor/core": "next",
"@capacitor/docgen": "^0.3.0",
"@capacitor/ios": "next",
"@ionic/eslint-config": "^0.4.0",
"@ionic/eslint-config": "^0.5.0",
"@ionic/prettier-config": "^4.0.0",
"@ionic/swiftlint-config": "^2.0.0",
"@semantic-release/changelog": "^6.0.3",
Expand All @@ -61,7 +61,7 @@
"@semantic-release/github": "^12.0.2",
"@semantic-release/npm": "^13.1.2",
"@types/node": "^24.10.1",
"eslint": "^8.57.0",
"eslint": "^10.0.0",
"prettier": "^3.7.0",
"prettier-plugin-java": "^2.7.7",
"rimraf": "^6.1.2",
Expand All @@ -75,9 +75,6 @@
},
"prettier": "@ionic/prettier-config",
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"capacitor": {
"ios": {
"src": "ios"
Expand Down
Loading