Skip to content

Commit

Permalink
Merge pull request #184 from DSACMS/dependabot/npm_and_yarn/frontend/…
Browse files Browse the repository at this point in the history
…eslint-9.13.0

Bump eslint from 8.57.0 to 9.13.0 in /frontend
  • Loading branch information
natalialuzuriaga authored Oct 31, 2024
2 parents 11cba57 + 6f59772 commit 098f29f
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 421 deletions.
6 changes: 0 additions & 6 deletions frontend/.eslintrc.js

This file was deleted.

19 changes: 19 additions & 0 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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("@electron-toolkit/eslint-config-prettier"), {
languageOptions: {
ecmaVersion: 8,
sourceType: "script",
},
}];
Loading

0 comments on commit 098f29f

Please sign in to comment.