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 16, 2024
1 parent c37a2cf commit 656dbb2
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 656dbb2

Please sign in to comment.