forked from svrjs/svrjs
Change ESLint configuration to use CommonJS modules instead of ES modules.
This commit is contained in:
parent
eebada191b
commit
85e15e0517
1 changed files with 5 additions and 5 deletions
|
@ -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: {
|
Reference in a new issue