Skip to content

Commit e6c97b8

Browse files
committed
build: various deps updates
1 parent 6e0f236 commit e6c97b8

4 files changed

Lines changed: 780 additions & 907 deletions

File tree

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
const globals = require("globals");
2-
const js = require("@eslint/js");
3-
const tseslint = require("typescript-eslint");
1+
import globals from "globals";
2+
import js from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import pluginChaiFriendly from "eslint-plugin-chai-friendly";
45

5-
module.exports = [
6+
export default [
67
{
78
ignores: [
89
"node_modules/**",
@@ -27,6 +28,7 @@ module.exports = [
2728
...globals.node,
2829
},
2930
},
31+
plugins: { "chai-friendly": pluginChaiFriendly },
3032
rules: {
3133
"no-const-assign": "warn",
3234
"no-this-before-super": "warn",
@@ -38,6 +40,9 @@ module.exports = [
3840
"prefer-const": "error",
3941
"no-var": "error",
4042
"arrow-body-style": ["error", "always"],
43+
"no-unused-expressions": "off",
44+
"chai-friendly/no-unused-expressions": "error",
45+
"@typescript-eslint/no-unused-expressions": "off",
4146
},
4247
},
4348
];

0 commit comments

Comments
 (0)