18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import eslintPluginPrettier from "eslint-plugin-prettier";
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
{
|
|
files: ["**/*.{js,mjs,cjs}"],
|
|
plugins: { js },
|
|
extends: ["js/recommended"],
|
|
},
|
|
{
|
|
files: ["**/*.{js,mjs,cjs}"],
|
|
languageOptions: { globals: globals.node },
|
|
},
|
|
eslintPluginPrettier,
|
|
]);
|