Skip to content

Commit

Permalink
Update packages for May 2024 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous authored May 6, 2024
1 parent 5b60923 commit d65a2e1
Show file tree
Hide file tree
Showing 5 changed files with 1,922 additions and 1,625 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@
"_prettier": "prettier \"**/*.{js,cjs,ts,json,yaml,md}\"",
"_eslint": "eslint \".*.cjs\" \"**/*.{js,cjs,ts}\""
},
"packageManager": "pnpm@8.14.1+sha256.2df78e65d433d7693b9d3fbdaf431b2d96bb4f96a2ffecd51a50efe16e50a6a8",
"packageManager": "pnpm@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394",
"dependencies": {
"@viamrobotics/eslint-config": "workspace:*",
"@viamrobotics/prettier-config": "workspace:*",
"@viamrobotics/typescript-config": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.12.4",
"@types/node": "^20.12.8",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sonarjs": "^0.25.1",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-sonarjs": "^1.0.3",
"eslint-plugin-svelte": "^2.38.0",
"eslint-plugin-tailwindcss": "^3.15.1",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-plugin-testing-library": "^6.2.2",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-vitest": "^0.4.1",
"eslint-plugin-vitest": "^0.5.4",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "^0.5.13",
"prettier-plugin-svelte": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"semver": "^7.6.0",
"typescript": "^5.4.4",
"vitest": "^1.4.0"
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config/base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'plugin:@typescript-eslint/strict-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:unicorn/recommended',
'plugin:sonarjs/recommended',
'plugin:sonarjs/recommended-legacy',
'prettier',
],
parserOptions: {
Expand Down Expand Up @@ -230,7 +230,7 @@ module.exports = {
// Rules for tests
{
files: ['**/__tests__/**', '**/*.test.ts', '**/*.spec.ts'],
extends: ['plugin:vitest/recommended'],
extends: ['plugin:vitest/legacy-recommended'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.5.0",
"version": "0.6.0",
"description": "Common ESLint configuration for Viam projects.",
"files": [
"**/*",
Expand Down Expand Up @@ -47,12 +47,12 @@
"eslint-config-prettier": ">=9 <10",
"eslint-plugin-jest-dom": ">=5 <6",
"eslint-plugin-simple-import-sort": ">=12 <13",
"eslint-plugin-sonarjs": ">=0.19 <0.26",
"eslint-plugin-sonarjs": ">=1 <2",
"eslint-plugin-svelte": ">=2 <3",
"eslint-plugin-tailwindcss": ">=3 <4",
"eslint-plugin-testing-library": ">=6 <7",
"eslint-plugin-unicorn": ">=47 <53",
"eslint-plugin-vitest": ">=0.3 <0.5"
"eslint-plugin-vitest": ">=0.5 <0.6"
},
"peerDependenciesMeta": {
"eslint-plugin-jest-dom": {
Expand Down
6 changes: 1 addition & 5 deletions packages/eslint-config/svelte.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ module.exports = {
// Rules for tests
{
files: ['**/__tests__/**', '**/*.test.ts', '**/*.spec.ts'],
extends: [
'plugin:vitest/recommended',
'plugin:jest-dom/recommended',
'plugin:testing-library/dom',
],
extends: ['plugin:jest-dom/recommended', 'plugin:testing-library/dom'],
rules: {
'testing-library/await-async-events': [
'error',
Expand Down
Loading

0 comments on commit d65a2e1

Please sign in to comment.