Skip to content

Commit 091b2b6

Browse files
authored
Fiddle: update to use eslint 9 (#113)
1 parent cca10d3 commit 091b2b6

File tree

12 files changed

+823
-1007
lines changed

12 files changed

+823
-1007
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1414
- [MINOR] Added react-app-ssr-vite to build SSR apps with vite
1515
- [MINOR] Added react-app-static-vite to build SSR apps with vite
1616
- [MAJOR] Update ssr and static rendering to work with react 19 (requires setting NODE_ENV externally)
17+
- [MINOR] Update to use eslint 9
1718

1819
### Changed
1920

config.build.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
/* eslint-disable */
1+
22
export default (config) => {
3-
config.eslintConfigOverride = {
3+
const newConfig = config;
4+
newConfig.eslintConfigOverride = {
45
rules: {
56
'no-console': 'off',
7+
'class-methods-use-this': 'off',
68
},
79
};
8-
return config;
10+
return newConfig;
911
};

0 commit comments

Comments
 (0)