Skip to content

Commit

Permalink
feat: Update dependencies to peerDeps
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
As eslint flat config is still experimental,
it's better to rely on the peerDep patterns.
When using this config, it will be needed to install the peerDeps.
  • Loading branch information
acezard committed Mar 2, 2023
1 parent a61e28d commit a556dcb
Show file tree
Hide file tree
Showing 3 changed files with 439 additions and 356 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-cozy-app/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-present, Cédric Patchane
Copyright (c) 2017-present, Cozy Cloud

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
29 changes: 22 additions & 7 deletions packages/eslint-config-cozy-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eslint-config-cozy-app",
"version": "5.5.0",
"description": "ESLint config for Cozy Application (Cozy Cloud)",
"author": "CPatchane <[email protected]>",
"author": "Cozy Cloud",
"repository": {
"type": "git",
"url": "git+https://github.com/cozy/cozy-libs.git"
Expand All @@ -15,21 +15,36 @@
"files": [
"index.js",
"basics.js",
"react.js",
"vue.js"
"react.js"
],
"dependencies": {
"devDependencies": {
"@babel/eslint-parser": "7.19.1",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "5.51.0",
"eslint": "8.34.0",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.54.0",
"eslint": "8.35.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"prettier": "2.8.4",
"typescript": "4.9.5"
},
"peerDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
}
}
Loading

0 comments on commit a556dcb

Please sign in to comment.