Skip to content

Commit

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

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.3.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.3.0)

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

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

* Remove unnecessary `eslint-config-prettier`

Formatting rules are deprecated since ESLint v8.53.0.

For more information, see:
- https://github.com/eslint/eslint/releases/tag/v8.53.0
- https://eslint.org/blog/2023/10/deprecating-formatting-rules

* Migrate ESLint config to new flat config format

* Fix and rename eslint config file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Germán Freixinós <14282156+germanfrelo@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and germanfrelo authored May 27, 2024
1 parent d22331d commit 4df3d5a
Show file tree
Hide file tree
Showing 5 changed files with 220 additions and 815 deletions.
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

26 changes: 26 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import js from "@eslint/js";
import globals from "globals";

export default [
{
files: ["**/*.js"],
languageOptions: {
sourceType: "commonjs",
},
},
{
languageOptions: {
// Enable all predefined browser global variables
globals: globals.browser,
},
},
// ESLint's predefined config that enables its recommended rules
js.configs.recommended,
{
// Global ignores patterns
ignores: [
// Default ignore patterns: ["**/node_modules/", ".git/"]
"_site/",
],
},
];
Loading

0 comments on commit 4df3d5a

Please sign in to comment.