Skip to content

Commit

Permalink
Bump eslint from 8.57.1 to 9.14.0 (#352)
Browse files Browse the repository at this point in the history
* Bump eslint from 8.57.1 to 9.14.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.1...v9.14.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Migrate eslint config to new version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slawomir Jaranowski <[email protected]>
  • Loading branch information
dependabot[bot] and slawekjaranowski authored Nov 3, 2024
1 parent adfd5fd commit 45ea8e6
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 299 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

29 changes: 29 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},

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

rules: {},
}];
Loading

0 comments on commit 45ea8e6

Please sign in to comment.