Skip to content

Commit

Permalink
rename eslintConfigESLint variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Jul 4, 2023
1 parent 9c12ae2 commit ef5bdf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import eslintConfigEslint from "eslint-config-eslint";
import eslintConfigESLint from "eslint-config-eslint";
import nodeRecommendedModule from "eslint-plugin-n/configs/recommended-module.js";
import nodeRecommendedScript from "eslint-plugin-n/configs/recommended-script.js";
import globals from "globals";
Expand All @@ -13,8 +13,8 @@ export default [
]
},

// eslintConfigEslint[3] is eslint-plugin-n's recommended-script config
...eslintConfigEslint.slice(0, 3),
// eslintConfigESLint[3] is eslint-plugin-n's recommended-script config
...eslintConfigESLint.slice(0, 3),
{
files: ["**/*.js"],
...nodeRecommendedModule
Expand All @@ -23,7 +23,7 @@ export default [
files: ["**/*.cjs"],
...nodeRecommendedScript
},
...eslintConfigEslint.slice(4),
...eslintConfigESLint.slice(4),

{
settings: {
Expand Down

0 comments on commit ef5bdf2

Please sign in to comment.