Skip to content

Commit 5059adc

Browse files
IanVSleaanthony
andauthoredFeb 16, 2025··
[v3] Remove ESLint from templates (#4059)
* Remove eslint dependencies from templates * Add changelog --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>

File tree

5 files changed

+3
-24
lines changed

5 files changed

+3
-24
lines changed
 

‎docs/src/content/docs/changelog.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9494
- In JS/TS bindings, `internal.js/ts` model files have been removed; all models can now be found in `models.js/ts` by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
9595
- In JS/TS bindings, named types are never rendered as aliases for other named types; the old behaviour is now restricted to aliases by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
9696
- In JS/TS bindings, in class mode, struct fields whose type is a type parameter are marked optional and never initialised automatically by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
97+
- Remove ESLint from templates by by [@IanVS](https://github.com/IanVS) in [#4059](https://github.com/wailsapp/wails/pull/4059)
9798
- Update copyright date to 2025 by [@IanVS](https://github.com/IanVS) in [#4037](https://github.com/wailsapp/wails/pull/4037)
9899
- Add docs for event.Sender by [@IanVS](https://github.com/IanVS) in [#4075](https://github.com/wailsapp/wails/pull/4075)
99100
- Go 1.24 support by [@leaanthony](https://github.com/leaanthony)

‎v3/internal/templates/react-swc-ts/frontend/package.json

-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"dev": "vite",
88
"build:dev": "tsc && vite build --minify false --mode development",
99
"build": "tsc && vite build --mode production",
10-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1110
"preview": "vite preview"
1211
},
1312
"dependencies": {
@@ -17,12 +16,7 @@
1716
"devDependencies": {
1817
"@types/react": "^18.2.43",
1918
"@types/react-dom": "^18.2.17",
20-
"@typescript-eslint/eslint-plugin": "^6.14.0",
21-
"@typescript-eslint/parser": "^6.14.0",
2219
"@vitejs/plugin-react-swc": "^3.5.0",
23-
"eslint": "^8.55.0",
24-
"eslint-plugin-react-hooks": "^4.6.0",
25-
"eslint-plugin-react-refresh": "^0.4.5",
2620
"typescript": "^5.2.2",
2721
"vite": "^5.0.8",
2822
"@wailsio/runtime": "latest"

‎v3/internal/templates/react-swc/frontend/package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"dev": "vite",
88
"build:dev": "vite build --minify false --mode development",
99
"build": "vite build --mode production",
10-
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
1110
"preview": "vite preview"
1211
},
1312
"dependencies": {
@@ -18,11 +17,7 @@
1817
"@types/react": "^18.2.43",
1918
"@types/react-dom": "^18.2.17",
2019
"@vitejs/plugin-react-swc": "^3.5.0",
21-
"eslint": "^8.55.0",
22-
"eslint-plugin-react": "^7.33.2",
23-
"eslint-plugin-react-hooks": "^4.6.0",
24-
"eslint-plugin-react-refresh": "^0.4.5",
2520
"vite": "^5.0.8",
2621
"@wailsio/runtime": "latest"
2722
}
28-
}
23+
}

‎v3/internal/templates/react-ts/frontend/package.json

-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"dev": "vite",
88
"build:dev": "tsc && vite build --minify false --mode development",
99
"build": "tsc && vite build --mode production",
10-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1110
"preview": "vite preview"
1211
},
1312
"dependencies": {
@@ -17,12 +16,7 @@
1716
"devDependencies": {
1817
"@types/react": "^18.2.43",
1918
"@types/react-dom": "^18.2.17",
20-
"@typescript-eslint/eslint-plugin": "^6.14.0",
21-
"@typescript-eslint/parser": "^6.14.0",
2219
"@vitejs/plugin-react": "^4.2.1",
23-
"eslint": "^8.55.0",
24-
"eslint-plugin-react-hooks": "^4.6.0",
25-
"eslint-plugin-react-refresh": "^0.4.5",
2620
"typescript": "^5.2.2",
2721
"vite": "^5.0.8",
2822
"@wailsio/runtime": "latest"

‎v3/internal/templates/react/frontend/package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"dev": "vite",
88
"build:dev": "vite build --minify false --mode development",
99
"build": "vite build --mode production",
10-
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
1110
"preview": "vite preview"
1211
},
1312
"dependencies": {
@@ -18,11 +17,7 @@
1817
"@types/react": "^18.2.43",
1918
"@types/react-dom": "^18.2.17",
2019
"@vitejs/plugin-react": "^4.2.1",
21-
"eslint": "^8.55.0",
22-
"eslint-plugin-react": "^7.33.2",
23-
"eslint-plugin-react-hooks": "^4.6.0",
24-
"eslint-plugin-react-refresh": "^0.4.5",
2520
"vite": "^5.0.8",
2621
"@wailsio/runtime": "latest"
2722
}
28-
}
23+
}

0 commit comments

Comments
 (0)
Please sign in to comment.