1
0
Fork 0
forked from svrjs/svrjs

Change ESLint configuration to use CommonJS modules instead of ES modules.

This commit is contained in:
Dorian Niemiec 2024-08-25 14:27:22 +02:00
parent eebada191b
commit 85e15e0517

View file

@ -1,9 +1,9 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
import jest from "eslint-plugin-jest";
const globals = require("globals");
const pluginJs = require("@eslint/js");
const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
const jest = require("eslint-plugin-jest");
export default [
module.exports = [
{
files: ["**/*.js"],
languageOptions: {