Narrow linting rules and fix for eslintrc for js files

This commit is contained in:
hensm
2022-04-27 22:28:38 +01:00
parent 5e2d9a2fbc
commit dececa46c3
27 changed files with 298 additions and 246 deletions

View File

@@ -53,7 +53,7 @@ const preactCompatPlugin = {
"../node_modules/preact/compat/dist/compat.module.js"
);
build.onResolve({ filter: /^(react|react-dom)$/ }, args => ({
build.onResolve({ filter: /^(react|react-dom)$/ }, () => ({
path: preactPath
}));
}