Skip to content

Commit

Permalink
Merge branch 'main' into feature/add-readinglist
Browse files Browse the repository at this point in the history
  • Loading branch information
blue0513 authored Sep 3, 2024
2 parents e19831a + fa93b7d commit beaee39
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 228 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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.browser,
...globals.jquery,
...globals.webextensions,
},

ecmaVersion: "latest",
sourceType: "module",
},

rules: {},
}];
Loading

0 comments on commit beaee39

Please sign in to comment.