Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 20, 2024
1 parent faff4a8 commit 99ca822
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export default [
jsx: true,
},
},
sourceType: "module",
sourceType: "commonjs",
},

rules: {
// strict: ["error", "global"],
strict: ["error", "global"],
"no-empty": ["error", { allowEmptyCatch: true }],
// "no-multi-assign": 0,
"func-names": ["error", "as-needed"],
Expand Down Expand Up @@ -92,10 +92,9 @@ export default [
},
},
{
files: ["server/ctl.js"],
rules: {
"n/no-unsupported-features/es-syntax": "off",
"n/no-unsupported-features/es-syntax": "off",
files: ["packages/client/**/*.js"],
languageOptions: {
sourceType: "module",
},
},
];

0 comments on commit 99ca822

Please sign in to comment.