Skip to content

Commit

Permalink
fix(@textlint/markdown-to-ast): fix @ts-expect-error issue
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jul 24, 2020
1 parent d58d79e commit d47f3ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ module.exports = {
project: ["./tsconfig.base.json", "./packages/*/tsconfig.json"]
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
// "plugin:@typescript-eslint/recommended",

This comment has been minimized.

Copy link
@azu

azu Jul 24, 2020

Author Member

ESLInt for TypeScript is disabled temporarily

It will be improved in #685

// "plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier/@typescript-eslint"
]
}
Expand Down
6 changes: 3 additions & 3 deletions packages/@textlint/markdown-to-ast/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { ASTNodeTypes, TxtNode } from "@textlint/ast-node-types";
import traverse from "traverse";
import StructuredSource from "structured-source";
import debug0 from "debug";
// @ts-expect-error
// @ts-ignore
import unified from "unified";
// @ts-expect-error
// @ts-ignore
import remarkParse from "remark-parse";
// @ts-expect-error
// @ts-ignore
import frontmatter from "remark-frontmatter";
const debug = debug0("@textlint/markdown-to-ast");
const remark = unified().use(remarkParse).use(frontmatter, ["yaml"]);
Expand Down

0 comments on commit d47f3ec

Please sign in to comment.