Skip to content

Commit

Permalink
fix: Migrate to Typescript (#2805)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Migrate to Typescript
  • Loading branch information
DreierF authored Jul 29, 2023
1 parent 929d235 commit cb54906
Show file tree
Hide file tree
Showing 39 changed files with 13,126 additions and 15,304 deletions.
14 changes: 11 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "standard",
"extends": ["standard", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"semi": ["error", "always"],
"indent": ["error", 2, {
Expand All @@ -15,9 +18,14 @@
"no-control-regex": "off",
"no-prototype-builtins": "off",
"no-extra-semi": "error",

"prefer-const": "error",
"no-var": "error"
"no-var": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
},
"env": {
"node": true
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ npm install -g marked

```sh
npm install marked
npm install @types/marked # For TypeScript projects
```

## Usage
Expand Down
Empty file modified bin/marked.js
100644 → 100755
Empty file.
Loading

1 comment on commit cb54906

@vercel
Copy link

@vercel vercel bot commented on cb54906 Jul 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.