⬆️(deps) migrate to typescript-eslint 8
A major version of typescript-eslint has been released. This version contains some breaking change and rules change so we have to tweak our eslint configuration. https://main--typescript-eslint.netlify.app/blog/announcing-typescript-eslint-v8
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
a3eadc50db
commit
b0b7061b7a
@@ -99,7 +99,13 @@
|
||||
"react/prop-types": "off",
|
||||
"react/react-in-jsx-scope": "off",
|
||||
"react/require-default-props": "off",
|
||||
"react/style-prop-object": ["error", { "allow": ["FormattedNumber"] }]
|
||||
"react/style-prop-object": ["error", { "allow": ["FormattedNumber"] }],
|
||||
/*
|
||||
The two following rules can be removed once airbnb-typescript will be updated (18.0.0)
|
||||
https://github.com/iamturns/eslint-config-airbnb-typescript/issues/354
|
||||
*/
|
||||
"@typescript-eslint/no-throw-literal": "off",
|
||||
"@typescript-eslint/only-throw-error": "error"
|
||||
},
|
||||
"settings": {
|
||||
"polyfills": ["fetch", "Promise"],
|
||||
|
||||
Reference in New Issue
Block a user