Skip to content

Commit

Permalink
chore(deps-dev): bump eslint from 8.57.0 to 9.6.0 (#335)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump eslint from 8.57.0 to 9.6.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.0...v9.6.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: migrate to new eslint config format

Made by running "npx @eslint/migrate-config .eslintrc.js" and committing the
result.

Signed-off-by: Will Murphy <will.murphy@anchore.com>

* chore: serialize tests to prevent race in CI

Otherwise, multiple tests try to install grype, resulting in a test failing with
a timeout and "Spawn: ETXTBSY".

Signed-off-by: Will Murphy <will.murphy@anchore.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Will Murphy <will.murphy@anchore.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
dependabot[bot] and willmurphyscode authored Jul 10, 2024
1 parent 04b73ec commit 7f46fbf
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 259 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

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
});

export default [...compat.extends("eslint:recommended"), {
languageOptions: {
globals: {
...globals.commonjs,
...globals.jest,
...globals.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},

ecmaVersion: 2018,
sourceType: "commonjs",
},

rules: {},
}];
Loading

0 comments on commit 7f46fbf

Please sign in to comment.