Skip to content

Commit

Permalink
Converted code to Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
DreierF committed Jun 11, 2023
1 parent 4285848 commit 9131f86
Show file tree
Hide file tree
Showing 37 changed files with 12,229 additions and 22,471 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.

0 comments on commit 9131f86

Please sign in to comment.