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";
|
||||
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: {
|
Reference in a new issue