Skip to content

Commit c7192b7

Browse files
authored
Merge pull request #3562 from wjdittmar/patch-4
add extension to .eslintrc file to make it a valid configuration file
2 parents e2a21e8 + d1b08ea commit c7192b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/9/en/part9b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ Let's install ESlint and its TypeScript extensions:
895895
npm install --save-dev eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser
896896
```
897897
898-
We will configure ESlint to [disallow explicit any]( https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.md). Write the following rules to *.eslintrc*:
898+
We will configure ESlint to [disallow explicit any]( https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.md). Write the following rules to *.eslintrc.json*:
899899
900900
```json
901901
{
@@ -937,7 +937,7 @@ For now, we should probably go with the recommended settings, and we will modify
937937
938938
On top of the recommended settings, we should try to get familiar with the coding style required in this part and *set the semicolon at the end of each line of code to be required*.
939939
940-
So we will use the following *.eslintrc*
940+
So we will use the following *.eslintrc.json*
941941
942942
```json
943943
{

0 commit comments

Comments
 (0)