-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ab598b
commit f004f08
Showing
24 changed files
with
7,610 additions
and
3,493 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import pluginJest from "eslint-plugin-jest"; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{ | ||
files: ["**/*.js"], | ||
languageOptions: { | ||
sourceType: "commonjs", // Change to "module" for ES6 | ||
globals: { | ||
...globals.browser, | ||
...globals.es2021, | ||
...globals.jest, // Add Jest globals | ||
}, | ||
}, | ||
}, | ||
pluginJs.configs.recommended, | ||
{ | ||
plugins: { | ||
jest: pluginJest, | ||
}, | ||
rules: { | ||
...pluginJest.configs.recommended.rules, | ||
"no-unused-vars": "warn", // Change no-unused-vars to a warning | ||
}, | ||
}, | ||
]; |
Empty file.
Oops, something went wrong.