Skip to content

Commit 2d379cd

Browse files
committed
docs(readme): update lint.strict cast to any and add compilerOptions types example
1 parent c3b7d8e commit 2d379cd

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,17 @@ import lint from 'lenix/lint' with { type: "json" }
4343
},
4444
rules: {
4545
...,
46-
...lint.strict,
46+
...lint.strict as any,
4747
...,
4848
}
4949
...
5050
},
5151
```
52+
53+
```json
54+
"compilerOptions": {
55+
...,
56+
"types": ["node"],
57+
...
58+
}
59+
```

0 commit comments

Comments
 (0)