Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/eslint-plugin-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.2
Choose a base ref
...
head repository: testing-library/eslint-plugin-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.3
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Jan 9, 2022

  1. docs: add diegocasmo as a contributor for code (#531)

    * docs: update README.md [skip ci]
    
    * docs: update .all-contributorsrc [skip ci]
    
    Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
    allcontributors[bot] authored Jan 9, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8f5fd6f View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    065ffeb View commit details
Showing with 26 additions and 18 deletions.
  1. +9 −0 .all-contributorsrc
  2. +0 −2 .github/workflows/pipeline.yml
  3. +1 −0 README.md
  4. +1 −1 lib/create-testing-library-rule/index.ts
  5. +15 −15 package.json
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -463,6 +463,15 @@
"contributions": [
"test"
]
},
{
"login": "diegocasmo",
"name": "Diego Castillo",
"avatar_url": "https://avatars.githubusercontent.com/u/4553097?v=4",
"profile": "https://diegocasmo.github.io/",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
2 changes: 0 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -72,8 +72,6 @@ jobs:
useLockFile: false

- name: Install ESLint v${{ matrix.eslint }}
# force installation for now until we get ESLint and all plugins updated
# in dev dependencies
run: npm install --no-save --force eslint@${{ matrix.eslint }}

- name: Run tests
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -383,6 +383,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center"><a href="https://codepen.io/ariperkkio/"><img src="https://avatars.githubusercontent.com/u/14806298?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ari Perkkiö</b></sub></a><br /><a href="https://github.com/testing-library/eslint-plugin-testing-library/commits?author=AriPerkkio" title="Tests">⚠️</a></td>
<td align="center"><a href="https://diegocasmo.github.io/"><img src="https://avatars.githubusercontent.com/u/4553097?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Diego Castillo</b></sub></a><br /><a href="https://github.com/testing-library/eslint-plugin-testing-library/commits?author=diegocasmo" title="Code">💻</a></td>
</tr>
</table>

2 changes: 1 addition & 1 deletion lib/create-testing-library-rule/index.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ export function createTestingLibraryRule<
detectionOptions?: Partial<DetectionOptions>;
create: EnhancedRuleCreate<TOptions, TMessageIds, TRuleListener>;
}>): TSESLint.RuleModule<TMessageIds, TOptions> {
// eslint-disable-next-line @babel/new-cap
// eslint-disable-next-line new-cap
return ESLintUtils.RuleCreator(getDocsUrl)({
...remainingConfig,
create: detectTestingLibraryUtils<TOptions, TMessageIds, TRuleListener>(
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -42,37 +42,37 @@
"prepare": "is-ci || husky install"
},
"dependencies": {
"@typescript-eslint/experimental-utils": "^5.5.0"
"@typescript-eslint/experimental-utils": "^5.9.0"
},
"devDependencies": {
"@babel/eslint-plugin": "^7.14.5",
"@commitlint/cli": "^16.0.1",
"@babel/eslint-plugin": "^7.16.5",
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.19",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"cpy-cli": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-kentcdodds": "^19.2.0",
"eslint": "^8.6.0",
"eslint-config-kentcdodds": "^20.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-remote-tester": "^2.0.1",
"eslint-remote-tester": "^2.1.1",
"eslint-remote-tester-repositories": "^0.0.3",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"jest": "^27.4.2",
"lint-staged": "^12.1.2",
"jest": "^27.4.7",
"lint-staged": "^12.1.7",
"prettier": "2.5.1",
"semantic-release": "^18.0.1",
"ts-jest": "27.1.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
"typescript": "^4.5.4"
},
"peerDependencies": {
"eslint": "^7.5.0 || ^8.0.0"