docs: make config correct (#224)
This commit is contained in:
parent
bf390b0693
commit
b7ce1614d8
@ -81,6 +81,7 @@ Type aware rules are enabled when a `tsconfig.eslint.json` is found in the proje
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
// .eslintrc.js
|
// .eslintrc.js
|
||||||
|
const process = require('node:process')
|
||||||
process.env.ESLINT_TSCONFIG = 'tsconfig.json'
|
process.env.ESLINT_TSCONFIG = 'tsconfig.json'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
Loading…
Reference in New Issue
Block a user