Skip to content

Commit

Permalink
chore: Update prettier configuration and remove unused eslint file
Browse files Browse the repository at this point in the history
  • Loading branch information
meghoshpritam committed May 27, 2024
1 parent 0a5334b commit 8200889
Show file tree
Hide file tree
Showing 10 changed files with 1,560 additions and 135 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

23 changes: 23 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": ["airbnb-base", "prettier"],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"no-useless-escape": "warn",
"no-bitwise": "warn",
"prefer-template": "warn",
"no-unused-expressions": "warn",
"array-callback-return": "warn",
"prefer-destructuring": "warn",
"prefer-regex-literals": "warn",
"no-console": "error",
"no-unused-labels": "error",
"no-unused-vars": "error"
}
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.2
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all"
}
}
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This package have zero dependencies.
npm install md-link-extractor
```


## Usage

```javascript
Expand All @@ -30,8 +29,8 @@ console.log(links);
raw: '[link](https://www.google.com)',
type: 'link',
format: '[]()',
}
]
},
];
```

## API
Expand Down Expand Up @@ -60,4 +59,4 @@ See the [LICENSE](LICENSE) file for license rights and limitations.

## Author

- [meghoshpritam](https://mepritam.dev)
- [meghoshpritam](https://mepritam.dev)
Loading

0 comments on commit 8200889

Please sign in to comment.