diff --git a/karma.conf.cjs b/karma.conf.cjs index d72f88378a..febf1611b4 100644 --- a/karma.conf.cjs +++ b/karma.conf.cjs @@ -23,10 +23,12 @@ module.exports = function (config) { rules: [ { test: /\.(js|tsx?)$/, - use: [{ - loader: 'ts-loader', - options: { configFile: 'tsconfig.karma.json' } - }], + use: [ + { + loader: "ts-loader", + options: { configFile: "tsconfig.karma.json" }, + }, + ], exclude: /(node_modules)|(node\.spec\.ts)/, }, { @@ -47,7 +49,7 @@ module.exports = function (config) { extensions: [".ts", ".js"], }, stats: { warnings: false }, - devtool: 'inline-source-map' + devtool: "inline-source-map", }, }); }; diff --git a/package.json b/package.json index 5526607a70..a3df636c0f 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "*.ts": [ "eslint --fix" ], - "*.{ts,json,conf.js}": [ + "*.{ts,json,conf*.*js}": [ "prettier --write" ] } diff --git a/rollup.config.js b/rollup.config.js index fd6b347c40..2f62f9ed77 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,7 +8,7 @@ export default { "lib/create_waku": "dist/lib/create_waku.js", "lib/peer_discovery_dns": "dist/lib/peer_discovery_dns/index.js", "lib/peer_discovery_static_list": "dist/lib/peer_discovery_static_list.js", - "lib/predefined_bootstrap_nodes": "dist/lib/predefined_bootstrap_nodes.js" + "lib/predefined_bootstrap_nodes": "dist/lib/predefined_bootstrap_nodes.js", }, output: { dir: "bundle",