docs: make config correct (#224)

This commit is contained in:
曾明健 2023-07-20 20:44:19 +08:00 committed by GitHub
parent bf390b0693
commit b7ce1614d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ Type aware rules are enabled when a `tsconfig.eslint.json` is found in the proje
```js
// .eslintrc.js
const process = require('node:process')
process.env.ESLINT_TSCONFIG = 'tsconfig.json'
module.exports = {