Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Jul 17, 2024
1 parent 10b1c04 commit f043a9b
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
"use strict";
import globals from "globals";
import eslintConfigESLint from "eslint-config-eslint";
import eslintConfigESLintFormatting from "eslint-config-eslint/formatting";
import markdown from "./src/index.js";

module.exports = [
...require("eslint-config-eslint/cjs").map(config => ({
...config,
files: ["**/*.js"]
})),
export default [
...eslintConfigESLint,
{
...require("eslint-config-eslint/formatting"),
...eslintConfigESLintFormatting,
files: ["**/*.js"]
},
{
plugins: {
markdown: require(".")
markdown
}
},
{
Expand All @@ -25,8 +25,11 @@ module.exports = [
files: ["tests/**/*.js"],
languageOptions: {
globals: {
...require("globals").mocha
...globals.mocha
}
},
rules: {
"no-underscore-dangle": "off"
}
},
{
Expand Down

0 comments on commit f043a9b

Please sign in to comment.