mirror of
https://github.com/tcort/markdown-link-check.git
synced 2024-09-11 14:55:46 +03:00
27 lines
475 B
JavaScript
27 lines
475 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
moduleType: "commonjs"
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ["test/*.js"],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
...globals.mocha,
|
|
},
|
|
},
|
|
},
|
|
];
|