README.md: add jsdoc config type
This commit is contained in:
parent
3bd453bf73
commit
c24da43641
@ -25,6 +25,7 @@ Common usage:
|
||||
```js
|
||||
const config = require('@vchikalkin/eslint-config-awesome');
|
||||
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = config['react-typescript'];
|
||||
```
|
||||
|
||||
@ -33,6 +34,7 @@ Extend config:
|
||||
```js
|
||||
const config = require('@vchikalkin/eslint-config-awesome');
|
||||
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = [
|
||||
...config['react-typescript'],
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user