-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example code for each configuration to verify correctness during continuous integration #12
Changes from all commits
3d46198
06e1a3a
d503ef6
a0c4ba1
84e63b0
7fff375
fe0218a
7d92e3f
76c9828
611789f
c4b27e1
3b7370e
48043d8
0316adb
82c1dca
29cfdda
af62d94
e8b4b2d
6c1f34e
affd9a6
cac611f
2f62a31
2f33e9b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
{ "extends": "./lib/eslintNodeConfig.json" } | ||
{ | ||
"root": true, | ||
"extends": "./lib/eslintNodeConfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
|
||
"overrides": [ | ||
{ | ||
"files": "*.{cjs,js,jsx,mjs,ts,tsx}", | ||
"files": "*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was originally using |
||
"options": { | ||
"singleQuote": true | ||
} | ||
|
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,7 @@ | |
"browser": false, | ||
"node": false | ||
}, | ||
"rules": {} | ||
"rules": { | ||
"react/jsx-filename-extension": ["error", { "extensions": [".jsx", ".tsx"] }] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the improvement to the library that resulted from testing. The Preact Typescript config extends this config so it benefits from this too. |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This improvement resulted from writing the tests