mirror of
https://github.com/xtrll/MusicMetaFinder.git
synced 2026-04-18 10:54:13 +02:00
16 lines
547 B
JavaScript
16 lines
547 B
JavaScript
import globals from "globals";
|
|
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
import pluginJs from "@eslint/js";
|
|
|
|
// mimic CommonJS variables -- not needed if using CommonJS
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
const compat = new FlatCompat({baseDirectory: __dirname, recommendedConfig: pluginJs.configs.recommended});
|
|
|
|
export default [
|
|
{languageOptions: { globals: globals.browser }},
|
|
...compat.extends("airbnb-base"),
|
|
]; |