Skip to content

Commit

Permalink
Fix lint and types
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha committed Sep 15, 2023
1 parent ca2e759 commit cd17a81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions npm/webpack-dev-server/src/helpers/createReactAppHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ function addCypressToWebpackEslintRulesInPlace (webpackConfig: Configuration) {

if (eslintPlugin) {
const cypressGlobalsRules = cypressGlobals
.reduce((acc, global) => {
acc[global] = 'writable';
.reduce<Record<string, string>>((acc, global) => {
acc[global] = 'writable'

return acc;
return acc
}, {})

eslintPlugin.options.baseConfig = {
Expand Down

0 comments on commit cd17a81

Please sign in to comment.