Skip to content

Commit

Permalink
Merge pull request #352 from ndustrialio/fix-vulnerabilities
Browse files Browse the repository at this point in the history
fix(deps): Bump dependencies to pass audit
  • Loading branch information
mgagliardo91 authored Dec 10, 2024
2 parents 11d1d66 + 4ca7704 commit d07f94f
Show file tree
Hide file tree
Showing 46 changed files with 9,203 additions and 11,339 deletions.
24 changes: 0 additions & 24 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.14.0
v22.9.0
44 changes: 44 additions & 0 deletions eslint.config.mjs
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",
},
}];
Loading

0 comments on commit d07f94f

Please sign in to comment.