Skip to content

Commit

Permalink
fix(deps): bump dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE:  bump eslint plugins for major versions
  • Loading branch information
KillWolfVlad committed Sep 3, 2023
1 parent 3a67c0a commit bd6c36a
Show file tree
Hide file tree
Showing 6 changed files with 1,873 additions and 1,716 deletions.
3 changes: 3 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
trailingComma: all
endOfLine: auto

plugins:
- prettier-plugin-packagejson
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Shareable config for ESLint.

- Node.js v18 LTS or later
- Yarn
- ESLint v8.8.0 or later
- ESLint v8.44.0 or later

## Install

Expand Down
5 changes: 2 additions & 3 deletions configs/testing-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ module.exports = {
extends: ["plugin:testing-library/react"],
plugins: ["testing-library"],
rules: {
"testing-library/no-await-sync-query": "error",
"testing-library/no-await-sync-queries": "error",
"testing-library/no-debugging-utils": "warn",
"testing-library/no-dom-import": ["error", "react"],
"testing-library/no-manual-cleanup": "warn",
"testing-library/no-wait-for-snapshot": "warn",
"testing-library/prefer-explicit-assert": "error",
"testing-library/prefer-find-by": "error",
"testing-library/prefer-presence-queries": "error",
"testing-library/prefer-screen-queries": "warn",
"testing-library/prefer-wait-for": "error",
"testing-library/prefer-screen-queries": "warn"
},
};
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,41 +36,41 @@
"postpublish": "pinst --enable"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.5",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-dirs": "^0.0.4",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-n": "^15.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-testing-library": "^5.3.1",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-testing-library": "^6.0.1",
"eslint-plugin-unicorn": "^48.0.1",
"pkg-dir": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.2",
"eslint": "8.13.0",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"eslint": "8.48.0",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"markdownlint-cli": "0.33.0",
"lint-staged": "14.0.1",
"markdownlint-cli": "0.36.0",
"pinst": "3.0.0",
"prettier": "2.8.3",
"prettier-plugin-packagejson": "2.4.2",
"semantic-release": "20.1.0"
"prettier": "3.0.3",
"prettier-plugin-packagejson": "2.4.5",
"semantic-release": "21.1.1"
},
"peerDependencies": {
"eslint": "^8.8.0"
"eslint": "^8.44.0"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
4 changes: 1 addition & 3 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ module.exports = {
{
files: ["*.ts", "*.tsx"],
extends: [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:import/typescript",
],
parser: "@typescript-eslint/parser",
Expand Down
Loading

0 comments on commit bd6c36a

Please sign in to comment.