Skip to content

Commit

Permalink
chore(deps): update linters (#6029)
Browse files Browse the repository at this point in the history
* chore(deps): update linters

* fix: bump simple-import-sort

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Olsen <[email protected]>
  • Loading branch information
renovate[bot] and stipsan authored Mar 18, 2024
1 parent d405517 commit baaa56b
Show file tree
Hide file tree
Showing 8 changed files with 492 additions and 385 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ const config = {
'no-dupe-class-members': 'off', // doesn't work with TS overrides
'no-shadow': 'off',
'no-unused-vars': 'off',
'no-useless-catch': 'warn',
'no-async-promise-executor': 'warn',
},
settings: {
'import/extensions': extensions,
Expand Down
2 changes: 1 addition & 1 deletion dev/starter-next-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"styled-components": "^6.1.0"
},
"devDependencies": {
"eslint-config-next": "^14.0.3"
"eslint-config-next": "^14.1.3"
}
}
2 changes: 1 addition & 1 deletion dev/test-next-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"styled-components": "^6.1.0"
},
"devDependencies": {
"eslint-config-next": "^14.0.3"
"eslint-config-next": "^14.1.3"
}
}
1 change: 1 addition & 0 deletions dev/test-studio/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Package specific
sanity.theme.mjs
workshop/scopes.js
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,27 +109,27 @@
"@types/react": "^18.2.37",
"@types/semver": "^7.5.6",
"@types/yargs": "^17.0.7",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.19.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cac": "^6.7.12",
"chalk": "^4.1.2",
"depcheck": "^1.4.7",
"dotenv": "^16.0.3",
"dotenv-flow": "^3.2.0",
"esbuild": "^0.19.8",
"esbuild-register": "^3.5.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-sanity": "^7.0.1",
"eslint-config-sanity": "^7.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-boundaries": "^4.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^11.0.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-unused-imports": "^3.1.0",
"execa": "^2.0.0",
"glob": "^7.2.0",
"globby": "^10.0.0",
Expand All @@ -143,7 +143,7 @@
"minimist": "^1.2.5",
"npm-run-all": "^4.1.5",
"ora": "^6.3.1",
"prettier": "^3.1.0",
"prettier": "^3.2.5",
"rimraf": "^3.0.2",
"rxjs": "^7.8.1",
"sanity": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"p-filter": "^2.1.0",
"p-timeout": "^4.0.0",
"preferred-pm": "^3.0.3",
"prettier": "^3.1.0",
"prettier": "^3.2.5",
"promise-props-recursive": "^2.0.2",
"recast": "^0.22.0",
"resolve-from": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {Tooltip} from '../../../../../../ui-components'
import {CommentsAvatar} from '../../avatars'

const Span = styled.span(({theme}) => {
const {regular} = theme.sanity.fonts?.text.weights
const {hovered} = theme.sanity.color?.card
const {regular} = theme.sanity.fonts?.text.weights || {}
const {hovered} = theme.sanity.color?.card || {}
const {bg} = theme.sanity.color.selectable?.caution.pressed || {}

return css`
Expand Down
Loading

0 comments on commit baaa56b

Please sign in to comment.