mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add .mjs to linting, switch from eslint-plugin-node (no longer maintained) to eslint-plugin-n, update suppressions.
This commit is contained in:
parent
a2b1353db5
commit
0294b9bcc8
9 changed files with 59 additions and 56 deletions
|
|
@ -1081,7 +1081,6 @@ test("validateConfigSchemaAppliesToUnknownProperties", (t) => {
|
|||
|
||||
test("validateConfigExampleJson", async(t) => {
|
||||
t.plan(2);
|
||||
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
||||
const { "default": stripJsonComments } = await import("strip-json-comments");
|
||||
// Validate JSONC
|
||||
const fileJson = ".markdownlint.jsonc";
|
||||
|
|
@ -1357,7 +1356,6 @@ test("configParsersJSON", async(t) => {
|
|||
|
||||
test("configParsersJSONC", async(t) => {
|
||||
t.plan(1);
|
||||
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
||||
const { "default": stripJsonComments } = await import("strip-json-comments");
|
||||
const options = {
|
||||
"strings": {
|
||||
|
|
@ -1401,7 +1399,6 @@ test("configParsersYAML", async(t) => {
|
|||
|
||||
test("configParsersTOML", async(t) => {
|
||||
t.plan(1);
|
||||
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
||||
const { "default": stripJsonComments } = await import("strip-json-comments");
|
||||
const options = {
|
||||
"strings": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue