Skip to content

Commit df0bf11

Browse files
committed
docs: add Example configuration
1 parent 509d483 commit df0bf11

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ This is an example configuration of a React project using TypeScript and Jest:
4646

4747
```json
4848
{
49+
"extends": [
50+
"canonical"
51+
],
4952
"overrides": [
5053
{
5154
"extends": [
52-
"canonical",
5355
"canonical/typescript"
5456
],
5557
"files": "*.ts",
@@ -59,7 +61,6 @@ This is an example configuration of a React project using TypeScript and Jest:
5961
},
6062
{
6163
"extends": [
62-
"canonical",
6364
"canonical/react",
6465
"canonical/jsx-a11y",
6566
"canonical/typescript"
@@ -78,12 +79,6 @@ This is an example configuration of a React project using TypeScript and Jest:
7879
"project": "./tsconfig.json"
7980
},
8081
},
81-
{
82-
"extends": [
83-
"canonical"
84-
],
85-
"files": "*.js"
86-
},
8782
{
8883
"extends": [
8984
"canonical/json"

0 commit comments

Comments
 (0)