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