Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Configure sourceType for *.cjs files.
Anders Kaseorg30eabb9d6cfd
diff --git a/.eslintrc.js b/.eslintrc.jsindex d9f3c8d6760..84d5b432afe 100644--- a/.eslintrc.js+++ b/.eslintrc.js@@ -136,6 +136,12 @@ module.exports = {yoda: "error",},overrides: [+ {+ files: ["*.cjs"],+ parserOptions: {+ sourceType: "script",+ },+ },{files: ["web/tests/**"],rules: {