chore(lint): Add chai globals to eslint config
- It will prevent ignore 'no-undef' errors for expect. We are globally registered the expect.
This commit is contained in:
1 parent
fcda60fe5b
commit
b9863e5eee
1 file changed
+1
@@ -14,6 +14,7 @@ export default [
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.node, // Add Node.js globals
|
||||
...globals.chai, // Add Chai globals
|
||||
},
|
||||
ecmaVersion: 2023,
|
||||
sourceType: "module",
|
||||
|
||||
Reference in new issue
Block a user