New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update typescript-eslint monorepo to v3 (major) #769
Conversation
16288ab
to
98393bd
Compare
@@ -38,8 +38,16 @@ | |||
"react-hooks/exhaustive-deps": "warn", | |||
"@typescript-eslint/explicit-function-return-type": "off", | |||
"@typescript-eslint/no-explicit-any": "off", | |||
"@typescript-eslint/camelcase": ["error", { "properties": "never" }], | |||
"@typescript-eslint/interface-name-prefix": ["error", "always"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing these rules as they ave been deprecated in v3.0.0
and replaced with naming-convention.
0966331
to
ad22042
Compare
+ fix ban-type lint warnings
@@ -11,7 +11,7 @@ import AlertWarningStrokeIcon from '@zendeskgarden/svg-icons/src/16/alert-warnin | |||
import InfoStrokeIcon from '@zendeskgarden/svg-icons/src/16/info-stroke.svg'; | |||
import { VALIDATION_TYPE } from './types'; | |||
|
|||
export const validationIcons: Record<VALIDATION_TYPE, object> = { | |||
export const validationIcons: Record<VALIDATION_TYPE, Record<string, unknown>> = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates have been made to the types using {}
and object
. The defaults for @typescript-eslint/ban-types
have been updated to warn when these types are used, and provides suggestions:
5f97c28
to
b92645d
Compare
b92645d
to
cfd022d
Compare
PR has been edited👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice @hzhu makes sense.
This PR contains the following updates:
2.34.0
->3.1.0
2.34.0
->3.1.0
Release Notes
typescript-eslint/typescript-eslint
v3.1.0
Compare Source
Bug Fixes
Features
false
value (#2137) (1cb8ca4)3.0.2 (2020-05-27)
Bug Fixes
3.0.1 (2020-05-25)
Bug Fixes
Intl
(#2090) (f2fa82c)CLIEngine
&ESLint
(#2083) (014341b)BigInt
with_
numeric separator (#2067) (66f1627)v3.0.2
Compare Source
Bug Fixes
v3.0.1
Compare Source
Bug Fixes
Intl
(#2090) (f2fa82c)CLIEngine
&ESLint
(#2083) (014341b)BigInt
with_
numeric separator (#2067) (66f1627)v3.0.0
Compare Source
Please see the release notes for v3.0.0
Bug Fixes
Import
node type (f199cbd)TSEmptyBodyFunctionExpression
for body-less nodes (#1289) (82e7163)Features
checkArrayPredicates
and always check it (#1579) (bfd9b60)null
/undefined
(#1659) (7fa9060)allowNumber: true
by default (#2005) (643ec24)allowNullable
toallowNullish
(#2006) (264b017)ignoreRHS
(#1163) (ee8dd8f)eslint-recommended
set (#1996) (9a96e18)Renovate configuration
📅 Schedule: "on Thursday every 4 weeks of the year starting on the 3rd week" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.