-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Bump dependencies to pass audit
- Loading branch information
1 parent
11d1d66
commit 102c659
Showing
6 changed files
with
8,691 additions
and
11,191 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1 @@ | ||
v16.14.0 | ||
v22.9.0 |
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,44 @@ | ||
import globals from "globals"; | ||
import babelParser from "@babel/eslint-parser"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import js from "@eslint/js"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
import { includeIgnoreFile } from "@eslint/compat"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
const gitignorePath = path.resolve(__dirname, ".gitignore"); | ||
export default [ | ||
includeIgnoreFile(gitignorePath), | ||
{ | ||
ignores: ["eslint.config.mjs", "support/", "gulpfile.js"] | ||
}, | ||
...compat.extends("prettier"), { | ||
plugins: {}, | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.mocha, | ||
...globals.node, | ||
globals: true, | ||
expect: true, | ||
faker: true, | ||
fixture: true, | ||
sinon: true, | ||
}, | ||
parser: babelParser, | ||
ecmaVersion: 6, | ||
sourceType: "module", | ||
}, | ||
|
||
rules: { | ||
"no-unused-expressions": "off", | ||
}, | ||
}]; |
Oops, something went wrong.