Skip to content

Commit 1e72143

Browse files
committed
Update readme
1 parent 9c0c547 commit 1e72143

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,24 @@ export default tseslint.config(
155155
},
156156
);
157157
```
158+
159+
For legacy, `.eslintrc.json`
160+
161+
```json
162+
{
163+
"extends": [
164+
"eslint:recommended",
165+
"plugin:eslint-plugin-explicit-exceptions/recommended-type-checked-legacy"
166+
],
167+
"parser": "@typescript-eslint/parser",
168+
"plugins": ["@typescript-eslint"],
169+
"parserOptions": {
170+
"projectService": true
171+
},
172+
"root": true
173+
}
174+
```
175+
158176
Check out [`typescript-eslint`](https://typescript-eslint.io/getting-started/) for more information if you having an issue with configuring.
159177

160178
## License

0 commit comments

Comments
 (0)