Skip to content

Commit

Permalink
Update lint and format peer deps for June 2024 (#41)
Browse files Browse the repository at this point in the history
* Update lint and format peer deps for June 2024

* fixup: one last bump

* fixup: dedupe
  • Loading branch information
mcous authored Jul 9, 2024
1 parent 7e4e4f1 commit 6641528
Show file tree
Hide file tree
Showing 5 changed files with 615 additions and 634 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@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394",
"packageManager": "pnpm@9.4.0+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74",
"dependencies": {
"@viamrobotics/eslint-config": "workspace:*",
"@viamrobotics/prettier-config": "workspace:*",
"@viamrobotics/typescript-config": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.12.8",
"@types/node": "^20.14.10",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^1.0.3",
"eslint-plugin-svelte": "^2.38.0",
"eslint-plugin-tailwindcss": "^3.15.1",
"eslint-plugin-svelte": "^2.41.0",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-testing-library": "^6.2.2",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-vitest": "^0.5.4",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"semver": "^7.6.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.6.5",
"semver": "^7.6.2",
"typescript": "^5.5.3",
"vitest": "^2.0.1"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,17 @@ module.exports = {
{
groups: [
// Side effect imports
['^\\u0000'],
[String.raw`^\u0000`],
// Node.js builtins
['^node:'],
// Third-party packages
['^vitest', '^svelte', '^@sveltejs', '^@?\\w'],
['^vitest', '^svelte', '^@sveltejs', String.raw`^@?\w`],
// First-party packages
['^@viamrobotics'],
// Anything not matched in another group, like internal $alias imports
['^'],
// Relative imports
['^\\.'],
[String.raw`^\.`],
],
},
],
Expand Down Expand Up @@ -239,7 +239,7 @@ module.exports = {
'vitest/consistent-test-filename': [
'error',
{
pattern: '.*\\.spec\\.(ts|svelte)$',
pattern: String.raw`.*\.spec\.(ts|svelte)$`,
},
],
'vitest/consistent-test-it': ['error', { fn: 'it' }],
Expand Down
4 changes: 2 additions & 2 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.6.0",
"version": "0.6.1",
"description": "Common ESLint configuration for Viam projects.",
"files": [
"**/*",
Expand Down Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-svelte": ">=2 <3",
"eslint-plugin-tailwindcss": ">=3 <4",
"eslint-plugin-testing-library": ">=6 <7",
"eslint-plugin-unicorn": ">=47 <53",
"eslint-plugin-unicorn": ">=47 <55",
"eslint-plugin-vitest": ">=0.5 <0.6"
},
"peerDependenciesMeta": {
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.3.4",
"version": "0.3.5",
"description": "Common Prettier configuration for Viam projects.",
"type": "commonjs",
"files": [
Expand Down Expand Up @@ -44,7 +44,7 @@
"peerDependencies": {
"prettier": ">=3 <4",
"prettier-plugin-svelte": ">=3 <4",
"prettier-plugin-tailwindcss": ">=0.4.0 <0.6"
"prettier-plugin-tailwindcss": ">=0.4.0 <0.7"
},
"peerDependenciesMeta": {
"prettier-plugin-svelte": {
Expand Down
Loading

0 comments on commit 6641528

Please sign in to comment.