-
Notifications
You must be signed in to change notification settings - Fork 150
v4 #322
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
Merged
v4 #322
Changes from all commits
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
58d72d5
feat: recommend prefer-screen-queries (#169)
nickserv d8a2ac6
feat: recommend no-wait-for-empty-callback (#168)
nickserv 094f53c
feat(no-container): setup new rule on index
da88a9d
refactor(no-container): set rules
ee369e5
test(no-container): define scenarios
5d02426
refactor(no-debug): extract auxiliary functions
0205374
refactor(no-container): add conditional
d8e555e
docs(no-container): add new and update README
497a5b6
refactor(no-container): allow custom render
4ab2305
test(no-container): add custom render function
c11fcd6
docs(no-container): update further reading topics
ac2d7ac
Merge remote-tracking branch 'origin/master' into v4
Belco90 1d8077c
Merge branch 'v4' of https://github.com/thebinaryfelix/eslint-plugin-…
d624bfe
Merge branch 'v4' into no-container
thebinaryfelix 1c59122
docs(no-container): update
52f5995
test(no-container): add scenarios
4eb5381
refactor(no-container): adjust to new scenarios
3943f45
docs(no-container): add incorrect use cases
8e2cdcc
refactor(no-container): remove wrong use case
thebinaryfelix 78fdfe7
refactor(no-container): add scenario
thebinaryfelix 9812cf4
refactor(no-container): rename function
thebinaryfelix e63968f
refactor(no-container): remove condition
thebinaryfelix 5aa3a80
refactor(no-container): update error message
thebinaryfelix 63f2db4
Merge remote-tracking branch 'origin/master' into v4
Belco90 a4cc8d8
feat(no-promise-in-fire-event): add new no-promise-in-fire-event rule…
timdeschryver 9d44911
Merge branch 'v4' into no-container
thebinaryfelix 86f9c84
feat: add no-container rule #177
gndelia 9db40ee
refactor: rename recommended config to dom (#184)
Belco90 11d67b2
feat: add rule no-multiple-assertions-wait-for (#189)
renatoagds b2ef721
Merge remote-tracking branch 'origin/master' into v4
Belco90 9d4c1e4
feat: add no-node-access rule (#190)
thebinaryfelix 9aa6730
feat: add prefer-user-event rule (#192)
gndelia 17e3cfe
Merge remote-tracking branch 'origin/master' into v4
Belco90 3b9d5b5
feat: add render-result-naming-convention rule (#200)
Belco90 8ad0184
Merge remote-tracking branch 'origin/master' into v4
Belco90 91200b7
feat: add no-side-effects-wait-for rule (#196)
renatoagds 2ac6b81
Merge v4 with develop
Belco90 44de9fc
chore: lint and format on pre-commit and ci (#216)
gndelia 4b7300e
chore: merge master into v4 (#233)
MichaelDeBoey 9c2072d
chore: update dependencies + run prettier on codebase (#234)
MichaelDeBoey 3a0d125
Merge remote-tracking branch 'origin/master' into v4
Belco90 1dbb513
style: apply prettier after merge
Belco90 ce4770f
refactor(no-node-access): use new testing library rule maker (#237)
Belco90 63c9d7b
refactor: improve logic to detect if testing librar imported (#239)
Belco90 6abb4ee
feat: new setting for reported filename pattern (#244)
Belco90 d1f0388
Merge remote-tracking branch 'origin/master' into v4
Belco90 5a6644f
refactor(no-dom-import): use createTestingLibraryRule (#247)
Belco90 eb17456
docs(consistent-data-testid): add clarification about rule creation (…
Belco90 287ca77
refactor(no-manual-cleanup): use custom rule creator (#249)
Belco90 c880f2f
refactor(prefer-user-event): use new custom rule creator (#251)
gndelia b48b286
refactor(prefer-presence-queries): use custom rule creator (#252)
Belco90 6018dd1
refactor: detection helpers tweaks (#254)
Belco90 ae3eac7
refactor(ast-utils): migrate custom node-utils to ASTUtils (#256)
8b66b52
chore: decrease node-utils coverage threshold
Belco90 727a966
refactor(prefer-wait-for): use new custom rule creator (#255)
gndelia 5ce0ba0
Merge remote-tracking branch 'origin/master' into v4
Belco90 dcc0693
refactor: use custom rule creator for promise-queries rules (#260)
Belco90 9062040
refactor(await-async-utils): use custom rule creator (#263)
Belco90 668a1bf
refactor(await-fire-event): use custom rule creator (#265)
Belco90 6f506ee
refactor(no-promise-in-fire-event): use custom rule creator (#266)
Belco90 d0c76d4
refactor(no-wait-for-snapshot) migrate to v4 (#271)
gndelia bd60704
refactor(prefer-find-by) migrate to v4 (#270)
gndelia af32b0c
refactor(prefer-explicit-assert): use new utils and remove custom que…
ca2910b
Merge remote-tracking branch 'origin/main' into v4
Belco90 ed09979
fix(no-await-sync-query): avoid reporting queries if not within calle…
Belco90 b1355ad
refactor: remove duplicated param type
Belco90 5a5881e
refactor: rename helpers for determining query variants
Belco90 4e9e585
refactor(render-result-naming-convention): migrate to v4 (#280)
Belco90 192a37e
refactor: second round of tweaks (#281)
Belco90 50727e6
refactor(render-result-naming-convention): refine checks to decide if…
Belco90 f740836
ci: update pipeline with v4 changes (#289)
Belco90 b0b8c48
Merge remote-tracking branch 'origin/main' into v4
Belco90 6d90153
refactor(prefer-screen-queries): migrate to v4 (#285)
Belco90 dd30d02
chore: update dependencies (#290)
MichaelDeBoey ea62638
refactor(no-wait-for-empty-callback): migrate to v4 (#284)
Belco90 9bcf595
refactor(refactor no-debug): migrate to v4 (#293)
Belco90 65028a5
refactor(no-container): migrate to v4 (#295)
Belco90 2588602
Merge remote-tracking branch 'origin/main' into v4
Belco90 461809f
Merge remote-tracking branch 'origin/v4' into v4
Belco90 69d5bbe
refactor: remove mechanism to match files to be reported (#297)
Belco90 b1b8b25
refactor(no-render-in-setup): migrate to v4 (#299)
Belco90 3b785c2
Merge remote-tracking branch 'origin/main' into v4
Belco90 15fd7c4
refacto(no-wait-for-side-effects): migrate to v4 (#300)
Belco90 9386773
refactor(no-wait-for-multiple-assertions): migrate to v4 (#301)
Belco90 a6eea4d
refactor(no-await-sync-events): migrate to v4 (#302)
Belco90 82ace49
refactor: cleanup after migrating all rules to v4 (#303)
Belco90 a8c1fe4
fix(await-async-utils): reference correct node name
Belco90 82124af
fix(prefer-find-by): simplify error message
Belco90 cac6670
fix(no-await-sync-query): avoid false positive from parent func
Belco90 06b437c
test(no-await-sync-query): increase code coverage up to 100%
Belco90 98448bb
feat(no-wait-for-multiple-assertions): report assertions
Belco90 592c128
test(no-wait-for-multiple-assertions): increase code coverage up to 100%
Belco90 93b81f5
fix(no-wait-for-side-effects): report on each side effect node
Belco90 c801b1d
test(no-await-sync-query): include extra case for disappearance
Belco90 c176c2a
fix: guard against null deepest identifier node
Belco90 83f27d8
fix: guard against null property identifier node
Belco90 91abe97
ci: decrease coverage threshold
Belco90 7e9d5c5
fix: first round of bugfixes for v4
Belco90 abfe5e8
fix: enable TS strict mode
Belco90 751889b
fix: remove closing comment leftover
Belco90 8ceb80f
refactor: declare test cases typings as expected
Belco90 c20dbb9
fix: remove wrong boolean check for detection
Belco90 cc040a5
Merge "main" branch into "306_null-identifiers"
Belco90 eaca948
Merge pull request #309 from testing-library/306_null-identifiers
Belco90 fd81fc5
fix(prefer-user-event): format list of userEvent methods correctly (…
Belco90 66df731
fix: second round of bugfixes for v4 (#314)
Belco90 f4b5958
docs: add guide for migrating to v4 (#312)
Belco90 9365bf1
docs: update README for v4 (#317)
Belco90 ce38144
chore: update dependencies (#319)
MichaelDeBoey 20027f4
fix: third round of bug fixes (#320)
Belco90 025f23d
docs: update contributing guidelines to v4 (#321)
Belco90 b150663
ci: remove unnecessary quote marks for node versions
Belco90 b5b93a4
Revert "ci: remove unnecessary quote marks for node versions"
Belco90 8f2e0a5
chore: revert node 10.22.1 as minimum version
Belco90 511986c
ci: include 12.0 in node versions matrix
Belco90 22387d5
ci: wrap matrix values within quotes
Belco90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
coverage/ | ||
dist/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
version: 2 | ||
updates: | ||
# Set update schedule for GitHub Actions | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: 'daily' | ||
interval: daily | ||
|
||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: daily |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "npm run test && lint-staged", | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"*.js": ["eslint --fix", "git add"], | ||
"*.md": ["prettier --write", "git add"] | ||
"*.{js,ts}": [ | ||
"eslint --max-warnings 0 --fix", | ||
"prettier --write", | ||
"jest --findRelatedTests" | ||
], | ||
"*.md": ["prettier --write"] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"pkgRoot": "dist", | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"main", | ||
"next", | ||
"next-major", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.