Skip to content

Commit

Permalink
docs: update typescript instructions in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nuria-fl committed Dec 12, 2022
1 parent 836fc2b commit fb0cbbb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@
```js
{
extends: [ "eslint-config-codely/typescript" ],
parserOptions: {
project: ["./tsconfig.json"],
},
}
```
overrides: [
{
files: ["*.ts", "*.tsx"],
parserOptions: {
project: ["./tsconfig.json"],
},
},
]
}
```

ℹ️ Please note that some of the rules enabled by default require that you have `strict: true` in your `tsconfig.json`.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-codely",
"version": "2.1.2",
"version": "2.1.3",
"description": "Codely's ESLint and Prettier Config",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fb0cbbb

Please sign in to comment.