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"; const globals = require("globals");
import pluginJs from "@eslint/js"; const pluginJs = require("@eslint/js");
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
import jest from "eslint-plugin-jest"; const jest = require("eslint-plugin-jest");
export default [ module.exports = [
{ {
files: ["**/*.js"], files: ["**/*.js"],
languageOptions: { languageOptions: {